• 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
Re: Using JVM 1.6 on Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using JVM 1.6 on Mac OS X


  • Subject: Re: Using JVM 1.6 on Mac OS X
  • From: Pascal Robert <email@hidden>
  • Date: Tue, 21 Dec 2010 08:20:50 -0500

Hi,

You should just tell Eclipse to compile your source as 1.5-compatible so that your app works with 1.6 and 1.5. Eclipse -> Preferences -> Java -> Compiler -> check Compiler compliance level to 1.5.

> 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

 _______________________________________________
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: Giorgio Valoti <email@hidden>
References: 
 >Using JVM 1.6 on Mac OS X (From: Giorgio Valoti <email@hidden>)

  • Prev by Date: Using JVM 1.6 on Mac OS X
  • Next by Date: Re: Better key path creation
  • Previous by thread: Using JVM 1.6 on Mac OS X
  • Next by thread: Re: Using JVM 1.6 on Mac OS X
  • Index(es):
    • Date
    • Thread