sitvilla.blogg.se

Install4j wizard could not find java runtime
Install4j wizard could not find java runtime











install4j wizard could not find java runtime

Is there any additional setting to detect the java version based onĬan someone confirm the latest behavior regarding detection of JAVA_HOME? I'm using Launch4J 3.14 in combination with the launch4j-maven-plugin to produce foobar.exe. We have set the JAVA_HOME variable and even when calling java-versionįrom the command line we can see, openJDK and version 11.0.1.

#Install4j wizard could not find java runtime license

I have downloaded the JRE (not JDK) installer as an MSI file.Īs you know, Oracle has changed their license policy and moe and moreĪs openJDK comes with a zip file, without installed, it does not Options in the tree, disabled by default: In the 3rd step of the "JRE With Hotspot" wizard, look for 2 additional On Tue, Jan 8, 2019, 16:03 thomas kellerer is an open ticket for allowing too check the JRE through environment Great that you've got it working, nice idea. Or would it be possible to "fallback" and to allow wildcards as Java version, so any version could be allowed (if that would then still work for launch4j.) Java_Home is set normally as it is used for many other purposes as well.

install4j wizard could not find java runtime

Is there a reason not to use JAVA_HOME (maybe as fallback)? Specifying the path also does not work as I have openJDK on C: my colleague on D. How will launch4j work with it without the registry entries?īundling Java is one option, but it requires to maintain Java in the application as well. OpenJDK does not provide any installer, therefore it does not creates registry entries. To unsubscribe from further messages, please visitĬmdLine: F:\Testing\test-0.0.1-SNAPSHOT-jar-with-dependencies.exe -l4j-debugĦ4-bit search: SOFTWARE\JavaSoft\Java Development Kit.ģ2-bit search: SOFTWARE\JavaSoft\Java Development Kit.Ħ4-bit search: SOFTWARE\IBM\Java Development Kit.ģ2-bit search: SOFTWARE\IBM\Java Development Kit.Įrror msg: This application requires a Java Runtime Environment 11.0.1īut let me ask additional questions please: Sent from because you indicated interest in Is there any additional setting to detect the java version based on the This application requires a Java Runtime Environment 11.0.1.ĭoes not matter if I select JRE, JDK or private jdk as launch4j setting. The command line we can see, openJDK and version 11.0.1.īut if I use the application converted as exe., I get the following error: We have set the JAVA_HOME variable and even when calling java-version from There is the option to reduce the size of such JREįirst of all, many thanks for your hard work on this tool.Īs you know, Oracle has changed their license policy and moe and more ofĪs openJDK comes with a zip file, without installed, it does not generate Larger but you don't have to worry about what java version is installed on Your best option is to bundle the JRE with the application, it'll make it Need to specify the java directory as absolute or relative path (bundledĬan you attach the log created by the executable with -l4j-debug option?













Install4j wizard could not find java runtime