Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12.8, 1.12.9
-
None
-
Linux
Description
Current Situation
- The JOC installer writes one of the following files to set some environment variables such as JAVA which are read by Jetty.
- /etc/default/joc (if installer has root permissions)
- /$HOME/.jocrc (if installer doesn't have root permissions)
- If Jetty doesn't find a Java environment then the variable JAVA is used as fallback.
This variable is set by the installer with the Java which is used during the setup but a typo ('}') prevents this variable from being usedexample of current situationtest -x "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64/jre}/bin/java" && JAVA="/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64/jre/bin/java"
Desired Behavior
The typo ('}') should correct so that JAVA can be used as fallback.