-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase Umlet min Java version to 8 (v15.2 already required 8 due to a dependency) #729
Comments
Java 6 is just the minimum requirement, but any later version works too. Unfortunately the whole "Java topic" is getting more and more complicated to understand for users with all the different distributions, but for Umlet you can use any Java or JDK distribution >=6. It doesnt matter if its the Oracle Java distribution or any OpenJDK like Temurin from https://adoptium.net/ |
When I ran with JRE 6 and JRE 7 (from Oracle), it gave an error that it could not find the main class and it did not start. When I ran with Java 8, I did not get an error. |
More detailsJRE 6 when running Umlet.exe
JRE 6 when running
JRE 7 when running Umlet.exe:
JRE 7 when running
|
Thanks for the tests, so it seems that slf4j (a dependency which umlet uses) is no longer working with Java6 or 7 which means Umlet also requires at minimum v8. We should update the https://github.com/umlet/umlet/blob/master/umlet-standalone/src/exe/Umlet.exe which still says Java6 before the next release. Maybe launch4j has improved other things as well such as Java discovery (it seems so looking at https://launch4j.sourceforge.net/changelog.html) That said, using Java 6 or 7 today is always a bad idea because nobody provides security updates anymore (at least not for free) |
To fix the issue we will recreate umlet.exe with the latest launch4j release and the min Java version should be set to 8, also updating the launch4j config for Umlet https://github.com/umlet/umlet/blob/master/umlet-standalone/src/exe/launch4j_project.xml |
When starting UMLet on a windows machine without Java, a notification says that Java 6 is required. I tried running with Java 6 and Java 7, but neither worked. After running with Java 8, UMLet starts up with no problems.
The text was updated successfully, but these errors were encountered: