• 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: How to target older ava
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to target older ava


  • Subject: Re: How to target older ava
  • From: Maik Musall <email@hidden>
  • Date: Tue, 02 Oct 2012 22:36:07 +0200

Hi,

forget my reply to your original mail - I didn't see that you used the -target 1.4 switch and misunderstood that you wanted to actually run Java 6 class files on 1.4.

Maik



Am 02.10.2012 um 22:29 schrieb doug andrews <email@hidden>:

> Never mind.  I've got it figured out.  I had some Wonder stuff in there, which I don't think is compatible with java 1.4.
>
>
>
> On Oct 2, 2012, at 3:23 PM, doug andrews wrote:
>
>> Is it possible to deploy an application compiled with java 6 on a machine running java 1.4?
>> I have both Java 6 and 4 on my machine.
>> I have a test application created using the Eclipse ant build while running java 6.
>> I force the app to use java 1.4 when deployed by modifying the MacOS class path file:
>>
>> # JVM  == /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2_22/Commands/java
>>
>> When I run, I get this error:
>> java.lang.UnsupportedClassVersionError: com/webobjects/appserver/WOApplication (Unsupported major.minor version 49.0)
>>
>> My java 6 version is:
>> java version "1.6.0_29"
>> Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11E53)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
>>
>> My java 4 version is:
>> java version "1.4.2_22"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_22-b02-329)
>> Java HotSpot(TM) Client VM (build 1.4.2-92, mixed mode)
>>
>> I've tried modifying the build.xml "wocomplile" argument like this:
>> <wocompile srcdir="Sources" target="1.4" source="1.4" destdir="bin" fork="yes" memoryMaximumSize="256m" debug="yes">
>> but this does not seem to work.
>>
>> I'm pretty sure this is possible, but cannot figure out how.
>>
>>
>>
>>
>> _______________________________________________
>> 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


 _______________________________________________
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: 
 >How to target older ava (From: doug andrews <email@hidden>)
 >Re: How to target older ava (From: doug andrews <email@hidden>)

  • Prev by Date: Re: How to target older ava
  • Next by Date: Localizable.strings
  • Previous by thread: Re: How to target older ava
  • Next by thread: Re: How to target older ava
  • Index(es):
    • Date
    • Thread