Tekforums
Chat => Entertainment & Technology => Topic started by: addictweb on March 29, 2006, 23:02:39 PM
-
I have to demonstrate a Java program i have written tomorrow so ive just loaded it onto my housemates laptop where it wont complie!
I programmed it using netbeans (against all advice). The error im getting begins:
java.lang.UnsupportedClassVersionError: imagiview/Main (Unsupported major.minor version 49.0)
Ive got the newest versions of NetBeans (5.0) JRE and Java SDK installed, ive just re-downloaded them just incase.
They work fine on my tower with exactly the same java things installed. Also both on win XP
Please help with anything you can.
-
not a problem mate.
Delete everything under your "build/classes/projectname/"
then recompile :) its the same issue I had on the macs in the lab.
-
Cheers, i still couldnt get it to work like that, i tried everything.
Eventually spotted that you can make a self executing jar file from your project. Much easier ... untill i realised all the paths to my images/icons were absolute and i have to change all my code.
Got it done in the end tho. 84% :-)
-
Cool beans, well done!!
-
Cheers, i still couldnt get it to work like that, i tried everything.
Eventually spotted that you can make a self executing jar file from your project. Much easier ... untill i realised all the paths to my images/icons were absolute and i have to change all my code.
Got it done in the end tho. 84% :-)
Nice one boyo :) did ya use tooltips? :D