tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Support automatic retrival of JustJ for building with a given VM

Open laeubi opened this issue 2 years ago • 2 comments

We have https://www.eclipse.org/justj/ that offers some pre-build java-packages and we already distribute it as part of the Eclipse-Packages.

What cam into my mind is, why not have something in Tycho that enables to automatically download a JustJ as an alternative for that cases where a suitable JVM is not available as either build or toolchains... this will completely remove the need to install standard JVMs and configure them, so if we cache it in the local repo it should not harm much regarding download time.

laeubi avatar Jul 19 '22 17:07 laeubi

I'm not sure it's a Tycho-specific problem; it may apply to any Java project, so maybe there is already a solution/issue report about it for Maven in general that Tycho could rely on?

mickaelistria avatar Jul 19 '22 18:07 mickaelistria

I have talked with the maven ppl but there where some concerns that this actually could work, so I think we can maybe prototype this here and maybe convince them later on if it gets attention from more developers...

laeubi avatar Jul 21 '22 05:07 laeubi

Another possible source would be https://api.adoptium.net/q/swagger-ui/

laeubi avatar Feb 07 '23 16:02 laeubi

I have played around with the update-site of JustJ and think what would actually be quite convenient if for a product packaging one can enable to include a JustJ so one has not to configure anything.

laeubi avatar Feb 07 '23 17:02 laeubi