Posted on 06-07-2016 04:25 AM
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.
Solved! Go to Solution.
Posted on 06-07-2016 04:28 AM
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.
Posted on 06-07-2016 05:36 AM
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.
Posted on 06-07-2016 04:28 AM
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.
Posted on 06-07-2016 04:41 AM
At your suggestion I changed the variables and the tomcat7w java settings and I got the following on JSS after I restarted Tomcat:
I reverted back to the previous settings but I still can't get the JSSDatabaseUtil to run.
Posted on 06-07-2016 05:36 AM
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.
Posted on 06-07-2016 07:23 AM
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.
Posted on 06-07-2016 12:42 PM
For those searching for the crypto files: they can be found here http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Posted on 02-07-2017 03:49 PM
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.