Re: Unsupported major.minor version 49.0?

From: Marc Respass (marcrespas..ac.com)
Date: Thu Jul 06 2006 - 10:14:12 EDT

  • Next message: Mike Schrag: "Re: Unsupported major.minor version 49.0?"

    Uli,

    This is correct. I did *not* switch to Java 1.5. I build on my server
    using ant. I use the same build file that WOLips provides, I only add
    a compile target. My server is Java 1.4 by default but it has 1.5 on
    it. When I replaced my server's woproject.jar with the one from
    WOLips 2.0.0.151, I got build errors when building with Java 1.4 so I
    tried 1.5 and that worked and that's why I asked.

    My solution was to switch to an older woproject, 2.0.0.115, which did
    work under Java 1.4.

    Thanks for the tip on the build.properties. I'm going to try that.
    Our apps do run under Java 1.4 and I need to target 1.4 but I run
    Java 1.5 on my workstation for everything else.

    Thanks a lot
    Marc

    On Jul 6, 2006, at 5:36 AM, Ulrich Köster wrote:

    > I thought mike is talking about "our" buildserver where we build
    > the releases of woproject and wolips. woproject and wolips are
    > build with ant for java 1.4.
    >
    > Mike has to do nothing because the buildscripts are fine. For
    > instance Mike added some stuff lately that was 1.5 only. We
    > recognized that immediately because the build failed.
    >
    > Marc has to adjust his build to make sure that it builds for 1.4.
    >
    > Please correct me if I'm wrong.
    >
    > Uli
    > Am 06.07.2006 um 10:44 schrieb Anjo Krank:
    >
    >> This is not a solution for those that want to build on a machine
    >> where 1.4 is the default, and as long as WO isn't qualified for
    >> 1.5, there will be quite a few of those...
    >>
    >> Cheers, Anjo
    >>
    >> Am 06.07.2006 um 10:40 schrieb Ulrich Köster:
    >>
    >>> Moin Mike,
    >>>
    >>> no need to change anything on the buildserver. Marc switched to 1.5.
    >>>
    >>> Uli
    >>> Am 06.07.2006 um 03:49 schrieb Mike Schrag:
    >>>
    >>>> The build server probably got updated to Java 1.5 which would
    >>>> have changed the default VM mapping ... WOLips should be 1.4
    >>>> compliant for everything. I'll have to take a look at it
    >>>> tomorrow morning and set the VM to 1.4 explicitly.
    >>>>
    >>>> ms
    >>>>
    >>>> On Jul 5, 2006, at 9:00 PM, Marc Respass wrote:
    >>>>
    >>>>> FWIW, I still have woproject from 2.0.0.115 and that works. I
    >>>>> would like to know if there's a Java 5 requirement and, if so,
    >>>>> is it ok to stick with 2.0.0.115 or is there a later version
    >>>>> that runs in Java 1.4 that I should get?
    >>>>>
    >>>>> Thanks a lot
    >>>>> Marc
    >>>>>
    >>>>> On Jul 5, 2006, at 8:55 PM, Marc Respass wrote:
    >>>>>
    >>>>>> Hi all,
    >>>>>>
    >>>>>> Is there some Java 5 requirement going on? My server is
    >>>>>> running Mac OS X 10.4.x and Java 1.4.2_09. I copied up the
    >>>>>> latest woproject.jar and now when I compile I get the
    >>>>>> following error
    >>>>>>
    >>>>>> java.lang.UnsupportedClassVersionError: gov/maine/oit/mfasis/
    >>>>>> wo/Application (Unsupported major.minor version 49.0)
    >>>>>>
    >>>>>> I modified ant to use Java 5 and it compiled fine but now my
    >>>>>> app does run (same error) because I'm using Java 1.4
    >>>>>>
    >>>>>> Since WebObjects does no support Java 5, I am sticking with
    >>>>>> 1.4 for deployment. My workstation runs Java 5 but Eclipse
    >>>>>> compiles using 1.4.
    >>>>>>
    >>>>>> Marc
    >>>>>
    >>>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Thu Jul 06 2006 - 10:14:32 EDT