beryx / badass-runtime-plugin

Create a custom runtime image of your non-modular application
https://badass-runtime-plugin.beryx.org
Apache License 2.0
162 stars 21 forks source link

Cannot point to win version of JRE that is in MacOs / Bootcamp (= windows partition) #118

Open chjan opened 2 years ago

chjan commented 2 years ago

This is a problem I can go around, but I report it. When trying to use Jlink to create a minimized JRE it is set to point to the bootcamp Windows partion of this Mac Os Machine, a partition that is readonly as seen from Mac, Mac then being the partion of the HDD where I do this in build.gradle for a pure Java project (application). So I use Mac Os + Android Studio, also for pure Java projects.

IOW, the intention was to use an already installed JDK for Jlink, instead of downloading another copy.

I then get this exception, the path seems to be not recognized, but I got it from Mac Os and it is valid in that context:

A problem occurred evaluating project ':SoundPimp'.

no protocol: /Volumes/BOOTCAMP/Program Files/Java/jdk-15.0.1/bin

hakanai commented 1 year ago

Do you just need to add file: to the front to make it a valid URL?

You haven't included any of your configuration at all, so I don't have much to go on.