[
https://jira.jboss.org/jira/browse/JBTM-536?page=com.atlassian.jira.plugi...
]
Ivo Studensky commented on JBTM-536:
------------------------------------
To compile JTS with IBM JDK 1.6 two additional jars on bootclasspath are needed,
java.util.jar and sql.jar.
$ diff old/trunk/ArjunaJTS/orbportability/orbspecific.xml
new/trunk/ArjunaJTS/orbportability/orbspecific.xml
47c47
< <property
name="com.hp.mw.orbportability.orbspecific.jacorb-bootclasspath"
value="${java.home}/lib/rt.jar:${java.home}/lib/core.jar:${java.home}/lib/vm.jar:${java.home}/lib/graphics.jar:${java.home}/lib/server.jar"/>
---
<property
name="com.hp.mw.orbportability.orbspecific.jacorb-bootclasspath"
value="${java.home}/lib/rt.jar:${java.home}/lib/core.jar:${java.home}/lib/vm.jar:${java.home}/lib/graphics.jar:${java.home}/lib/server.jar:${java.home}/lib/java.util.jar:${java.home}/lib/sql.jar"/>
JTS compilation with IBM jdk1.5 fails due to "Fatal Error:
Unable to find package java.lang"
--------------------------------------------------------------------------------------------
Key: JBTM-536
URL:
https://jira.jboss.org/jira/browse/JBTM-536
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JTS
Affects Versions: 4.6.1
Environment: IBM JDK 1.5, Apache Ant 1.6.5, Linux
Reporter: Ivo Studensky
Assignee: Jonathan Halliday
Fix For: 4.6.1.CP01, 4.7.0
Compiler cannot find java.lang package in case of compiling with IBM JDK 1.5.
See the snippet of compilation output:
...
[java] com.hp.mwlabs.orbportability.orbspecific.jacorb.compile:
[java] [echo] Performing JacORB IDL compile
[java] [classpath-builder] Property 'build.jacorb.classpath' set to
classpath ...
[java] [echo] Performing JacORB orb specific compile
[java] [javac] Compiling 11 source files to
/mnt/hudson_workspace/workspace/jbossts-testsuite-matrix/jdk/ibm15/label/RHEL4_x86/trunk/ArjunaJTS/orbportability/orbspecific-build
[java] [javac] Fatal Error: Unable to find package java.lang in classpath or
bootclasspath
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira