| Author |
plz tell me
|
satwant singh
Greenhorn
Joined: Dec 02, 2008
Posts: 6
|
|
ihve made a class "welcome" it was running on jdk1.3 but last night i installed jdk1.6.0 after unistalling jd1.4 then following error came at run time Exception in thread "main" java.lang.UnsupportedClassVersionError: welcome (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source then again i install jdk1.4 and set the path of c:\programfiles\java\jdk1.4\bin;c:\programfiles\java\jdk1.6.0\bin; then the code run successfully why so
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56151
|
|
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this. This post has been moved to a more appropriate forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Aum Tao
Ranch Hand
Joined: Feb 14, 2006
Posts: 210
|
|
It's not clear from your question whether you had JDK 1.3 of JDK 1.4 initially. This error is usually indicative of the fact that you have more than one java versions involved. You might want to check it with And, remove any additional JDKs.
|
SCJP 1.4 85%
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
|
|
|
And please don't write p-l-z: read this FAQ.
|
 |
 |
|
|
subject: plz tell me
|
|
|