Re: JDK 1.4.2 under 10.6.7
Re: JDK 1.4.2 under 10.6.7
- Subject: Re: JDK 1.4.2 under 10.6.7
- From: Frédéric JECKER <email@hidden>
- Date: Wed, 15 Jun 2011 14:41:28 +0200
- Thread-topic: JDK 1.4.2 under 10.6.7
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