I did the first request in 2021, but I’ll try once more since it never worked.
What I failed to mention last time is that I think it aligns fine with compilersandrunning arbitrary command (esp if user-configurable such as a developer tool to organize dev environments)
Cric is a gui for Java’s jlink command, used to make custom runtime images.
So it has to be able to execute the jlink command specified by the user.
hi @trixon - just to double check my understanding of cric, does the application expect java, jlink, etc to already be installed on the users machine or are these able to be shipped with the snap and it’s runtime?
@cav java is included in the snap and it is used to run cric.
There are many jdk providers, a few of them listed in the link below.
Each provider can offer multiple versions of the jdk.
Cric uses the jlink command provided in each jdk. A bundled jlink in the snap would not always be compatible with the user selected jdk.
To be sure I properly understand the use case, cric snap includes java to run the cric application itself. To make custom runtime image, cric uses the java sdk (and jlink) selected by the user (and already present in the user’s host system). Is that right?
I just wonder if it will be feasible to let the user choose an sdk from the cric GUI, then download that sdk (maybe to SNAP_COMMON_DATA) and use the downloaded sdk (and jlink) to create the custom runtime image. Do you think that would work?
It would not be feasible to let cric download sdk. They would need to be managed, removed/updated and so on, and there is an app for doing just that.
And I don’t think developers would be happy if forced to download sdk twice, because they surley have one installed if the need to use cric.
That would be