Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JDK 5.0 on OS X 10.4
JDK 5.0 on OS X 10.4 [message #203662] Mon, 16 May 2005 16:00 Go to next message
Eclipse UserFriend
Originally posted by: mail-list.bluequartz.net

How do I tell Eclipse to start up using JDK 5.0 on OS X 10.4?

Thanks
Mike Jackson
Re: JDK 5.0 on OS X 10.4 [message #204072 is a reply to message #203662] Wed, 18 May 2005 12:10 Go to previous message
Eclipse UserFriend
Originally posted by: darld.domain.dom

Mike wrote:
> How do I tell Eclipse to start up using JDK 5.0 on OS X 10.4?
>
> Thanks
> Mike Jackson
>

Howdy Mike,

In the past Eclipse has used jdk1.3 for itself and 1.4 for compiling and
syntax/style (not sure why) - I don't have any info on how eclipse is
currently working (I'm using 3.1M7 and it seems ok - good actually) I
have done the following steps:

Run /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app

Wasn't that fun? BUT, it didn't actaully do anything as far as I can
tell so its time to manually mung the system.

You need to manually link the java1.5 package to the "CurrentJDK".

In a Terminal window:
Check which jmv you're using:
[host:~] mike% java -version

[host:~] mike% cd /System/Library/Frameworks/JavaVM.framework/Versions/

Take a good look here to see how things are currently linked (you may
want to go back to java1.4) maybe save this output somewhere.
[host:~] mike% ls -al

Link java1.5 to the current jdk
[host:~] sudo ln -shf 1.5.0 CurrentJDK

Check which jmv you're using:
[host:~] mike% java -version
java version "1.5.0_02"


Then you have to go change a few things in Eclipse
Previous Topic:launch configs in CVS
Next Topic:Can't debug source code in M7
Goto Forum:
  


Current Time: Tue Jul 22 15:35:07 EDT 2025

Powered by FUDForum. Page generated in 0.05647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top