Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java CLASSPATH
Name: Alexander Date: March 9, 2002 at 05:53:16 Pacific
Comment:
Hi all :-) Can someone PLEASE tell me how do I set my CLASSPATH and anything else I need to do. I have installed c:\jdk1.3.1_01 and I need also to included UserDialog.class to my programs. But I only used long ago the University system, not on my own PC. Can someone please help me set eveything up. Thank you very much! :-)) Alexander :-)
Hi - If you really have the SDK installed correctly .... then ...
1) You should have a JAVA_HOME environment variable that points to the install directory.
2) Your PATH environment variable should contain %JAVA_HOME%\bin.
3) Your CLASSPATH environment variable depends (don't ask me why, I do not know) on the Java release and OS. To run a HelloWorld program from the current directory, some times no CLASSSPATH is required at all. Other times the current working directory must be included in CLASSPATH. For example:
Summary: Hello I'm trying to run a java application from command line: java -classpath "G:\Viqee\classes;G:\Viqee\jar" "com.nextnine.common.Application" The problem is that the java compiler recognise only a p...
Summary: When I import "javax.servlet.http.httpUtils" , I get "package javax.servlet.http does not exist". Does this mean there is something wrong with the classpath? If the package is already contained in ...
Summary: Hi, I am having a lot of trouble setting up the jdk classpath in Windows Vista. The following is what I set up: (copied from the command prompt) C:\Users\rayray>set classpath classpath=.;c:\Program F...