I got a problem with using another Java version. Until yesterday I used JDK 1.8 but now it doesnt work on my computer anymore (idk why). I tried reinstalling it but it simply doesnt work. So I changed my PATH variable to point to JDK 1.7 and also changed the symlinks in "javapath" to point to JDK 1.7. I also changed the path to the javac.exe to javac 1.7.
So I wanted to compile my B4A code and it always says "java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main : Unsupported major.minor version 52.0". I tried also renaming JDK 1.8 Folder but it also doesnt work.
My Question: Where can I define which Java version B4A uses?
I got the code when compiling, but I found out the solution on my own.
To everyone whos got this problem, too:
This is a conflict between the JVM that is running on your computer and the JDK you are using. So you have to have the same version of JRE and JDK running on your PC. I could fix it with uninstalling all versions of JAVA on my PC and reinstalling JDK and JRE of the same version.