Replies: 2 comments 10 replies
-
The easiest way is to just set the "includeJRE" flag in the product and configure the justJ site here: you don't need any special configuration, features or additonal sites. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Without org.eclipse.justj.buildtime property, product assembly fails with conflicts about justj to include into the product. Thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since recently we switched to the headless tycho build following the layout described here:
https://tycho.eclipseprojects.io/doc/latest/StructuredBuild.html
I should point out that the tycho build only generates an executable (Because the target platform completely defines the content), so our target platform file just looks like this:
Now we try to use an embedded Java-17 JRE by the modifying our the tycho build as shown below. In general it works (The embedded JRE is produced in the final product), but the issue is, that instead of the requested Java-17 we always get a Java-21 JRE, despite the fact that our product is based on an Eclipse 4.26. Here is what we have done so far:
(Note: We are aware that https://download.eclipse.org/justj/jres/17/updates/release/latest/ is generally better, because we would be happy to get the most recent Java-17 JRE, but I'm trying to demonstrate that even a specific version seems to be ignored)
XXX
denotes the normal product feature, irrelevant for the current purpose):(I'm not sure whether the "match" element is actually supported here. Originally we had used
, but I used above technique to test whether enforcing a specific Java-17 JRE works
)
Now what I don't understand is why we get always an embedded Java-21 JRE albeit we attempt to enforce the requested JRE to be of type Java-17. Is there some other flag that needs to be set to ensure that a justj Java-17 JRE is used?
Beta Was this translation helpful? Give feedback.
All reactions