JRuby and Java version

I am trying to deploy jruby (verson 1.6.4) web application on Websphere
6.0.2.9. This websphere instance is using jdk 1.4 version. My question
is whether jruby 1.6.4 works with jdk version 1.4 or not. Do I need jdk
1.5 for it. Can I use any ealier verison of jruby to work with jdk
version 1.4?

If I deploy my app in current enviornment (jruby 1.6.4, Websphere
6.0.2.9 and jdk 1.4 ) on AIX machine, I get the following error when i
navigate to home page:

Error 500: java.lang.LinkageError: LinkageError while defining class:
org.jruby.rack.RackServlet Could not be defined due to:
org/jruby/rack/RackServlet (Unsupported major.minor version 49.0) This
is often caused by having a class defined at multiple locations within
the classloader hierarchy.

and it makes me believe that I need jdk > 1.4

thanks for the help!

Regards,
Farooq

JRuby does only run on Java 1.5 or higher. We stopped supporting 1.4
about 3 years ago I think. So you will need to upgrade Java if you
want to use JRuby.

-Tom

On Fri, Sep 16, 2011 at 11:17 AM, Muhammad F. [email protected]
wrote:

Error 500: java.lang.LinkageError: LinkageError while defining class:
thanks for the help!
http://xircles.codehaus.org/manage_email


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]