Re: About classpath



kanakaraj.a@xxxxxxx wrote:
Hi all.........i m new to java....so could anyone please tell me the
excat usage of classpath environment varible... what shld the excat
value...everything....thanks in advance..


In windows go to 'Start' \ 'Control Panel' \ 'System \ 'Advance Tab' \ 'Environment Variables' \ 'New'

- Create Variable
name: "JAVA_HOME"
Value of: "C:\Program Files\Java\jdk1.5.0_06" (This is may location of my JDK on my system. Use your path which may not be the same.)

- edit Classpath and add to front of classpath
value: "%JAVA_HOME%;"
- select 'OK'.. your done

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.



Relevant Pages

  • Re: Windows/classpath question
    ... > I have a question about classpath in Windows XP Professional. ... > 'system' environment variables. ... > When I am logged on as Rhino, is Windows using the 'user' version of the ...
    (comp.lang.java.programmer)
  • Windows/classpath question
    ... I have a question about classpath in Windows XP Professional. ... 'system' environment variables. ... When I am logged on as Rhino, is Windows using the 'user' version of the ...
    (comp.lang.java.programmer)
  • Re: CLASSPATH Disappears!
    ... proper way to set the classpath on Windows XP is to go to the Control ... > think the Advanced tab has the link to the environment variables. ... I will try to watch for any changes in the registry key ... > a software installation will work but it will mess up everything else on ...
    (comp.lang.java.programmer)
  • Re: Java development and Administrator rights
    ... and compile without any special rights? ... Which operating system and version are you using? ... anything they needed to do in that drive barring any CLASSPATH ... change their own set of environment variables without affecting other users ...
    (comp.lang.java.programmer)
  • Re: putenv() API Troubles
    ... You should better pass %trimto putenv() rather than passing a pointer ... greater than the actual length of the classpath. ... Add Environment Variables ...
    (comp.sys.ibm.as400.misc)