JSS install on windows fails with JDK 1.7

MarkPetersonURM
New Contributor III

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?

1 ACCEPTED SOLUTION

aamjohns
Contributor II

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.

View solution in original post

13 REPLIES 13

aamjohns
Contributor II

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.

MarkPetersonURM
New Contributor III

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

aamjohns
Contributor II

So was the problem the JCE?

Thanks for the link.

MarkPetersonURM
New Contributor III

Yup, the problem was a version mismatch between JDK/JRE and JCE.

mvught
Contributor

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

kalianna
New Contributor

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

dan_kubley
New Contributor III
New Contributor III

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.

RobertHammen
Valued Contributor II

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...

kalianna
New Contributor

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.

kalianna
New Contributor

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.

mvught
Contributor

Thanks all!

The version off jdk-7u17-windows-x64 did the job.

case closed

aamjohns
Contributor II
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.

freddie_cox
Contributor III

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.