开发者

What Java version comes with Mac OS X?

I have created a Java Swing application using JDK 1.6. Many customers are asking if my application can run on Mac OS X 10.5 and 10.6, so I wanted to add this question to my website's FAQs section, and I wanted an accurate answer. I am trying to answer this:

  1. What Java version comes with Mac OS X 10.6 ?
  2. What Java version comes with Mac OS X 10.5 ?
  3. I know Mac OSX 10.5 comes with a Java version less than 1.6, so is there a开发者_Python百科 simple way to update it to 1.6 so my program can run fine on it?


10.6.7 has:

jonatan:~ $ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

for 10.5 here is the update

http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4

This release updates Java SE 6 to version 1.6.0_13, J2SE 5.0 to version 1.5.0_19, and J2SE 1.4.2 to 1.4.2_21.

The update process is easy - the user should run: "Software Update..." from the "Apple" menu.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜