anupam409 / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Bad version number in .class file #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi.

I get a "Bad version number" error. Probably you've compiled the classes
with Java 6, and I work with Java 5.

¿Do you have .class files with Java5 compliance level? ¿Or can you send me
the source code so I can compile it?

Thank you. 

Mi e-mail: manolowar08@gmail.com

Original issue reported on code.google.com by manolowa...@gmail.com on 7 Oct 2008 at 7:20

GoogleCodeExporter commented 9 years ago
I have the same problem, together with all the mac community since cannot run 
yet
java 1.6. A jar file with Java5 compliance level would be indeed highly 
appreciated.

thanks
-fe-

Original comment by ker...@gmail.com on 12 Oct 2008 at 6:50

GoogleCodeExporter commented 9 years ago
Hi, 

I also have the same problem, it shows the message : 
"Translate.class and Language.class files have wrong version 50.0, they should 
be 
48.0,Please remove or make sure it appears in the correct subdirectory of the 
classpath. at line 11, column 33". And I used Java 1.4.2 version.

Is there any limitation to use this jar file, such as only can run in JRE 5.0 
environment or somethingelse? 

Thank you.

Original comment by mylin...@gmail.com on 10 Nov 2008 at 7:03

GoogleCodeExporter commented 9 years ago
same problem here:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version 
number
in .class file

Original comment by jorge.ca...@gmail.com on 26 Nov 2008 at 10:11

GoogleCodeExporter commented 9 years ago
Apologies, not sure how I managed to not notice that I changed to a JDK6. About 
to
put up a version compiled against a Sun JDK 1.5 which should fix this.

Original comment by rich.mid...@gmail.com on 9 Dec 2008 at 6:47