Hi there folks,
Very new to java and I have what I hope will be a simple question...
I have JDK 1.5 installed on my C: drive and my source on my E: drive (flash drive). I'm trying to run the source and I always get NoClassDefFound errors when I try to run the program. Compile seems to work (no errors). Here is what I have tried...
I've fooled around with this quite a bit but no joy. I checked out the parameter options for java and javac but didn't see anything that would clearly address this. I want to compile such that the class file is created in the same directory as the source file.
Its worth noting that when I copy the source file to the directory where the compiler and java are located (C:\Sun\SDK\jdk\bin\) and try it there everything works fine.
Anyone have any suggestions?