|How to Set Java Class Path Variable|
Hi I am trying to set up Java and TextPad at my home computer. I successfully installed TextPad and Java. I added "javac" and "java" to my textpad tools as I read that javac is the compiler and java runs java applications. I opened a program that I wrote on a computer with textpad and java already set up. I can compile it but when trying to run it I get java.lang.NoClassDefFoundError exception. After some research I found that this means the CLASSPATH or PATH is not set. I was told to go to Control Panel\System\Advanced\Environment Variables and add the directory of the Java bin to the PATH variable. I added the java\bin directory to the PATH variable and I still get the same exception. Any advice would be appreciated.