Skip to content
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

[System] Bundle MT with JRE #381

Closed
wolfgang-ch opened this issue Aug 15, 2021 · 5 comments
Closed

[System] Bundle MT with JRE #381

wolfgang-ch opened this issue Aug 15, 2021 · 5 comments
Milestone

Comments

@wolfgang-ch
Copy link
Collaborator

wolfgang-ch commented Aug 15, 2021

Used hints from https://kivio.org/blog/entry/2020/07/09/jre-mit-eclipse-rcp-anwendung-bundeln

@wolfgang-ch wolfgang-ch changed the title Bundle MT with JRE [System] Bundle MT with JRE Dec 29, 2021
@wolfgang-ch wolfgang-ch added this to the 22.1 milestone Dec 30, 2021
@wolfgang-ch
Copy link
Collaborator Author

An embeddet JRE is now working :-)

but there is some work left

  • Create MT release also without a JRE, needs some pom.xml tweaks
  • Reduce size of the JRE, it is very large compared with embedded JRE's in other products

image

image

@wolfgang-ch
Copy link
Collaborator Author

@FJBDev @telemaxx
Do you think it is necessary that the JRE is also bundeled for Linux, this would be an additional zip file. Now it's implemented only for Win as setup file without the zip archive.

I think, Linux users are more the advanced users compared with Win users and do not need it :-?

image

@FJBDev
Copy link
Collaborator

FJBDev commented Jan 3, 2022

@wolfgang-ch
I agree, I don't think it's necessary to bundle up Java with the Linux installation because Linux users tend to be more advanced and if they are using Linux, I think they know how to install Java 😄

@telemaxx
Copy link
Contributor

telemaxx commented Jan 3, 2022

i think also, an additional bundled windows version is enough.

several times user reporting that mt is not starting since an update.
often the reason was an old java version on windows.

@wolfgang-ch : the bundled is not that much bigger, have you stripped down the embedded JRE?
i have expected a much bigger file.

@wolfgang-ch
Copy link
Collaborator Author

After I finished the implementation, I found this https://www.eclipse.org/justj/?page=documentation which should embed a jre easier. So I tried to replace my implementation with this but it failed. JustJ should also have the ability to optimize the JRE but after investing several days to get a working solution, I gave up with JustJ

The downloaded JRE zip file is much smaller than the embedded but for now I'm happy that it's working.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants