JSS Backups stopped after upgrading to Java 8

AVmcclint
Honored Contributor

Windows 2012 Server, JSS 9.81. We did have a VERY old version of Java 7 on the server so I upgraded it to the latest Java 8 a few weeks ago. I just discovered that our JSS has not been backed up since the day I upgraded the Java. When I manually run the JSSDatabaseUtil.jar (by launching it from the command line) I get the following error:

C:Windowssystem32>java -jar "C:Program FilesJSSinJSSDatabaseUtil.jar"
Error: Registry key 'SoftwareJavaSoftJava Runtime Environment'CurrentVersion'

has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

How do I fix this? I thought Java 8 was supported.

2 ACCEPTED SOLUTIONS

CasperSally
Valued Contributor II

are your env variables correct?

https://jamfnation.jamfsoftware.com/article.html?id=348

Also check C:Program FilesJSSTomcatin omcat7w.exe --> Java --> Java Virtual Machine --> [path] - set to default

Restart tomcat.

View solution in original post

spalmer
Contributor III

Based on the last error you posted you might want to reinstall the Java Cryptographic Extensions. You need to reinstall those after every Java upgrade/update. If this is not installed you may see other things fail like Push Notifications.

View solution in original post

6 REPLIES 6

CasperSally
Valued Contributor II

are your env variables correct?

https://jamfnation.jamfsoftware.com/article.html?id=348

Also check C:Program FilesJSSTomcatin omcat7w.exe --> Java --> Java Virtual Machine --> [path] - set to default

Restart tomcat.

AVmcclint
Honored Contributor

At your suggestion I changed the variables and the tomcat7w java settings and I got the following on JSS after I restarted Tomcat: 613482b9d6c44c358acb9e60a1885f28
I reverted back to the previous settings but I still can't get the JSSDatabaseUtil to run.

spalmer
Contributor III

Based on the last error you posted you might want to reinstall the Java Cryptographic Extensions. You need to reinstall those after every Java upgrade/update. If this is not installed you may see other things fail like Push Notifications.

AVmcclint
Honored Contributor

Tech support walked me through completely uninstalling the old and new JRE & JDK, then reinstalling them and installing the Crypto extensions (even though the default install does include the files, for some reason they don't work). After doing that and making sure the tomcat7w java settings were pointing to the upgraded java, now it's working as designed.

AVmcclint
Honored Contributor

For those searching for the crypto files: they can be found here http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

jimd
New Contributor II

FYI... The default JCE files are limited in how strong an encryption can be applied. The replacement files that you need to install are unlimited.