Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard System 10.6
Snow Leopard only hintMany applications that relied on Java 1.4.2 and Java 1.5 stopped working in Snow Leopard, because Apple removed these Java versions from the system. Upgrading to the lastest versions of many applications usually will solve the problem. However, your favorite application may not have a Snow Leopard compatible upgrade. For these applications, re-installing Java 1.4.2 and/or Java 1.5 is necessary. Sometimes, even this is not enough. As an example, Apple also removed the Cocoa-Java bridge from Snow Leopard, which some Java applications such as PDFLab depended on. Reinstalling the Cocoa-Java bridge along with the proper version of Java is necessary to re-enable these applications on Snow Leopard. For example, getting PDFLab working again in Snow Leopard requires reinstalling Java 1.4.2 and the Cocoa-Java bridge. Read on for a how-to...

Installing Java 1.4.2 and/or Java 1.5 on snow Leopard:

The following is based on two blog posts: Using Java 1.5 and Java 1.4 on Snow Leopard and Installing Java 1.5 on Snow Leopard:
  1. Download the official Java package from Apple: Java for Mac OS X 10.5 Update 4, dated June 15, 2009.
  2. Use the excellent shareware utility Pacifist to open the downloaded JavaForMacOSX10.5Update4.pkg file.
  3. First use Finder to go to System » Library » Frameworks » JavaVM.framework » Versions and delete the two aliases (symlinks) 1.5 and 1.5.0. Donít skip this step, because otherwise the extraction will follow the symlinks and overwrite the contents of the 1.6.0 folder, oops!
  4. In Pacifist, drill down into Contents » System » Library » Frameworks » JavaVM.framework » Versions.
  5. In Pacifist, select 1.5 and 1.5.0, Control-click on the selection, and chose Install to Default Location from the pop-up menu.
  6. In the instructions above, the same applies for version 1.4.2.
Installing the Cocoa-Java Bridge:

This is based on Getting back the Cocoa-Java bridge in Snow Leopard:

Copy from a working Leopard (10.5) installation the following folders:
  1. the com directory in /System/Library/Java
  2. the eight files ending with .dylib in /usr/lib/java (four of these are regular files, the other four are symlinks; if you prefer, you can copy just the files and recreate the symlinks by hand).
[robg adds: I haven't tested this one.]
    •    
  • Currently 3.27 / 5
  You rated: 4 / 5 (26 votes cast)
 
[67,909 views]  

10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard | 8 comments | Create New Account
Click here to return to the '10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: CJYetman on Jan 25, '10 10:00:36AM

In case you need a specific version... or below a certain version of Java, here are Apple's Java for 10.5 Updates...

Java for Mac OS X 10.5 Update 1
April 29, 2008
- adds Java SE 6 version 1.6.0_05
http://support.apple.com/kb/DL70
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=18844&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update1.dmg
http://support.apple.com/kb/HT1856
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update1.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=18844&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update1.dmg


Java for Mac OS X 10.5 Update 2
September 24, 2008
- Java SE 6 to version 1.6.0_07
- J2SE 5.0 to version 1.5.0_16
- J2SE 1.4.2 to 1.4.2_18
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update2.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=21277&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update2.dmg
http://support.apple.com/kb/HT2733
http://support.apple.com/kb/HT3179


Java for Mac OS X 10.5 Update 3
February 12, 2009
- improvements to the security and compatibility of Java on Mac OS X 10.5.6 and later
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update3.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=23594&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update3.dmg
http://support.apple.com/kb/HT3374
http://support.apple.com/kb/HT3437


Java for Mac OS X 10.5 Update 4
June 15, 2009
- Java SE 6 to version 1.6.0_13
- J2SE 5.0 to version 1.5.0_19
- J2SE 1.4.2 to 1.4.2_21
http://support.apple.com/kb/DL848
http://support.apple.com/downloads/DL848/en_US/JavaForMacOSX10.5Update4.dmg
http://support.apple.com/kb/HT3581
http://support.apple.com/kb/HT3632
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update4.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=25349&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update4.dmg


Java for Mac OS X 10.5 Update 5
September 03, 2009
- Java SE 6 to version 1.6.0_15
- J2SE 5.0 to version 1.5.0_20
- J2SE 1.4.2 to 1.4.2_22
http://support.apple.com/kb/DL924
http://support.apple.com/downloads/DL924/en_US/JavaForMacOSX10.5Update5.dmg
http://support.apple.com/kb/HT3649
http://support.apple.com/kb/HT3851
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update5.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=26164&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update5.dmg


Java for Mac OS X 10.5 Update 6
December 03, 2009
- J2SE 5.0 to 1.5.0_22
- Java SE 6 to 1.6.0_17
- J2SE 1.4.2 is no longer being updated to fix bugs or security issues and is therefore disabled by default in this update
http://support.apple.com/kb/DL971
http://support.apple.com/downloads/DL971/en_US/JavaForMacOSX10.5Update6.dmg
http://support.apple.com/kb/HT3891
http://support.apple.com/kb/HT3970
http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update6.html
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=27153&cat=59&platform=osx&method=sa/JavaForMacOSX10.5Update6.dmg



[ Reply to This | # ]
Been waiting for this solution...
Authored by: dlf on Jan 25, '10 10:23:57AM

Works! Got the old 1.4.2 java applet smooth text feature back and it is much more readable now in Snow Leopard. Thanks much.



[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: gmichels on Jan 26, '10 05:47:02AM
Ok java 1.4 is working however I have a Java Web Start app which is failing to start due to the following error:
java.lang.NoClassDefFoundError: java/security/CodeSigner
	at com.sun.javaws.security.SigningInfo.setContains(SigningInfo.java:117)
	at com.sun.javaws.security.SigningInfo.overlapChainLists(SigningInfo.java:140)
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(LaunchDownload.java:1407)
	at com.sun.javaws.LaunchDownload.checkSignedResources(LaunchDownload.java:1170)
	at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:1033)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:309)
	at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:186)
	at com.sun.javaws.Launcher.launch(Launcher.java:107)
	at com.sun.javaws.Main.launchApp(Main.java:405)
	at com.sun.javaws.Main.continueInSecureThread(Main.java:252)
	at com.sun.javaws.Main$1.run(Main.java:111)
	at java.lang.Thread.run(Thread.java:552)
Any ideas on how to get this working? Thanks

[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: trekd on Feb 05, '10 07:10:57AM

did you solve this problem?
it's drives me crazy. I'm trying to run my Appworx client, with no success



[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: gmichels on Feb 05, '10 07:18:14AM

I found out it's a bug introduced in Java 1.6.0_16 and fixed only on 1.6.0_18. So we Apple users need to wait for an update from them.



[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: jc_helary on Mar 27, '10 04:54:22AM

I've reinstalled the Java-Cocoa bridge on a 10.6.2 machine and NeoOffice was not able to launch properly. So be careful when you try this, there might be applications that suffer from the new settings.

In some cases it is important to restore the Java-Cocoa bridge for some specific apps but I would not abuse that.

On the other hand, reinstalling Java 1.5 seemed relatively harmless. It is necessary to reinstall again after each OS or Java upgrade but it does not seem to have harmful side effects.



[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: biotechguy on Aug 31, '11 05:41:33PM

Is it possible to restore Java 1.4 or 1.5 with OSX Lion (10.7.1)? Can these previous versions be run concurrently with Java 1.6?



[ Reply to This | # ]
10.6: Re-enable Java 1.4.2 and Java 1.5 apps in Snow Leopard
Authored by: asiful on Oct 07, '11 10:40:16PM

Hi, I don't have any leopard installation. Can anyone send or point me the leopard files? Where can I get those files if I don't have a leopard disk or installation?



[ Reply to This | # ]