• 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: JDK 1.4.2 under 10.6.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JDK 1.4.2 under 10.6.7


  • Subject: Re: JDK 1.4.2 under 10.6.7
  • From: David Avendasora <email@hidden>
  • Date: Mon, 20 Jun 2011 10:14:41 -0400

Hi Frédéric,

It is odd that you don't get 1.4 exceptions in Eclipse, because I regularly get compiler exceptions on other people's code that was compiled for 1.6 while my Compliance Level is set to 1.5.

Did you do a complete clean and rebuild of the workspace?

Dave

On Jun 15, 2011, at 8:41 AM, Frédéric JECKER wrote:

I've already done this but it seems that it only affects the generated class files (class version)
Compiler won't complain about 1.5+ method usage such as String.replace(String, String) and will compile the files "silently"
This results in errors that will only be detected on production systems running 1.4 vms

De : Pascal Robert <email@hidden>
Date : Wed, 15 Jun 2011 08:08:21 -0400
À : Frédéric JECKER <email@hidden>
Cc : WebObjects-Dev Mailing List List <email@hidden>
Objet : Re: JDK 1.4.2 under 10.6.7

It would be more easier to set Eclipse compilation compliance to Java 1.4. Preferences -> Java -> Compiler, set Compiler Compliance Level to 1.4.

Moin list,

I need to setup my workspace in order to compile my app with an 1.4 vm.
So I downloaded JavaForMacOSX10.5Update4 from Apple's website and extracted the 1.4.2 directory from the archive and copied it to the new standard java vm location (/System/Library/Java/JavaVirtualMachines).
Under eclipse I create a new "MacOSX VM" pointing to the 1.4 vm.
The problem is that after selecting the 1.4 vm in the "JRE System Libraries" part of the eclipse window each jar file is pointing on the 1.6 vm.
Any clue (I checked every single symbolic link without any success) ?

Thanks for your help

Fred

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
References: 
 >Re: JDK 1.4.2 under 10.6.7 (From: Frédéric JECKER <email@hidden>)

  • Prev by Date: Re: Re: Re: How to get each CheckBox value inside a WORepetition Bind to the same variable[SOLVED]
  • Next by Date: Why does Terminal show this for /Library/LaunchDaemons/ plists?
  • Previous by thread: Re: JDK 1.4.2 under 10.6.7 - partially solved
  • Next by thread: Re: JDK 1.4.2 under 10.6.7
  • Index(es):
    • Date
    • Thread