Hi All,
I'm trying to run a sample program from this link:
http://java.about.com/od/tutorials/ss/SetClasspath.ht m
it worked fine.. now the problem is... what if i do not want to use the set classpath command, instead, i just want to set the classpath in my system environment variable so that everytime i run the program, i'll just type javac file then java file. I tried to set this in the environment variable :
variable name: classpath
variable values: c:\javatest
but its not working... can anyone help me with this?
Thanks,
Pupoy
I'm trying to run a sample program from this link:
http://java.about.com/od/tutorials/ss/SetClasspath.ht m
it worked fine.. now the problem is... what if i do not want to use the set classpath command, instead, i just want to set the classpath in my system environment variable so that everytime i run the program, i'll just type javac file then java file. I tried to set this in the environment variable :
variable name: classpath
variable values: c:\javatest
but its not working... can anyone help me with this?
Thanks,
Pupoy
Comment