News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

Urgent Help needed: Jave + Netbeans

Started by addictweb, March 29, 2006, 23:02:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

addictweb

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.
Formerly sexytw

M3ta7h3ad

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.

addictweb

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%   :-)
Formerly sexytw

Christopher Monkey


M3ta7h3ad

Quote from: sexytwCheers, 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