Setting Classpath to comile problems
Posted: Mon Jan 28, 2002 6:56 am
Hi,
I am new to Java programming. I have just finished my first week of java in college. I have Textpad 4.4.2. Ive read through this forum and I just don't have
enough knowledge of what most of you are talking about yet to solve my own problem.
Here is the problem. Ive installed SDK 1.3.1_02 for Windows 2000 pro on my computer. Ive installed Textpad 4.4.2 also. I am recieving the common error everyone else seems to be getting :
" exception in thread "main" java.lang.NoClassDefFoundError: TestPadTest "
TestPadTest being the name name of the file.
Now I have compiled and run this in notepad and using my command prompt.
I just can't get it to create a TestPadTest.class file. It compiles in Textpad but I cant find the .class file. When I Run (ctrl-2) the application I get the above stated
error.
If someone could walk me through setting up the classpath or path(I dont understand that yet) so that TextPad can get to the javac.exe that would be great.
p.s
Please be very specific as I dont really understand everything just yet, but on the same tokken im not dumb with computers.
Thanks in Advance 8)
I am new to Java programming. I have just finished my first week of java in college. I have Textpad 4.4.2. Ive read through this forum and I just don't have
enough knowledge of what most of you are talking about yet to solve my own problem.
Here is the problem. Ive installed SDK 1.3.1_02 for Windows 2000 pro on my computer. Ive installed Textpad 4.4.2 also. I am recieving the common error everyone else seems to be getting :
" exception in thread "main" java.lang.NoClassDefFoundError: TestPadTest "
TestPadTest being the name name of the file.
Now I have compiled and run this in notepad and using my command prompt.
I just can't get it to create a TestPadTest.class file. It compiles in Textpad but I cant find the .class file. When I Run (ctrl-2) the application I get the above stated
error.
If someone could walk me through setting up the classpath or path(I dont understand that yet) so that TextPad can get to the javac.exe that would be great.
p.s
Please be very specific as I dont really understand everything just yet, but on the same tokken im not dumb with computers.
Thanks in Advance 8)