Posted on 04-17-2013 06:59 AM
I am setting up a new JSS on Windows Server 2008 R2 64-bit and have hit a snag.
I have the JDK/JRE version 1.7 installed, but the JSS installer fails telling me "The JSS requires Java 1.6 or later to be installed to function properly. Please verify that you have Java 1.6 or later installed and try running the JSS installer again."
I've verified my PATH includes the JRE bin directory.
Does the JSS really need a java version from the 1.6 family?
Solved! Go to Solution.
Posted on 04-17-2013 08:04 AM
No, I have JSS setup on same version of server and used Java 7. Did you also do this part? I think you have to do this part too, or you get that message.
4.Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 1.6, available at:
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
5.Copy the following files from the extracted folder to C:Program FilesJavajre6libsecurity
Your location will be C:Program FilesJavajre7libsecurity
•local_policy.jar
•US_export_policy.jar
6.Accept the prompt to replace the existing files.
Posted on 04-17-2013 08:04 AM
No, I have JSS setup on same version of server and used Java 7. Did you also do this part? I think you have to do this part too, or you get that message.
4.Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 1.6, available at:
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
5.Copy the following files from the extracted folder to C:Program FilesJavajre6libsecurity
Your location will be C:Program FilesJavajre7libsecurity
•local_policy.jar
•US_export_policy.jar
6.Accept the prompt to replace the existing files.
Posted on 04-17-2013 08:12 AM
I did that part, but grabbed the wrong JCE. There are 1.7 JCE files that need to be added from this download:
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Posted on 04-17-2013 09:36 AM
So was the problem the JCE?
Thanks for the link.
Posted on 04-17-2013 04:21 PM
Yup, the problem was a version mismatch between JDK/JRE and JCE.
Posted on 05-17-2013 01:08 AM
I had the same problem but this solution was working. Only how did you do it with the JSS Database Utility? C:Program FilesJSSinJSSDatabaseUtil,jar
I get the following error:
First:
The path to the Mysql binaries could not be located
Please click "Continue" to manualy locate it.
Second:
Select the path to the mysql binaries... (but where?)
Third:
The JSS Database Utility must be launched on a system with MySQL installed (we have MySQL Server 5.6 installed)
How cane i fix this?
Extra info:
jdk-7u21-windows-x64
JSS Installer 8.7
mysql-installer-community-5.6.10.1
Posted on 05-30-2013 10:18 PM
I'm having the same problem as the poster above. I point it to the path C:Program FilesMySQLMySQL Server 5.6in which contains the 2 relevant files (MYSQL and MYSQLDUMP), however it still does not run.
Extra Info:
jdk-7u21-windows-x64
JSS Installer 8.7
mysql-installer-community-5.6.11
Posted on 05-31-2013 07:00 AM
We have been seeing this problem happening more recently, as the MySQL installers changed in the last version or two. The issue is usually a missing path in Environmental Variables.
For Windows Server, click on the Start menu, and right click on Computer and choose Properties. On the left side, click on Advanced System Settings, then go to the Environmental Variables. There should be a variable for "Path". Look through the entire Value for the Path entry and see if MySQL is mentioned any way in it. I found it was easiest to copy this long line of text out to Notepad and then look at it. If we do not see MySQL anywhere, please add a semi-colon at the very end, no space after it, and then add this: C:Program FilesMySQLMySQL Server 5.Xin, substituting the proper version number for X. If MySQL was there, please edit it so that it matches this. OK out of all the windows, and then try the JSSDatabaseUtil.jar program again.
Posted on 05-31-2013 10:06 AM
I ran into this at a client... JDK 7u21, MySQL Community Server 5.6.11. Despite the bin directory (for both MySQL and Java, as JAMF support suggested) being correctly in the path (i.e. typing mysqldump from the command line and having it execute the command), never could get the DB Utility to work. New install, but obviously this is an issue that needs to be looked into further...
Posted on 05-31-2013 04:53 PM
Agreed, this is definitely a problem with either the newer build of MySQL (5.6.11) or the new Java 7u21. I've verified the path is correct and in the Environment Variables. I can run both MySQL and MySQLDUMP from commandline no problems.
Posted on 05-31-2013 05:07 PM
Update: I've completely uninstalled Java JDK 7u21 and reinstalled JDK 7u17 and I can now run the JSS Database Utility. We push out JRE via WSUS, and the current version we are pushing is 7u21, which obviously updated over the top of our existing 7u17 installation.
Posted on 06-03-2013 01:37 AM
Thanks all!
The version off jdk-7u17-windows-x64 did the job.
case closed
Posted on 06-14-2013 10:34 AM
I did that part, but grabbed the wrong JCE. There are 1.7 JCE files that need to be added from this download: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Fixed it for me. I wish this was in the instructions somewhere.
Posted on 01-14-2014 11:10 AM
FWIW: I was receiving this error on JCE 1.7 as well. I had update 3 and update 45 showing up in Add/Remove Programs on Windows Server 2008 R2. I ran the uninstall for update 3, leaving all other things the same, and the upgrade from 9.21 to 9.22 completed successfully.