java 1.6 on snow leopard?

Joined
Sep 7, 2009
Messages
7
Reaction score
0
Points
1
Hi all,

I have a java app (.jar file) developed on windows using java 1.6.
This app uses swingworker which is 1.6 specific feature.

Obviously this app fails to work on leopard 10.5.8 because default java is 1.5.
I then switch the default java to 1.6; the situation is even worse because app fails to start even after I modify the app not to ask for default look and feel i.e. aqua.

For some reasons, java 1.6 from apple is still not fully compatible with other JVM at least on 10.5.8. ( I tested this app on windows, linux and solaris to be working as intended).

What is the default version of java on 10.6? I am not ready to jump into it just yet and I don't have access to any machine with 10.6.

Thanks
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Here is my output for you:
Code:
~ :: java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
In fact, when I take a look at Java Preferences, the only options I have available are Java 6 64-bit and Java 6 32-bit.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top