Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] shipping directly a jre with an eclipse product on OSX

thx for this because that brought us on the right track..

with the feature way we have it now working on OSX
but we need this as a -vm 

org.eclipse.equinox.p2.touchpoint.eclipse.addProgramArg(programArg:../Eclipse/features/project.artifactId_version/jre/Contents/Home/lib/libjli.dylib);\

And it seems that the executable bits are not even needed for "java"


On Tue, 30 Apr 2019 at 13:26, Justin Dolezy <justin.dolezy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Johan,

We put a JRE in:  Our Software.app/Contents/Resources/jre

In the info.plist we have:

<key>Eclipse</key>
<array>
<string>-vm</string>
<string>../Resources/jre/lib/jli/libjli.dylib</string>
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
</array>

Not sure if the .dylib reference is still needed, but we had a problem with the Oracle JRE:


We actually take the JDK and repackage it - someone posted a script (think it might be in different Bugzilla) with does that and we still use it, with mods!

Regards,
Justin



On 30 Apr 2019, at 12:02, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:

hmmm i just tried adding that directly in our product file (selection a execution environment and then select "ship" )
then i expected when i build the product that i would get an error (that it can't find it)
but i don't see anything

I don't really care that tycho will generated a build for me, i just wonder about the layout, it doesn't have to update it or something.
(i guess all those file permission questions are more about when an update happens?)

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user


--
Johan Compagner
Servoy

Back to the top