markcox / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

No support for Java 7? #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/jf/baksmali/main : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.jf.baksmali.main. Program will exit.

What is the exact smali/baksmali command that you ran?
java -jar smali/build/libs/smali...

What version of smali/baksmali are you using? What rom are you working
from?
latest git

What is the airspeed velocity of an unladen swallow?
http://style.org/unladenswallow/

Please provide any additional information below: error messages, symptoms,
etc.

Original issue reported on code.google.com by 5hp...@gmail.com on 26 Sep 2012 at 12:02

GoogleCodeExporter commented 9 years ago
As far as I can tell, it should work with fine java 7. Feel free to ping this 
issue if you still have problems.

Original comment by jesusfreke@jesusfreke.com on 7 Dec 2013 at 11:05