Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

releng: Bundle java runtime in Trace Compass RCP product packages #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Feb 7, 2025

What it does

Bundle JustJ JVM inside the Trace Compass RCP packages.

Update target files to include JustJ JREs with respective version for that release. Use latest available JRE version for respective major version.

This will make it easier for end-users to use Trace Compass because Java doesn't need to be installed separately and it will include the correct, required version.

Notes:

  • The stripped version of the JRE is used with debug information stripped and excluding the src.jar with sources used only for debugging. This minimizes the size of the JRE package because it's less than 1/2 the size of the corresponding full version. If you'd like to debug the RCP (e.g. using remote debugging), use a separated JVM as described below.
  • To run the RCP with a different JVM (e.g. installed on user's laptop), open the tracecompass.ini file and modify the path stettings for -vm. Or remove it completely then the default JRE of the computer is used.

How to test

Build and run the RCP. Check in configuration (Help -> About... -> Installation Details -> Configuration) the bundled JRE is used.

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Update target files to include JustJ JREs https://eclipse.dev/justj/
with respective version for that release. Use latest available JRE
version for respective major version.

This will make it easier for end-users to use Trace Compass because Java
doesn't need to be installed separately and it will include the correct,
required version.

Notes:

- The stripped version of the JRE is used with debug information
stripped and excluding the src.jar with sources used only for debugging.
This minimizes the size of the JRE package because it's less than 1/2
the size of the corresponding full version. If you'd like to debug the
RCP (e.g. using remote debugging), use a separated JVM as described
below.
- To run the RCP with a different JVM (e.g. installed on user's laptop),
open the tracecompass.ini file and modify the path settings for -vm. Or
remove it completely then the default JRE of the computer is used.

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant