We currently do not suggest using JDK6 with JBoss as it is not certified. Our plans are to start officially supporting JBoss running on JDK6 when JBoss 5.0 is released.
JBoss 4.2.x
Compiling with JDK6 and up
JDK 6 and OpenJDK use the JDBC 3.0 which does not allow JBoss AS 4.2.x to build out of the box since it uses the JDBC 2.0 API used in JDK <=5.
Lillian Angel has produced a patch that can be applied to add the missing stubs in JBoss to make it build:
Building testsuite
You will need to install ant 1.7.0 to build the testsuite
Note:
Applying this patch will disallow you from building the source on JDK 5 or older since JDBC 3.0 has added classes which dont exist in JDBC 2.0!
This patch is only needed for building with JDK 6. You can build the sources with JDK 5 or older without the patch applied and then run using JDK 6
Comments