jnjft Member Licensed User Longtime User May 26, 2017 #1 Hello! I began writing an app with b4a version 3.82 and upgraded to version 7.01 yesterday. When I load the code into v7.01 it is not possible to compile it, it stops with an error message ('... java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 ...) Can anybody help me please? Thank you
Hello! I began writing an app with b4a version 3.82 and upgraded to version 7.01 yesterday. When I load the code into v7.01 it is not possible to compile it, it stops with an error message ('... java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 ...) Can anybody help me please? Thank you
udg Expert Licensed User Longtime User May 26, 2017 #2 You have to install Java 8 on your dev machine. Recall to update the IDE to use it under Tools - Configure Paths. Upvote 0
You have to install Java 8 on your dev machine. Recall to update the IDE to use it under Tools - Configure Paths.
eps Expert Licensed User Longtime User May 26, 2017 #3 and what Android SDK have you got on your machine? Upvote 0
DonManfred Expert Licensed User Longtime User May 26, 2017 #4 jnjft said: Unsupported major.minor version 52.0 Click to expand... Update your Java to Version 8. See Installation 1. Java JDK v8 Open the Java 8 JDK download link. Check the Accept License Agreement button. Select "Windows x86 (32-bit) or Windows x64" in the platforms list. Download the file and install it. Make sure to change the path of your java installation in Tools-Configure paths to the new one. Upvote 0
jnjft said: Unsupported major.minor version 52.0 Click to expand... Update your Java to Version 8. See Installation 1. Java JDK v8 Open the Java 8 JDK download link. Check the Accept License Agreement button. Select "Windows x86 (32-bit) or Windows x64" in the platforms list. Download the file and install it. Make sure to change the path of your java installation in Tools-Configure paths to the new one.
jnjft Member Licensed User Longtime User May 26, 2017 #5 Thanks a lot everybody, installing jdk 8 solved the problem! Best regards John Upvote 0