Philip Chatzigeorgiadis Active Member Licensed User Longtime User May 4, 2020 #1 After succesfully switching from JAVA 8 to OpenJDK 11 a few months ago, this week I had to update an older problem which was running on a MAC. I downloaded JDK to MAC from here: https://b4xfiles-4c17.kxcdn.com/b4j/mac_jdk-11.0.1.zip I have 2 failed approaches: Approach 1: Use B4JPackager11 on the MAC. I encountered a problem that was already discussed in this forum. Still, I could not find how to implement the solution. I have already posted my problem in the relevant thread, but I have received no answer so far: Problem JSON B4JPackager11 - Mac Sierra Hi All. I tried to compile and test a program written in B4J on Windows - Linux and Mac. On Windows and Linux no problem. On Mac (Sierra) when I try to create the installation package I have the following error: The json file looks correct (as you can see). Any idea ? Thank you very much Marco www.b4x.com Approach 2: Execute the Jar file directly - I do not know if it's a valid approach, but i tried anyway. I added jdk11.0.1/javafx and jdk11.0.1/bin to the PATH. B4X: Copy Andreas2015:objects andreas$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/andreas/documents/java/jdk11.0.1/javafx:/Users/andreas/documents/java/jdk11.0.1/bin Then, I explicitly run java from java11.0.1/bin. This is what I got: B4X: Copy Andreas2015:objects andreas$ /users/andreas/documents/java/jdk11.0.1/bin/java -jar boxgraphics.jar Error: JavaFX runtime components are missing, and are required to run this application Andreas2015:objects andreas$ Any suggestions?
After succesfully switching from JAVA 8 to OpenJDK 11 a few months ago, this week I had to update an older problem which was running on a MAC. I downloaded JDK to MAC from here: https://b4xfiles-4c17.kxcdn.com/b4j/mac_jdk-11.0.1.zip I have 2 failed approaches: Approach 1: Use B4JPackager11 on the MAC. I encountered a problem that was already discussed in this forum. Still, I could not find how to implement the solution. I have already posted my problem in the relevant thread, but I have received no answer so far: Problem JSON B4JPackager11 - Mac Sierra Hi All. I tried to compile and test a program written in B4J on Windows - Linux and Mac. On Windows and Linux no problem. On Mac (Sierra) when I try to create the installation package I have the following error: The json file looks correct (as you can see). Any idea ? Thank you very much Marco www.b4x.com Approach 2: Execute the Jar file directly - I do not know if it's a valid approach, but i tried anyway. I added jdk11.0.1/javafx and jdk11.0.1/bin to the PATH. B4X: Copy Andreas2015:objects andreas$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/andreas/documents/java/jdk11.0.1/javafx:/Users/andreas/documents/java/jdk11.0.1/bin Then, I explicitly run java from java11.0.1/bin. This is what I got: B4X: Copy Andreas2015:objects andreas$ /users/andreas/documents/java/jdk11.0.1/bin/java -jar boxgraphics.jar Error: JavaFX runtime components are missing, and are required to run this application Andreas2015:objects andreas$ Any suggestions?
Erel B4X founder Staff member Licensed User Longtime User May 4, 2020 #2 You should use B4JPackager 11. You shouldn't post in old threads. Start a new thread instead. Upvote 0
Philip Chatzigeorgiadis Active Member Licensed User Longtime User May 4, 2020 #3 Erel said: You should use B4JPackager 11. Click to expand... Thanks for clearing this point. I will post my B4JPackager11 question in a new thread. Upvote 0
Erel said: You should use B4JPackager 11. Click to expand... Thanks for clearing this point. I will post my B4JPackager11 question in a new thread.