LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-23-2004, 05:50 PM   #1
iamedu
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
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!!!
 
Old 09-23-2004, 05:53 PM   #2
logicdisaster
Member
 
Registered: Jun 2004
Posts: 41

Rep: Reputation: 15
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
 
Old 09-23-2004, 06:00 PM   #3
iamedu
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Installing java runtime env problem ur-unholyness Linux - Software 2 04-10-2005 01:32 AM
Problem installing Java runtime env on machine eroica Linux - Software 3 03-06-2004 06:39 PM
java runtime shariqali Linux - Software 7 09-23-2003 10:08 PM
setting up java runtime FloatRed Linux - Newbie 4 09-24-2002 08:43 PM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration