Results 1 to 4 of 4
  1. #1
    piyu.sha is offline Member
    Join Date
    Oct 2008
    Posts
    31
    Rep Power
    0

    Question [SOLVED] Backporting Struts 2 to JDK1.4

    I am using Struts 2 and want to run Struts 2 on JDK 1.4.
    When I searched thru the Struts 2 site it shows me JDK 1.4 jar files to download. But even after using those jar files my application is not working on JDK 1.4. I am getting invalid class version errors.

    I am not sure what is the problem, but looks like some jars are still compiled in JDK 1.5.

    I did not find much help on Struts 2 site on this, any help whould be appreciated.
    Live life king size
    [Lucene]

  2. #2
    kzvi.kzvi.1 is offline Member
    Join Date
    Oct 2008
    Location
    US
    Posts
    58
    Rep Power
    0

    Default

    If you want to use a recent framework, why not use a more recent JRE, like Java 5? There are interesting other web frameworks -like Stripes- that require Java 5.

    ____________________________________________
    Software Wiki | Interview FAQs | Lucene Search | Oracle | ORM | Struts2 | Job Seeker
    Have fun....
    JAVA FAQs

  3. #3
    piyu.sha is offline Member
    Join Date
    Oct 2008
    Posts
    31
    Rep Power
    0

    Default

    We have an existing application where we need to add some more ndependant features ... and existing app is deployed on JDK 1.4. It will be more efforts to move whole app to JDK1.5, and I am not the one who can take this decision of moving to JDK1.5 so thought of using 1.4 compatible framework....any good options smilar to struts 2 in JDK 1.4
    Live life king size
    [Lucene]

  4. #4
    Join Date
    Oct 2008
    Posts
    68
    Rep Power
    0

    Default

    Struts 2 backporting package contains the core jars, If you require the plugins also then you need to translate the plugin jars to JDK 1.4 format. This can be done using Retrotranslator.

    This is the link [Backporting Struts 2 ] which demonstrates how you can Backport Struts 2 Dependancies to JDK 1.4 or JDK 1.3 using retrotranslation

    ____________________________________________
    Priya,
    Cooking is Fun | Eat Healthy Stay Fit | Sweets | Raita | Bread | Dal

Similar Threads

  1. Difference between jdk1.5 and jdk1.6
    By pradnya in forum New To Java
    Replies: 10
    Last Post: 12-08-2010, 12:52 PM
  2. What is JDK1.5?
    By pawankumarom in forum New To Java
    Replies: 2
    Last Post: 09-05-2008, 08:41 AM
  3. possible feature of jdk1.7
    By sikandar in forum Advanced Java
    Replies: 2
    Last Post: 09-05-2008, 08:21 AM
  4. Replies: 1
    Last Post: 05-27-2008, 01:21 PM
  5. help with JSF, MVC, Struts
    By christina in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •