You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====================================================================================================
| Starting Pipeline at 2018-09-30 15:34 |
====================================================================================================
============================================ Stage init ============================================
================================== Stage create_analysable_target ==================================
groovy: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME.
ERROR: stage create_analysable_target failed: Command in stage create_analysable_target failed with exit status = 1 :
unset JAVA_HOME; export PATH="/data/output.docker/bin:$PATH";
unset GROOVY_HOME`
I have tried to set JAVA_HOME path in the dockerfile (as stated in docker recommendation for ENV).
As well as tried to make path and move JAVA_HOME to place, which is stated in dockerfile: ENV JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre"
I also tried with deleted dockerfile in ximmer folder.
Maybe ximmer is not referring to the dockerfile ????
The problem occuring in mac OS and in Windows 10 using build in terminals or docker's CLI.
The text was updated successfully, but these errors were encountered:
I had the same issue running Docker on Debian 4.9. The problem seems to be the missing javac executable since only JRE seems to be installed. A simple fix would be to install the openjdk-8-jdk package which can be done when starting the container using something like this:
Apologies for taking so long to address this. Agreed adding openjdk8 probably fixes it - but in fact javac itself should not be necessary as such, the problem is just that it looks for javac as a way to determine JAVA_HOME, so if we avoid it being unset in the first place then that isn't necessary. So the fix addresses that problem.
I am having similar/same problem on mac as described previously in : #11
Running with :
docker run
fails with:
`
I have tried to set JAVA_HOME path in the dockerfile (as stated in docker recommendation for ENV).
As well as tried to make path and move JAVA_HOME to place, which is stated in dockerfile:
ENV JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre"
I also tried with deleted dockerfile in ximmer folder.
Maybe ximmer is not referring to the dockerfile ????
The problem occuring in mac OS and in Windows 10 using build in terminals or docker's CLI.
The text was updated successfully, but these errors were encountered: