jatko Member Licensed User Longtime User Oct 11, 2017 #1 I have some problems after installation 7.3 version. When I whant to run the project I have the message: B4A Version: 7.30 Parsing code. (0.03s) Compiling code. (0.06s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Generating R file. (0.04s) Compiling generated Java code. (1.52s) Convert byte code - optimized dex. Error java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) Exception in thread "main" What is the reason? JDK 9 64bit
I have some problems after installation 7.3 version. When I whant to run the project I have the message: B4A Version: 7.30 Parsing code. (0.03s) Compiling code. (0.06s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Generating R file. (0.04s) Compiling generated Java code. (1.52s) Convert byte code - optimized dex. Error java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) Exception in thread "main" What is the reason? JDK 9 64bit
DonManfred Expert Licensed User Longtime User Oct 11, 2017 #2 B4A need java 8 Update your java 8 version to a newer one... Upvote 0
DonManfred Expert Licensed User Longtime User Oct 12, 2017 #4 You have installed java 9! B4A needs Java 8! The NEWEST JAVA 8 Version is needed. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2017 #5 The link is available here: https://www.b4x.com/b4a.html Make sure that B4A uses the correct Java (Tools - Configure Paths). Upvote 0
The link is available here: https://www.b4x.com/b4a.html Make sure that B4A uses the correct Java (Tools - Configure Paths).