no...actuaallyy i did a lill somthn similiar...i complied with version 1.6 n try n execute wid version 1.5!!!!
Type: Posts; User: amber_hell
no...actuaallyy i did a lill somthn similiar...i complied with version 1.6 n try n execute wid version 1.5!!!!
C:\>java -jar bdb.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at...
ok thr nw line charctr was posin sum hindranc...i gt it fixed..thnkssss...nw another problem...jar file has been created n is runnin fine in ma system...but when ported to anothr system it jus doesnt...
the contents of the manifest file is as follows:
"Main-Class: main"(main is the name of the class which contains the static void main class...)
the error message is as follows:
"failed to load...
i hv created a jar file but it wont work..everytime i run it it says cannot find main class the program will exit now...what to do now??pls helppp...
how to create a executable jar file in java??