JDK under Mac OS X

Hi, I use IDEA for Mac OS X, but I wonder where to find the proper JDK path. I tried /usr but I does not seem to work.

Thanks in advance

4 comments
Comment actions Permalink

For 1.4.x
/System/Library/Frameworks/JavaVM.framework/Home

0
Comment actions Permalink

If you get a terminal window - you should be able to type

type java

and that will tell you where

"Celvin" <KurtPaprika@gmx.net> wrote in message
news:15145055.1053282482621.JavaMail.jrun@is.intellij.net...

Hi, I use IDEA for Mac OS X, but I wonder where to find the proper JDK

path. I tried /usr but I does not seem to work.
>

Thanks in advance



0
Comment actions Permalink

For 1.4.x
/System/Library/Frameworks/JavaVM.framework/Home


I tried this, but java.* doesn't seem to be in there... any idea what I'm dong wrong?

0
Comment actions Permalink

It's better to use the alias at /Library/Java/Home. This is the "official" way to refer to java-home on Mac OSX.

0

Please sign in to leave a comment.