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



Note that this isn't supported by Apple; installing the latest Java 6 developer preview will hook /usr/bin/java (etc) up to the settings in the Java Preferences application.

Karl

On Sep 12, 2006, at 7:18 AM, 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).  You can change
the default system JVM by doing this:

sudo su -
cd
/System/Library/Frameworks/JavaVM.framework/Versions
ls -l
lrwxr-xr-x 1 root wheel 5 May 9 14:41 1.3 ->
1.3.1
drwxr-xr-x   8 root  wheel  272 Feb 20  2006 1.3.1
lrwxr-xr-x   1 root  wheel    5 Feb 20  2006 1.4 ->
1.4.2
drwxr-xr-x   9 root  wheel  306 Aug  4 10:38 1.4.2
lrwxr-xr-x   1 root  wheel    5 May  9 14:41 1.5 ->
1.5.0
drwxr-xr-x   8 root  wheel  272 Feb 20  2006 1.5.0
drwxr-xr-x   6 root  wheel  204 Jul  4 17:36 A
lrwxr-xr-x   1 root  wheel    1 May  9 14:41 Current
-> A
lrwxr-xr-x   1 root  wheel    5 Aug  4 11:22
CurrentJDK -> 1.4.2
rm CurrentJDK
ln -s 1.3.1 CurrentJDK

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

Steve



From:	"Michael Macaluso" <email@hidden>
To:	"Java List" <email@hidden>
Date:	 Mon, 11 Sep 2006 17:50:56 -0400
Subject:	 JVMVersion of 1.3* not working on Intel Macs
Plain Text Attachment [ Scan and Save to Computer |
Save to Yahoo! Briefcase ]
All,
We are experiencing a rather strange problem and we
would like to know
if it is just our location or a general issue.  On our
lone MacBook Pro
machine, setting the JVMVersion in the Info.plist of
our Application
Bundle to "1.3*" or "1.3.1" still causes the 1.5 VM to
launch (1.4 and
1.5 related values work fine).  Same exact bundle on
our PPC machines,
the 1.3 VM still launches.  Can anyone else confirm
similar behavior?
If not, any ideas on how this machine might have
gotten into this state
(preferences, paths, etc.)?  If so, doesn't this
pretty much mean that
1.3 is officially dead for those of us using
application bundles?

Thanks for the help.
Michael

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
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

--

If your face were a tree, it would be different.

Homepage:
     http://homepage.mac.com/khsu/index.html

_______________________________________________
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
References: 
 >Re: JVMVersion of 1.3* not working on Intel Macs (From: Steve Rogers <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.