> Hi.I am a beginner in Java.Every time that I want to compile or run my
> Java Applications , I should go to c:\jdk\bin from command prompt and
> then compile and run my application . How I can do these works from
> anywhere in my computer???
Put c:\jdk\bin in your PATH.
Arne
kcwong - 23 May 2007 09:47 GMT
> > Hi.I am a beginner in Java.Every time that I want to compile or run my
> > Java Applications , I should go to c:\jdk\bin from command prompt and
[quoted text clipped - 4 lines]
>
> Arne
Or better yet, set JAVA_HOME to C:\jdk, and add %JAVA_HOME%\bin to
your path. ;)
A number of programs depend on the JAVA_HOME environment variable to
work properly.