Author Topic: Urgent Help needed: Jave + Netbeans  (Read 2265 times)

Urgent Help needed: Jave + Netbeans
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.
Formerly sexytw

Re:Urgent Help needed: Jave + Netbeans
Reply #1 on: March 30, 2006, 00:56:07 AM
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.

Re:Urgent Help needed: Jave + Netbeans
Reply #2 on: March 30, 2006, 17:04:49 PM
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

Urgent Help needed: Jave + Netbeans
Reply #3 on: March 30, 2006, 20:34:20 PM
Cool beans, well done!!

Re:Urgent Help needed: Jave + Netbeans
Reply #4 on: March 30, 2006, 20:45:38 PM
Quote from: sexytw
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

0 Members and 1 Guest are viewing this topic.