Hi everyone,
I have installed the OpenJDK11+OpenJFX11 from the suggested link in the B4J and B4A product page.
I unzipped it, I updated my paths in B4J and compiled successfully an Application. I exited B4J and tried to run the jar by double clicking on it but I see a black command prompt windows which closes and nothing runs.
I tried with this tutorial to set the JAVA_HOME and I had no success: https://javatutorial.net/set-java-home-windows-10
Testing if it runs the app I see the same (black cmd and closes)
Tried to test the variables and java and here is what I've got.
Any suggestions?
I have installed the OpenJDK11+OpenJFX11 from the suggested link in the B4J and B4A product page.
I unzipped it, I updated my paths in B4J and compiled successfully an Application. I exited B4J and tried to run the jar by double clicking on it but I see a black command prompt windows which closes and nothing runs.
I tried with this tutorial to set the JAVA_HOME and I had no success: https://javatutorial.net/set-java-home-windows-10
Testing if it runs the app I see the same (black cmd and closes)
Tried to test the variables and java and here is what I've got.
C:\Users\Nikos>echo %JAVA_HOME%
C:\B4X\Java\jdk-11.0.1
C:\Users\Nikos>javac -version
javac 11.0.1
C:\Users\Nikos>java -version
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>java
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>java -jar c:\B4X\Tools\JsonTree.jar
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>cd\B4X\Java\Jdk-11.0.1\bin
C:\B4X\Java\jdk-11.0.1\bin>java -jar c:\B4X\Tools\JsonTree.jar
Error: JavaFX runtime components are missing, and are required to run this application
C:\B4X\Java\jdk-11.0.1\bin>
C:\B4X\Java\jdk-11.0.1
C:\Users\Nikos>javac -version
javac 11.0.1
C:\Users\Nikos>java -version
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>java
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>java -jar c:\B4X\Tools\JsonTree.jar
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
C:\Users\Nikos>cd\B4X\Java\Jdk-11.0.1\bin
C:\B4X\Java\jdk-11.0.1\bin>java -jar c:\B4X\Tools\JsonTree.jar
Error: JavaFX runtime components are missing, and are required to run this application
C:\B4X\Java\jdk-11.0.1\bin>
Any suggestions?