Java Question SLC & Java 11

divinglog

Member
Licensed User
Longtime User
Hello

Since switching to Open JDK 11 my library does not seem to compile anymore using SLC. When I switch back to JDK 1.8, everything compiles just fine again. So for now I keep both and when I have to compile my library I temporarily switch to Java 8 and then for compiling my app I switch back to Java 11 in the configure path dialog.

So my questions are:

- I guess this is no problem using two different Java versions for the lib vs. app
- Do you need any details/help addressing the issue with Java 11 and SLC?
- If this is going to be a long term issue, I think a separate option in SLC to use a different Java version than B4A would be a good idea, so I don't have to change it in the B4A path dialog every time

Thank you!
 

divinglog

Member
Licensed User
Longtime User
SLC works, but there are compiler warnings and the compiled library does not work. Switching to JDK 1.8 fixes the issue. Maybe the problem is with the Java code, but I don't know.

Java 11:



Java 8:

 

DonManfred

Expert
Licensed User
Longtime User

Note that i used SLC V1.11
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…