Tuesday, April 29, 2003 04:27 PM
With newer JVMs, setting the JAVA_HOME environment variable will mean that you don't have to include system JVM libraries on you classpath. After that, you only need to include jar files that you use, and your source root directory.
I have "." on my CLASSPATH, so I can use classes rooted in my current working directory. This can cause problems just like having "." on your path can. You shouldn't do that if you're a root/administrator user.
It's hard to be much more help without knowing what you're doing. What JVM/OS are you using, where is your JVM installed, what directory are you in, where are you class files, what other libraries are you trying to use, etc.