No JRE in Java 11

Use this forum to post questions about using LXFree Java and LXSeries software for Windows.
Post Reply
inaayatali
Posts: 2
Joined: Tue Apr 28, 2009 2:25 am
Location: Mumbai, INDIA

No JRE in Java 11

Post by inaayatali »

I think I found the problem! Java no longer supports JRE. So running LX Free is not only difficult but impossible until and unless you create your own JRE using the command line from Java.

If anyone has an alternate solution please do let me know. I was totally dependent on LX Free to generate all my paperwork.
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

There is a new installer available specifically for JDK 11.0.1 on the download page.

A flexible launcher that will search for and find future versions of JDK 11 will need to be developed due to the complex changes made by Oracle to Java's distribution.

For right now, downloading the Windows 64 bit JDK 11.0.1 installer:

https://www.oracle.com/technetwork/java ... 66655.html

and the 11.0.1 specific installer for LXFree for Java should work:

https://www.claudeheintzdesign.com/lx/l ... nload.html
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

On closer inspection, Oracle has made the licensing terms for its JDK so that they prohibit it from being used to run applications (other than for development and testing).

So, it is necessary to download and install the OpenJDK which is open source and licensed under GPL. https://jdk.java.net/11/

OpenJDK does not have an installer. This means that to manually install it you have to extract the jdk-11.0.1 folder from the downloaded zip file. Create a Java folder in "Program Files". Move the jdk folder to the Java folder and then edit your system environment PATH to point to the jdk's bin folder.

It is also possible to move the downloaded OpenJDK to the LXSeries4Windows folder where it is sure that the LXFree for Java launcher will find it.

To do this you want to be sure to download the installer for Windows 64 bit and OpenJDK 11 from the LXFree for Java downloads page.

Here's how to make this work:

1) Download and Install LXFree for Java (Windows 64bit and OpenJDK 11). After the install you will get a message that the application requires a JRE and the openJDK webpage (https://jdk.java.net/11/) will open in your browser.

2) Click on the Windows/x64 zip link to download the openjdk in a zip file.

3) Choose to save the zip file to your downloads folder.

4) Look in downloads for the openjdk zip file. At this time it is named "openjdk-11.0.1_windows x-64_bin"

5) Right click the downloaded zip file and choose "Extract All..." You can uncompress the zip file into the downloads folder.

6) Inside the extracted folder there will be the actual jdk folder. At this time it is named "jdk-11.0.1". Rename this folder "Java"

7) Move this "Java" folder to "C:\Program Files (x86)\LXSeries4Windows"

8) Double-click the LXFreeForJava application to verify that it launches.
Post Reply