Java and RDP 7.6 vs. RTCp 2.0.0.2ifix1
![](http://jazz.net/_images/myphoto/0cbe2e2148557f01d516c3c16d06e82a.jpg)
I can't find anyplace to create either an RDP or RTCp Defect WI (hint, hint), so I'll report it here...
RDP 7.6 comes with a 1.6/6.0 JDK. When you ask it to export an ant build file, it writes target=1.6 and source=1.6 properties to the build file.
By default, the IBM i build subsystem seems to use the "classic" 1.5 JDK (the latest I have installed on the IBM i). The build blows up when faced with the target=1.6 property. Putting an ant.build.javac.target=1.5 in the properties page of the Build definition doesn't override the build file, nor does a -D on the ant command line.
You probably ought to require a 1.6/6.0 JDK for the IBM i build subsystem for whatever versions (RDP 7.6 and RTCp 2.0.0.2ifix1 for sure, but there could be more combinations) have this incompatibility.
In the meantime, a couple of work-arounds are:
And, there might be easier ways, but it's late...
RDP 7.6 comes with a 1.6/6.0 JDK. When you ask it to export an ant build file, it writes target=1.6 and source=1.6 properties to the build file.
By default, the IBM i build subsystem seems to use the "classic" 1.5 JDK (the latest I have installed on the IBM i). The build blows up when faced with the target=1.6 property. Putting an ant.build.javac.target=1.5 in the properties page of the Build definition doesn't override the build file, nor does a -D on the ant command line.
You probably ought to require a 1.6/6.0 JDK for the IBM i build subsystem for whatever versions (RDP 7.6 and RTCp 2.0.0.2ifix1 for sure, but there could be more combinations) have this incompatibility.
In the meantime, a couple of work-arounds are:
- Install the 1.6/6.0 JDK on your IBM i, and point ant's JAVA_HOME there in the Build Def'n, or
- Hand-edit the ant build file from target/source=1.6 to 1.5 and deliver it back into the repo any time you generate (export) a new one.
And, there might be easier ways, but it's late...
2 answers
![](http://jazz.net/_images/myphoto/0cbe2e2148557f01d516c3c16d06e82a.jpg)
I can't find anyplace to create either an RDP or RTCp Defect WI (hint, hint), so I'll report it here...
RDP 7.6 comes with a 1.6/6.0 JDK. When you ask it to export an ant build file, it writes target=1.6 and source=1.6 properties to the build file.
By default, the IBM i build subsystem seems to use the "classic" 1.5 JDK (the latest I have installed on the IBM i). The build blows up when faced with the target=1.6 property. Putting an ant.build.javac.target=1.5 in the properties page of the Build definition doesn't override the build file, nor does a -D on the ant command line.
You probably ought to require a 1.6/6.0 JDK for the IBM i build subsystem for whatever versions (RDP 7.6 and RTCp 2.0.0.2ifix1 for sure, but there could be more combinations) have this incompatibility.
In the meantime, a couple of work-arounds are:
- Install the 1.6/6.0 JDK on your IBM i, and point ant's JAVA_HOME there in the Build Def'n, or
- Hand-edit the ant build file from target/source=1.6 to 1.5 and deliver it back into the repo any time you generate (export) a new one.
And, there might be easier ways, but it's late...
Hi Larry
RDP is not yet on jazz.net (hint hint to RDP team :-) but RTCp is definitely here. Log your request at:
https://jazz.net/jazz07/web/projects/Enterprise%20Extensions%20for%20Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome
regards
anthony