My Java SWT desktop application is distributed with it's own Java runtime and I want to make the download size as small as possible. I'd like to remove all the classes I don't use from rt.jar, but this is forbidden according to JDK runtime licence (see the README.html file in the root JDK folder).
Since Java is open source, am I allowed to compile my own 'Java' runtime from source which doesn't have this distribution restriction? If so, has anyone done this already? (Or do you just ignore the JDK licence terms?)
Java SE continues to be available under the Oracle Binary Code License (BCL) free of charge. Java Runtime Environment (JRE) use for embedded devices or use of commercial features may require a license fee from Oracle.
You can download the latest OpenJDK release of Java from Oracle, for free, under an open source license from jdk.java.net. Oracle JDK 8 and Oracle JDK 11 are free for Personal, Development and other uses. Oracle JDK 17 and later release are available under a Oracle No-Fee Terms and Conditions License for all users.
Oracle has announced that from January 2019, Java SE 8 public updates will no longer be available for business, commercial or production use without a commercial license although it will remain free for general purpose computing usage.
Any Java SRE and SDK version newer than 1.8. 0.202 requires a license. Recommendations: Remove it, if possible.
As I am not a lawyer too you will need to read this and see if it can feet your need. But this is not what I offer. Project Jigsaw that is a part of the OpenJDK effort that will be released as part of Java 7 around second half of 2010 I do not know your time line and requirements but MAY BE this is what you are looking for.
This what thay say as:
The goal of this Project is to design and implement a simple, low-level module system focused narrowly upon the goal of modularizing the JDK, and to apply that system to the JDK itself. ...
openjdk afaik is GPL V2 licensed implementation with a HotSpot VM, so you can recompile and redistribute as long as adhere to the GPL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With