Re: Java 5 and WO 5.3.3.? (was Re: Unsupported major.minor version 49.0?)

From: Chuck Hill (chil..lobal-village.net)
Date: Sat May 19 2007 - 18:46:42 EDT

  • Next message: Lachlan Deck (JIRA): "[OS-JIRA] Created: (WOL-443) Entity Modeler: missing validation for should-be inherited non-class members."

    On May 19, 2007, at 1:54 PM, Marc Respass wrote:

    > Thanks Chuck. I think that's what's happening too. Maybe the older
    > version of woproject didn't require 1.5 so I wasn't getting the error.

    Yes, that was a fairly recent change.

    > When you say that Java 5 is quite safe to use, do you mean for
    > running your WO apps? I thought that WebObjects 5.3 was not
    > qualified for Java 5 but I admit that I haven't been paying
    > attention. It looks like 5.3.3 has no known issues under Java 5.
    > What are folks running these days? I'd love to move to Java 5.

    We develop and deploy under Java 5. Most, if not all, of our clients
    do too. Many, if not most, of the people on this list are using Java
    5. Come on it, the water is fine.

    Chuck

    > On May 17, 2007, at 5:27 PM, Chuck Hill wrote:
    >
    >> First, Java 5 is quite safe to use. The error below looks like it
    >> is forking Ant off in a 1.4 JVM. woproject needs 1.5.
    >>
    >> Chuck
    >>
    >>
    >> On May 17, 2007, at 2:20 PM, Marc Respass wrote:
    >>
    >>> Hi all,
    >>>
    >>> I recently updated WOLips to to the latest nightly (4016) and I
    >>> can no longer run ant scripts within Eclipse. I can run the
    >>> script fine from Terminal but running in Eclipse gets a problem
    >>> with woproject. Here's the error.
    >>>
    >>> BUILD FAILED
    >>> java.lang.UnsupportedClassVersionError: org/objectstyle/woproject/
    >>> ant/WOApplication (Unsupported major.minor version 49.0)
    >>>
    >>> Is there something I've done wrong with my configuration? It used
    >>> to work in previous versions of WOLips. I run Eclipse in Java 5
    >>> but build my apps to Java 1.4.
    >>>
    >>> Thanks a lot
    >>> Marc
    >>>
    >>
    >> --
    >>
    >> Practical WebObjects - for developers who want to increase their
    >> overall knowledge of WebObjects or who are trying to solve
    >> specific problems.
    >> http://www.global-village.net/products/practical_webobjects
    >>
    >>
    >>
    >>
    >>
    >
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Sat May 19 2007 - 18:47:14 EDT