Results 1 to 5 of 5
  1. #1
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    . In CLASSPATH Variable?

    Why does that var start out with a period?

    Regards,
    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  2. #2
    5 Star Lounger
    Join Date
    Jan 2010
    Location
    Los Angeles, CA
    Posts
    828
    Thanks
    4
    Thanked 38 Times in 34 Posts
    A dot by itself means the current directory. Also, in Linux, a file or folder that starts with a dot us hidden. Many Java apps follow the Linux usage. (I assume you are tking anput Java since CLASSPATH is a Java term.)

  3. #3
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts
    No, CLASSPATH as a variable is showing in the System variables in the environment of Windows 7. Whether that was in fact put there by the JRE install, I do not know enough about java to answer.

    I wonder a bit why the path would need to include the current directory however.

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  4. #4
    Super Moderator Rick Corbett's Avatar
    Join Date
    Dec 2009
    Location
    South Glos., UK
    Posts
    2,140
    Thanks
    101
    Thanked 579 Times in 464 Posts
    @CWBillow - I just checked 3 Win 7 PC's and only the one with a JRE installed had CLASSPATH listed in the environment variables. Next, I took a fresh Win 7 VM and downloaded/installed JRE 1.7 then rebooted so the registry was re-read. The CLASSPATH variable wasn't added by the JRE 1.7 install. This suggests it's the first use of Java, not the install, which adds the variable. Have a look at this article for more info about the use of CLASSPATH and why the period is used.

  5. The Following User Says Thank You to Rick Corbett For This Useful Post:

    CWBillow (2014-03-06)

  6. #5
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts
    Thanks Rick!.

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •