Until now, I've been trying very hard to keep Tapestry compatible with JDK
1.2.2 ... that is, using the JDK 1.2.2 compiler.

I'm in the middle of an upgrade to JBoss 3.0.0 but I thought I'd check teh
build process.  Here's the problem:

Compiling 10 source files to C:\Work\export\Tapestry\contrib\classes
error: Invalid class file format in
C:\work\jboss-3.0.0\lib\jboss-jmx.jar(javax/management/MBeanServer.class).
The major.minor version '47.0' is too recent for this tool to understand.
C:\Work\export\Tapestry\contrib\src\net\sf\tapestry\contrib\mckoi\McKoiDB.ja
va:32: Class javax.management.MBeanServer not found in import.
import javax.management.MBeanServer;
       ^
error: Invalid class file format in
C:\work\jboss-3.0.0\lib\jboss-jmx.jar(javax/management/ObjectName.class).
The major.minor version '47.0' is too recent for this tool to understand.
C:\Work\export\Tapestry\contrib\src\net\sf\tapestry\contrib\mckoi\McKoiDB.ja
va:33: Class javax.management.ObjectName not found in import.
import javax.management.ObjectName;
       ^
error: Invalid class file format in
C:\work\jboss-3.0.0\lib\jboss-jmx.jar(javax/management/NotificationBroadcast
erSupport.class).  The major.minor version '47.0' is too recent for this
tool to understand.
C:\Work\export\Tapestry\contrib\src\net\sf\tapestry\contrib\mckoi\McKoiDB.ja
va:0: Class javax.management.NotificationBroadcasterSupport not found in
class org.jboss.system.ServiceMBeanSupport.
//
^
6 errors

BUILD FAILED


They've been compiling using JDK 1.3 or 1.4.

It would simplify things for me greatly to simply compile using JDK 1.3 ...
perhaps with the -target 1.2 option.

People have had some problems using Tapestry with WebSphere and with certain
JVMs (JRockit, I believe).  Has that been resolved?

We may be getting to the point where if you need JDK 1.2.2, you'll need to
recompile the source code yourself.  Is that truly terrible?

Howard



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to