compile and run in anywhere

M

mike

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???
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

mike said:
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
 
K

kcwong

Put c:\jdk\bin in your PATH.

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top