I am having issues when trying to compile easy installer from source:
./gradlew dist
[...]
> Task :prepareMergedJarsDir FAILED
:prepareMergedJarsDir (Thread[Task worker for ':',5,main]) completed. Took 0.0 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':prepareMergedJarsDir'.
> No value has been specified for this provider.
I changed the gradle version as suggested and called gradlew with debug and stacktrage flags. Unfortunately, still no luck, but maybe the log in more meaningful now: https://tinyurl.com/TerrorUnlike
(By the way: this forum did not permit me to “post a link to that host” when trying to post a pastebin link. In the preview of this post it says: " It looks like your link to pastebin dot com was already posted in the topic by @amo in a reply on Nov 11, '20 – are you sure you want to post it again?" but I can’t confirm that I am sure. Same for paste dot c-net dot org. )
Caused by: java.lang.IllegalStateException: No value has been specified for this provider.
...
at org.beryx.jlink.PrepareMergedJarsDirTask.getJavaHome(PrepareMergedJarsDirTask.groovy:49)
Thank you a lot!
You are right about the environment variable, it was not set, and I could probably have guessed that…
Now that it is set correctly, I am somehow missing the javac binary which is present in the jdk 14 but not in the jdk 11. Anyway, this is definitely not related to the easy installer.
Closing for now.
I appreciate your help.
Funny enough, I thought I have to use my system JDK, but I needed to set the JAVA_HOME to the jdk11 subfolder of easy-installer. So for whomever might have the same problem, this is what worked for me: JAVA_HOME=buildSrc/linux/jdk-11.0.2 ./gradlew dist