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:
- What Java version comes with Mac OS X 10.6 ?
- What Java version comes with Mac OS X 10.5 ?
- 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.
精彩评论