PDA

View Full Version : Help me to set classpath for java



worldblackstar
January 25th, 2011, 06:31 PM
I install dk1.6.0_23 in Desktop. I am using ubuntu 10.10. Help me to set classpath f. I read lot of threads which is in this forum and google. But all fails. if you know how to set classpath perfectly. reply me.

Note:
jdk1.6.0_23 is in Desktop. I try to move to usr/local but it shows "access denied".

slavik
January 26th, 2011, 03:08 AM
what are you trying to do?

generally, classpath is set by exporting CLASSPATH environment variable before running java or by setting commandline arguments -classpath or -cp