- Jun 6, 2020
- 11,517
- 4,383
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:
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.
Spoiler: cmd checking the java environment
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...
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:
برای دیدن لینک ها باید ثبت نام کنید
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.
Spoiler: cmd checking the java environment
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...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید