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 on Leopard report



I have a somewhat curious difference between the standard command-line
java command (/usr/bin/java) which cannot do 64 bit, and the fully
path-specified one in the Java 1.5 framework which can:

marc-hazewinkels-macbook-pro-15:~ marc$ java -d64 -version
Cannot run Java in 64 bit mode. Continuing in 32 bit mode.
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

marc-hazewinkels-macbook-pro-15:~ marc$
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java
-d64 -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-119, mixed mode)

This is on an erase-target-disk clean install of Leopard on a 2nd
generation Macbook Pro.

Maarten



On 10/27/07, Yong Hyeon Yoon <email@hidden> wrote:
> Okay, finally I got my Leopard DVD and installed it freshly on Core 2
> Duo hardware.
>
> $ sysctl hw.cpu64bit_capable
> hw.cpu64bit_capable: 1
>
> $/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/
> java -d64 -version
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
> b05-237)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-119, mixed mode)
>
>
> Yong
>
>
> On 26-Oct-07, at 4:43 PM, Pratik Solanki wrote:
>
> > Then that can only mean you do not have 64-bit capable hardware. Do
> >
> > $ sysctl hw.cpu64bit_capable
> >
> > Do you see 1 as the output?
> >
> > Pratik
> >
> > On Oct 26, 2007, at 4:33 PM, Tony Bigbee wrote:
> >
> >> Thanks, but that did not work for me.
> >>
> >> % /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> >> Commands/java
> >> -d64 -version
> >> Cannot run Java in 64 bit mode. Continuing in 32 bit mode.
> >> java version "1.5.0_13"
> >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
> >> b05-237)
> >> Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
> >>
> >> % uname -a
> >> Darwin ajb-lap.local 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct  9
> >> 21:35:55 PDT 2007; root:xnu-1228~1/RELEASE_I386 i386
> >>
> >>
> >> On 10/26/07, Pratik Solanki <email@hidden> wrote:
> >>> This is an unfortunate bug that we discovered too late to be fixed
> >>> for
> >>> GM. As a workaround, use the full path of java.
> >>>
> >>> $ /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> >>> Commands/
> >>> java -d64 -version
> >>>
> >>> Pratik
>  _______________________________________________
> 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
>
 _______________________________________________
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: 
 >Java on Leopard report (From: "Tony Bigbee" <email@hidden>)
 >Re: Java on Leopard report (From: Yong Hyeon Yoon <email@hidden>)
 >Re: Java on Leopard report (From: Scott Kovatch <email@hidden>)
 >Re: Java on Leopard report (From: Pratik Solanki <email@hidden>)
 >Re: Java on Leopard report (From: "Tony Bigbee" <email@hidden>)
 >Re: Java on Leopard report (From: Pratik Solanki <email@hidden>)
 >Re: Java on Leopard report (From: "Tony Bigbee" <email@hidden>)
 >Re: Java on Leopard report (From: Pratik Solanki <email@hidden>)
 >Re: Java on Leopard report (From: Yong Hyeon Yoon <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.