Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java SE 6 and 32-bit applications



Piotr Rychlik wrote:

>My Java program was compiled to run on 32-bit architecture.
>I set the 'Target VM Version' to 1.4+. Will my application run on the
>machine with Java 6 installed?

At last, a technical question.
  Yes, it should continue to use 1.5.

In general, I think you have to explicitly ask for either 64-bit or Java 6.
When Leopard came out, there were a number of Info.plist keys that were
added to support options for running 64-bit.

At this point I was hoping to point to a URL for the release notes of Java
on Leopard where these new Info.plist keys were described, but it looks
like the just-release Update 1 overwrote it.  In particular, there should
be two 10.5 Leopard release notes here:
  <http://developer.apple.com/releasenotes/Java/index-date.html>

but there's only the one for Update 1 (i.e. Java 6).

Another possibility is that I'm misremembering where I read about the
Info.plist keys, and it wasn't in release notes at all.  I hope someone can
correct me if I'm wrong, or the release notes if they're wrong.

In the meantime, the Update 1 release notes do say that 32-bit Java 5 will
continue to be used when 64-bit can't run.  This is one of the reasons
there's a prioritized list in Java Preferences, rather than just an
exclusive selection like a radio-button group.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.