JAVA_HOME

Discussion in 'Java' started by chunji08@gmail.com, Jul 11, 2006.

  1. Guest

    Hi,
    is there an API in JDK library, that returns the value of "JAVA_HOME"
    ?


    -cji
     
    , Jul 11, 2006
    #1
    1. Advertising

  2. IchBin Guest

    wrote:
    > Hi,
    > is there an API in JDK library, that returns the value of "JAVA_HOME"
    > ?
    >
    >
    > -cji
    >

    Sure look at Class Properties "home"

    System.getProperties();


    Thanks in Advance...
    IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
    __________________________________________________________________________

    'If there is one, Knowledge is the "Fountain of Youth"'
    -William E. Taylor, Regular Guy (1952-)
     
    IchBin, Jul 11, 2006
    #2
    1. Advertising

  3. In article <>, IchBin <>
    wrote:

    > wrote:
    > > Hi,
    > > is there an API in JDK library, that returns the value of "JAVA_HOME"
    > > ?
    > >
    > >
    > > -cji
    > >

    > Sure look at Class Properties "home"
    >
    > System.getProperties();


    Make that System.getProperty("java.home").
    --
    Steve W. Jackson
    Montgomery, Alabama
     
    Steve W. Jackson, Jul 11, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason
    Replies:
    3
    Views:
    44,337
    samspade
    Aug 20, 2003
  2. Bob Frank
    Replies:
    0
    Views:
    446
    Bob Frank
    Aug 20, 2004
  3. Paul Moloney
    Replies:
    1
    Views:
    7,205
    Arnaud Berger
    Apr 4, 2005
  4. Mohsen
    Replies:
    1
    Views:
    1,821
    Roedy Green
    Dec 9, 2005
  5. Miss Michelle. Heigardt
    Replies:
    8
    Views:
    143,225
    abbinv
    Apr 9, 2011
Loading...

Share This Page