LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   java runtime problem (https://www.linuxquestions.org/questions/programming-9/java-runtime-problem-234496/)

iamedu 09-23-2004 05:50 PM

java runtime problem
 
Hey!! i need some help I've just started programming a few time ago and I have a problem. I had the j2sdk1.4 and I was using it on windows XP and evertything was fine, then I downloaded the j2sdk1.5 and I now have a problem I compile my code and when I call the class I get a NoClassDefFoundError, I've even uninstalled the new version and the old one now does the same!! I don't know what's wrong.. Hope you can help
Thanks!!!

logicdisaster 09-23-2004 05:53 PM

are you calling any external class ones that arent native to java, like the mysql driver or something? sounds like the class your calling is not on the classpath also check and make sure that your classpath is set up properly it may not be pointing to the right spot if you have two versions of java one version may have over written the other

iamedu 09-23-2004 06:00 PM

i unsinstalled one java before installing the other one Im not calling external classes I'll check the classpath I hope that's the problem


All times are GMT -5. The time now is 11:28 AM.