• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using JVM 1.6 on Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using JVM 1.6 on Mac OS X


  • Subject: Using JVM 1.6 on Mac OS X
  • From: Giorgio Valoti <email@hidden>
  • Date: Tue, 21 Dec 2010 10:11:16 +0100

Hi,
I’m trying to deploy an application on a Mac OS X but I have a problem with the jvm version. As a regular I get the 1.6 version:

$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-9M3263)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)

as root I get the 1.5 one:

java version "1.5.0_26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03-376-9M3263)
Java HotSpot(TM) Client VM (build 1.5.0_26-156, mixed mode)

unless I explicitly set the JAVA_HOME env variable:

export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-9M3263)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)

However, I don’t know (or probably I don’t remember) if I can set the JAVA_HOME env variable using JavaMonitor. Did anybody find a way to use the JVM 1.6?

Thank you in advance
--
Giorgio Valoti

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using JVM 1.6 on Mac OS X
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: what will we miss about Max OS X?
  • Next by Date: Re: Using JVM 1.6 on Mac OS X
  • Previous by thread: Re: Community membership
  • Next by thread: Re: Using JVM 1.6 on Mac OS X
  • Index(es):
    • Date
    • Thread