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: JVMVersion of 1.3* not working on Intel Macs



Steve Rogers wrote:

>To control the JVM launched from a command line
>application (the info.plist only controls applets and
>java apps launched from a browser).

The Java Preferences setting for applications also controls double-clicked
jars.


>Then your default JDK will be 1.3.1 when running
>"java" on a command line.

This would be a really bad idea on any Intel-based Mac.  The 1.3.1 JVM only
has PowerPC code, so is always emulated by Rosetta.

Before blithely changing one's system-wide default JVM to 1.3.1, I strongly
recommend testing it first, using a shell command alias, or by executing
the 1.3 'java' command directly:

  /System/Library/Frameworks/JavaVM.framework/Versions/1.3/Commands/java

Confirm it's being emulated by using Activity Monitor to display the "Kind"
column.  Then evaluate the speed and memory consumption of the emulated 1.3
JVM before making an unsupported global change.

  -- 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.