• Java Runtime Installation failure – Updated for JRE Update 26

    June 30, 2011

    XenApp

    Java Runtime Installation Failure (Error 1330)

    Update:  June 30, 2011.  Oracle has changed some of the screens for JRE Update 26.  This article has been updated at the bottom of the original article.

    When trying to install the Java Runtime Environment (JRE) 6 Update 24 at a client site recently, I kept getting the error below (Figure 1):

    Figure 1

    This is recorded in the Application Event Log as:

    Product: Java(TM) 6 Update 24 — Error 1330.A file that is required cannot be installed because the cabinet file M:\Documents and Settings\_cwebster\Application Data\Sun\Java\jre1.6.0_24\Data1.cab has an invalid digital signature.  This may indicate that the cabinet file is corrupt.  Error 24581 was returned by WinVerifyTrust.

    My first thought was that the certificate revocation check might be causing the problem, but, as you will see below, the servers are configured not to check for certificate revocation (Figure 2).

    Figure 2

    I found a discussion of this error at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6887806 .  The problem is that Data1.cab is digitally signed and the servers I am trying to update are secured servers that do not have Internet access.  Because these servers have no Internet access, they cannot verify the digital signature of Data1.cab with VeriSign.  Following the instructions in the Work Around section, I went to https://knowledge.symantec.com/support/ssl-certificates-support/index?page=content&id=SO26896&pmv=print&actp=PRINT&viewlocale=en_US and created the two .cer certificate files.  I then followed the link “If you enrolled for your certificate between May 17, 2009 and October 10th, 2010 Click here for your Intermediate CA.”  This gave me a total of three .cer certificate files.  I right-clicked each file and selected Install Certificate.  Even after all this, JRE 6 Update 24 refused to install.

    In a past life, I was a software developer who dabbled in Java.  I remembered that the Java Development Kit includes a public version of the JRE that does not require certificate verification.  Performing a search for java development kit led me to http://www.oracle.com/technetwork/java/javase/downloads/index.html .  Click on JDK (Figure 3).

    Figure 3

    Select Windows for the platform, agree to the license agreement and click Continue (Figure 4).

    Figure 4

    Click the link for Java SE Development Kit (Figure 5).

    Figure 5

    Select Run (Figure 6).

    Figure 6

    Select Run (Figure 7).

    Figure 7

    Click Next (Figure 8).

    Figure 8

    STOP!

    Do not continue past this point but leave the installation wizard running.  On the Windows XP Professional PC I am on, I now go to c:\Documents and Settings\UserName\Application Data\Sun\Java\jdk1.6.0_24 and double-click sj160240.cab (Figure 9).

    Note:  On my Windows 7 Professional PC, the location is c:\users\UserName\AppData\LocalLow\Sun\Java\jdk1.6.0_24

    Figure 9

    Right-click jre.msi and select Extract (Figure 10).

    Figure 10

    Save jre.msi to a location of your choice.  You now have a version of the JRE that can be installed on a computer without an Internet connection.  You can now cancel the Java Development Kit installation.

    Update for JRE Update 26

    In a past life, I was a software developer who dabbled in Java.  I remembered that the Java Development Kit includes a public version of the JRE that does not require certificate verification.  Performing a search for java development kit led me to http://www.oracle.com/technetwork/java/javase/downloads/index.html .  Click on JDK Download (Figure 11).

    Figure 11

    Select Accept License Agreement (Figure 12).

    Figure 12

    Select the appropriate Windows platform (Figure 13).  I am running Windows 7 Ultimate 64-bit so I will select jdk-6u26-windows-x64.exe.

    Figure 13

    I am running Internet Explorer 9.  Click Run (Figure 14).

    Note:  Select the option for your Internet browser to Open or Run your selected JDK file.

    Figure 14

    Click Next (Figure 15).

    Figure 15

    You should be at the following screen (Figure 16).

    Figure 16

    STOP!

    Do not continue past this point but leave the installation wizard running.  On my Windows 7 Ultimate x64 PC, I now go to c:\users\UserName\AppData\LocalLow\Sun\Java\jdk1.6.0_26_x64 and double-click sj160260.cab (Figure 17).

    Figure 17

    Right-click jre.msi and select Extract (Figure 18).

    Figure 18

    Save jre.msi to a location of your choice.  You now have a version of the JRE that can be installed on a computer without an Internet connection.  You can now cancel the Java Development Kit installation.

    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    No comments yet.

    Leave a Reply