A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Java Enviroment Variables
Joined: Feb 16, 2006
Feb 17, 2006 23:41:00
I am using Windows XP.
From DOS, how do I compile (javac) from any directory? I know there is a way, I just can't remember.
I have my
enviroment variable like this:
Thanks in advance...
Joined: Nov 15, 2004
Feb 18, 2006 00:03:00
you got to set your path variable.
JAVA_HOME variable should point to the root of JDK.
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1
JSTL Tag Documentation
Joined: Oct 03, 2005
Feb 18, 2006 00:09:00
U can set the Path variable in Enviornment Variable also.That way u dont have to set path variable each time in command promt.
One Disadvantage is if u use multiple installation of JDK, u wont be able to configure it dynamically.
I agree. Here's the link:
subject: Java Enviroment Variables
Accessing Enviroment Variable
Java +Game development
No compiler found on classpath
Running a Java app on Windows XP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015