« Deployment on OC4J. | Main | Almost there. »

OC4J can't handle JDK 1.4?

I got the horrible "error: Invalid class file format... The major.minor version'48.0' is too recent..." error message from OC4J. So I switched from JDK1.4.0_02 back to JDK 1.3 and now Roller is actually coming up, but it can't find it's datasource. Fortunately, little Leo needs some attention because I need a break. UPDATE: Matt from the JavaLobby suggested these fixes for the JDK 1.4 problem, but I have not tried them yet:

Add this to the entry for the JSP servlet in config/global-web-application.xml:
  <init-param>
    <param-name>javaccmd</param-name>
    <param-value>/usr/java/j2sdk1.4.1/bin/javac</param-value>
  </init-param>
Add this to the end of config/server.xml:
  <compiler executable="javac"
    classpath="/usr/java/j2sdk1.4.1/jre/lib/rt.jar" />
Comments:

An easier way is to just replace the tools.jar in $OC4J_HOME/jdk/lib with the tools.jar of your 1.4x JDK and you're done.

Posted by mike on September 15, 2003 at 05:21 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« Deployment on OC4J. | Main | Almost there. »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Roller, some may be related to this entry.