I have been running java for a month. Yesterday after installing Oracle 10g and Microsoft Visual Studio6.0, i am now only able to compile the file but run.
While running, it flag as an error stating
" java.lang.UnsupportedClassVersionError" ..................
How to resolve the thing ??
[ April 11, 2008: Message edited by: Bear Bibeault ]
Other people on this forum have said that Oracle installs its own Java runtime, which has presuambly overwritten your runtime. I did a search of this forum and found this and this. I hope that is of help.
See step 4 of Sun's installation instructions for Windows. (These are for Java 1.6. You might need to adjust depending on your version.)
Originally posted by Bear Bibeault:
Please refrain from using words such as "Urgent!" when posting. Your question is no more and no less important than anyone else's. In fact, by using the such terms, you you can delay or prevent useful response to your question. Please read this to find out why.
Sorry if I abused the term "urgent" unknowingly, but all my work is now a day behind for this so it made me to put that.
I checked my path and found this:
C:\Program Files\K-Lite Codec Pack\QuickTime\QTSystem\;
C:\Program Files\Java\jdk1.6.0_04\bin (This is the current version I have been using since a month)
Now in 2nd and 3rd line, there are another two path mentioned(besides my actual path which should be one in Line 6) which i have quoted in bold. Do I need to remove both 2nd and 3rd line path's ??
Try javac -version, which should give something like 1.6.0_05.
Originally posted by Shivit Agarwal:
After deleting the line 2 and 3 it is now showing the old error which i got at the startup --
So i brought line 6 at the first but still the above error "NoClassDefFoundError"
What should I do now ??
Of course, NoClassDefFoundError is a new error; you need to go through your folder to find where the class you are looking for has gone . . .