Skip to main content

Failure to install on Mac OS X 10.6.8 as documented with 7u4 b11

13 replies [Last post]
scottcarey
Offline
Joined: 2012-02-10
Points: 0

I filed the following bug, for all others with the same issue:

http://java.net/jira/browse/MACOSX_PORT-790

The core of which is the description:

Attempt to install gives "This Installer is supported only on OS X Lion (10.7.0)." when the pkg file is opened.

Documentation at http://jdk7.java.net/macportpreview/ says:

The Developer Preview should work on any Intel-based Mac, and has been tested on Mac OS X 10.6.8 and 10.7.0.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cosmicvoyager
Offline
Joined: 2012-08-18
Points: 0

Greetings,

I am also unable to install Java 7 on Snow Leopard.

Please fix!

vzapponi
Offline
Joined: 2007-12-08
Points: 0

I confirm this error. I should have Lion for JDK7

jay4smile
Offline
Joined: 2012-08-20
Points: 0

I have a same problem .
Unable to install jdk7 on Mac Machine!!

jbruni
Offline
Joined: 2012-03-01
Points: 0

Still no 32-bit support with b16.

rpattay
Offline
Joined: 2012-03-02
Points: 0

Same is true with the b14 March 01, 2012 version. However, it appears to be limited by the installer and not the payload. I was able to tweak the installer to allow installation on 10.6.8 via the following method (note that this requires XCode be installed as need to use a utility in that package):

Copy the installer to the desktop

Open installer with PackageMaker (found at /Developer/Applications/Utilities/PackageMaker)

Under Requirements window within PackageMaker, change the first line from Required to Optional

Build installer using hammer icon in toolbar (will ask you to save)

New installer should allow installtion on 10.6.x. Note that during installation the warning that only 10.7 is supported still shows up but clicking OK dismisses it and the installation continues instead of quitting like before.

After doing this, I now get the following in the terminal:

MyMac:~% java -version

java version "1.7.0_04-ea"

Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b14)

Java HotSpot(TM) 64-Bit Server VM (build 23.0-b16, mixed mode)

rpattay
Offline
Joined: 2012-03-02
Points: 0

Checking file type on the version installed this way yields the following on 10.6.8:

MyMac:~% file /usr/bin/java
/usr/bin/java: Mach-O universal binary with 3 architectures
/usr/bin/java (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/java (for architecture i386): Mach-O executable i386
/usr/bin/java (for architecture ppc7400): Mach-O executable ppc
jbruni
Offline
Joined: 2012-03-01
Points: 0

It looks like 32-bit support was dropped a few months ago, which might be also why it no longer runs on 10.6.8.

scottcarey
Offline
Joined: 2012-02-10
Points: 0

It might be related to the mess on the installer side in some way.

I have been running a 64 bit JVM on my 10.6.x (and prior 10.5.x) Mac for a long time. I could install the old preview releases and run them either way. Even if I could no longer run it in 32 bit mode, it should still install and work on 10.6.8.

There is no indication in the bug, this forum, or the mailing list that there is any decision on what will or won't be supported. This is the only peep about it on the mailing list:

http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-February/003...

jbruni
Offline
Joined: 2012-03-01
Points: 0

After installing on a 64-bit system running Lion I checked the binary:

java: Mach-O 64-bit executable x86_64

The apple-supplied java is a fat binary

java: Mach-O universal binary with 2 architectures
java (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre"> </span>Mach-O 64-bit executable x86_64
java (for architecture i386):<span class="Apple-tab-span" style="white-space:pre"> </span>Mach-O executable i386
scottcarey
Offline
Joined: 2012-02-10
Points: 0

This still fails with 7u4 b12 <edit> and 7u4 b13 </edit>

incubos
Offline
Joined: 2005-05-10
Points: 0

I confirm the problem with 7u4 b13 and Mac OS X 10.6.8. Please, fix it.

atehrani
Offline
Joined: 2004-01-14
Points: 0

I have the same issue, I am running 10.6.8 and cannot install. I am seeing the same error message

Danilo_Cezar
Offline
Joined: 2012-08-12
Points: 0

Hi there Atehrani!

Sorry disturbing. I'm new on java and I still could not find a good answer on this matter. I'm running 10.6.8 as well. Did anyone find any solution?

Thanks in advance!