Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Java 1.6

Does xCode support JDK 1.6??? I can't seem to find a download anywhere... I am trying to compile a program for class and I am using the comparable interface and I get an error that says "Generics are not supported in -source 1.3".

MacBook Pro, Mac OS X (10.4.9)

Posted on Sep 14, 2007 1:55 PM

Reply
75 replies

Sep 16, 2007 3:03 PM in response to ciigma

This is actually two questions in one 😉

1) You can download Java 1.6 from the Apple Developer Connection site. It's called Java SE 6.0 Release 1 Developer Preview 6. You need to sign up for a free developer account here: connect.apple.com

2) For some incomprehensible reason, Xcode defaults to Java 1.3. You need to switch it in your project by clicking on Project > Edit active target, then select Settings > Simple View > Java Compiler Settings. Set Target Vm and Source Version to the version of your choice.

Bob

Oct 26, 2007 7:12 PM in response to GalenRhodes

The problem I have is that Apple promised to provide better support for Java. Just a year ago they said they were committed to keeping a better pace with the releases. When they came out with a preview version of Java 6 I was elated since Java 1.6 wasn't out yet. But nothing out of them since then. Also the preview version has some major bugs. It has really bad painting issues. I wish Apple would just let Java on the Mac go open source as well, but they are so freakin' anal I don't know if it will ever happen. Even Gosling has given up on the Mac... Unfortunately Java developers are 2nd class citizens as far as Apple is concerned. I actually purchased Leopard in anticipation of getting Java 6 with it. I do believe I have made my last purchase from Apple. This is one fan boy who is getting off of the wagon...

Oct 26, 2007 8:16 PM in response to champt0n

Well, lack of Java 1.6 support is a pretty sad reason to cut off your nose to spite your face. Where are you gonna go? Windows? Linux? I'd rather stay with Mac OS X and Java 1.5 than switch to that abomination called Windows and I just don't have the time or patience to spend the next six months tweaking Linux to get it to run only half as well as Leopard.

But all of this is really just people with a lot of impatience. Java 1.6 has only been officially released since this summer. And we don't know why they've delayed the release. Just like we don't know why they suddenly yanked Network support with Time Machine. All we can do is speculate. Maybe they ran into problems that caused it's delay.

But I am pretty sure that Apple wouldn't spend the time and money that they did developing the R6 and R7 builds of Java 1.6 only to abandon it.

Oct 28, 2007 10:01 AM in response to SteveGoyette

Well, now THAT's a kick in the teeth. The 1.6 preview only installs on Tiger 😟

Anyone where I can get 1.6 for Leopard? I'm betting it doesn't exist and that's not good. I just wiped Ubuntu off of my Mac Mini so that I could install Leopard (I had assumed that the 1.6 preview would install). sigh

Looks like I'm gonna have to either re-install Ubuntu or setup a VM 😟

Java 1.6

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.