Posted on 10-29-2015 07:53 AM
So I installed Java 7 on my Ubuntu 14.04 server but the JSS is still using the Java 1.6. How can I get the JSS to use the newer java?
Solved! Go to Solution.
Posted on 11-02-2015 05:51 AM
Thanks to Martin at JAMF I was able to update to Java 8 and switch the JSS to it.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
For me, Java 8 became the default when I installed it so I didn't have to do anything, but you can choose which version by just pressing a key at that point.
Java Version 1.8.0_45-internal Java Architecture .................. amd64 Java Vendor Oracle Corporation Java Home .......................... /usr/lib/jvm/java-8-openjdk-amd64/jre Java Temp Directory /usr/local/jss/tomcat/temp
Done!
A big thanks to Martin at JAMF for testing this for me!
Posted on 10-29-2015 08:01 AM
Is Tomcat using the correct version of Java? I updated Java and uninstalled the old version, for some reason Tomcat was pointed to the previous version of Java and would not start.
Here's a Windows Example, path will differ on Ubuntu
Open
C:Program FilesJSSTomcatin omcat7w
Then go to the "Java" tab and see if the "Java Virtual Machine" is correct.
Mine says
C:Program FilesJavajre1.8.0_60inserverjvm.dll
Posted on 11-02-2015 05:51 AM
Thanks to Martin at JAMF I was able to update to Java 8 and switch the JSS to it.
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
For me, Java 8 became the default when I installed it so I didn't have to do anything, but you can choose which version by just pressing a key at that point.
Java Version 1.8.0_45-internal Java Architecture .................. amd64 Java Vendor Oracle Corporation Java Home .......................... /usr/lib/jvm/java-8-openjdk-amd64/jre Java Temp Directory /usr/local/jss/tomcat/temp
Done!
A big thanks to Martin at JAMF for testing this for me!
Posted on 06-07-2016 11:34 AM
Thanks! Worked perfectly for me!