MichalK73 Well-Known Member Licensed User Longtime User Sep 21, 2022 #21 Erel said: There are no issues with the current OpenJDK 11 and OkHttpUtils2. The problem was somewhere else. Click to expand... With JAVA 11 from the B4X website, I was getting problems with SSL Verify. The httpjob was not being executed. After switching to 18 everything worked.
Erel said: There are no issues with the current OpenJDK 11 and OkHttpUtils2. The problem was somewhere else. Click to expand... With JAVA 11 from the B4X website, I was getting problems with SSL Verify. The httpjob was not being executed. After switching to 18 everything worked.
TelKel81 Active Member Licensed User Longtime User Oct 22, 2022 #22 Erel said: Note that you can use any version of OpenJDK you like. You just need to download the three pieces and put them in the right place: - OpenJDK - JavaFX SDK + jmods: https://gluonhq.com/products/javafx/ JavaFX SDK should be in javafx folder. JavaFX jmods should be in javafx\javafx-jmods folder Click to expand... I get an error message (see attachment) when running SDK Manager / AVD Manager after following previous instructions. Platform is OpenSDK 19, JavaFX 19, jMods 19, 64 bit. However I can successfuly compile and run application. Attachments Error MSG.txt Error MSG.txt 4.6 KB · Views: 647 Last edited: Oct 22, 2022
Erel said: Note that you can use any version of OpenJDK you like. You just need to download the three pieces and put them in the right place: - OpenJDK - JavaFX SDK + jmods: https://gluonhq.com/products/javafx/ JavaFX SDK should be in javafx folder. JavaFX jmods should be in javafx\javafx-jmods folder Click to expand... I get an error message (see attachment) when running SDK Manager / AVD Manager after following previous instructions. Platform is OpenSDK 19, JavaFX 19, jMods 19, 64 bit. However I can successfuly compile and run application.
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2022 #23 It is possible that there are compatibility issues with Java 19 due to new restrictions.
Rubsanpe Active Member Licensed User Longtime User Oct 23, 2022 #24 Hi, I am using OpenJDK 19 with B4A 11.80 and I don't have that problem.... Rubén
peacemaker Expert Licensed User Longtime User Nov 7, 2022 #25 Rubsanpe said: Hi, I am using OpenJDK 19 with B4A 11.80 and I don't have that problem.... Rubén Click to expand... Could you share your tested bundle of JDK ?
Rubsanpe said: Hi, I am using OpenJDK 19 with B4A 11.80 and I don't have that problem.... Rubén Click to expand... Could you share your tested bundle of JDK ?
Rubsanpe Active Member Licensed User Longtime User Nov 7, 2022 #26 Hi. Im using https://download.java.net/java/GA/j...3ce/10/GPL/openjdk-19.0.1_windows-x64_bin.zip Rubén
Hi. Im using https://download.java.net/java/GA/j...3ce/10/GPL/openjdk-19.0.1_windows-x64_bin.zip Rubén
peacemaker Expert Licensed User Longtime User Nov 7, 2022 #27 Rubsanpe said: https://download.java.net/java/GA/j...3ce/10/GPL/openjdk-19.0.1_windows-x64_bin.zip Click to expand... Ah, it's without JavaFX... ? I meant whole tested bundle with all fresh parts.
Rubsanpe said: https://download.java.net/java/GA/j...3ce/10/GPL/openjdk-19.0.1_windows-x64_bin.zip Click to expand... Ah, it's without JavaFX... ? I meant whole tested bundle with all fresh parts.
mcqueccu Expert Licensed User Longtime User Nov 7, 2022 #28 peacemaker said: Ah, it's without JavaFX... ? I meant whole tested bundle with all fresh parts. Click to expand... Check Post #2 on how to assemble the parts to complete JDK
peacemaker said: Ah, it's without JavaFX... ? I meant whole tested bundle with all fresh parts. Click to expand... Check Post #2 on how to assemble the parts to complete JDK
mcqueccu Expert Licensed User Longtime User Feb 27, 2023 #29 mcqueccu said: Check Post #2 on how to assemble the parts to complete JDK Click to expand... You can now get the OpenJDK 19 here OpenJDK 19.0.2 + OpenJFX 17.0.6: https://www.b4x.com/b4j/files/jdk-19.0.2.7z
mcqueccu said: Check Post #2 on how to assemble the parts to complete JDK Click to expand... You can now get the OpenJDK 19 here OpenJDK 19.0.2 + OpenJFX 17.0.6: https://www.b4x.com/b4j/files/jdk-19.0.2.7z
peacemaker Expert Licensed User Longtime User Feb 27, 2023 #30 mcqueccu said: You can now get the OpenJDK 19 here OpenJDK 19.0.2 + OpenJFX 17.0.6: https://www.b4x.com/b4j/files/jdk-19.0.2.7z Click to expand... Who downloaded and is trying this bundle - please, try to make log of non-ASCII text: B4X: Copy log("Sehenswürdigkeit") log("视线") log("достопримечательность") Visible OK in the log ?
mcqueccu said: You can now get the OpenJDK 19 here OpenJDK 19.0.2 + OpenJFX 17.0.6: https://www.b4x.com/b4j/files/jdk-19.0.2.7z Click to expand... Who downloaded and is trying this bundle - please, try to make log of non-ASCII text: B4X: Copy log("Sehenswürdigkeit") log("视线") log("достопримечательность") Visible OK in the log ?
Daestrum Expert Licensed User Longtime User Feb 27, 2023 #32 @peacemaker I don't think it is the bundle listed in post #29, I built my java 19 (openjdk + javafx) and it won't display log properly. ( I would never have known as I only log in English).
@peacemaker I don't think it is the bundle listed in post #29, I built my java 19 (openjdk + javafx) and it won't display log properly. ( I would never have known as I only log in English).
peacemaker Expert Licensed User Longtime User Feb 27, 2023 #33 Daestrum said: @peacemaker I don't think it is the bundle listed in post #29, I built my java 19 (openjdk + javafx) and it won't display log properly. ( I would never have known as I only log in English). Click to expand... Thank you for test. It proves again my test of JDK19, it's ... not so good for non-ASCII users. JDK14 is OK, but i did not test JDK17
Daestrum said: @peacemaker I don't think it is the bundle listed in post #29, I built my java 19 (openjdk + javafx) and it won't display log properly. ( I would never have known as I only log in English). Click to expand... Thank you for test. It proves again my test of JDK19, it's ... not so good for non-ASCII users. JDK14 is OK, but i did not test JDK17
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2023 #34 It is related to a change in Java 19 defaults. Add this: Code: Copy #VirtualMachineArgs: -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 #PackagerProperty: VMArgs = -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8
It is related to a change in Java 19 defaults. Add this: Code: Copy #VirtualMachineArgs: -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 #PackagerProperty: VMArgs = -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8
Sagenut Expert Licensed User Longtime User Feb 27, 2023 #35 Just my 2 Cents: I would stick just to LTS (Long Term Support) Versions. Actual one should be 17 and the next probably 21 (if nothing change). And as we seen with this Java 19 problem it would be better to know from Erel when a new version is fully supported.
Just my 2 Cents: I would stick just to LTS (Long Term Support) Versions. Actual one should be 17 and the next probably 21 (if nothing change). And as we seen with this Java 19 problem it would be better to know from Erel when a new version is fully supported.