Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC 5.0.2 support for IBM JDK 1.8

 Hi,

We have RTC V 5.0.2 and we need to compile our sources with Java version 1.8. 
The compiler versions visible under windows->preferences->Java->Compiler->JDK Compliance -> Compiler Compliance level ,does not show 1.8  which is causing many eclipse errors of the type: "The type java.lang.CharSequence cannot be resolved"

Can you please tell the RTC client version that supports java version 1.8 ? is there a fixpack/upgrade available for existing  RTC V5.0.2 to support 1.8 ?

Any other pointers/references would be helpful .

Thanks in Advance!!

Regards,
Preethi.

0 votes



2 answers

Permanent link
The Java versions that you use to compile your projects and the Java versions that are used to run the RTC Eclipse Client, Server, Build System are independent.

Add the 1.8 JDK/JRE to the available  to the Preferences/Java/Installed JRE's. this is just basic Eclipse handling and does not have anything to do with RTC itself. See http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-add_new_jre.htm

0 votes

Comments

 Hi Ralph,


Thank you for the prompt response.

We did add the 1.8 JDK/JRE like we did for its previous versions  1.7 and others, but still hit the eclipse errors.
So thought it could be the issue with Eclipse V 3.6.3 available with RTC 5.0.2  which does not allow the source version to be set as 1.8 ?

Can we upgrade the eclipse client to a higher version in RTC 5.0.2? 

Regards,
Preethi

I can't help there. I would suggest to ask on Eclipse.org or search there or at stackoverflow.com for hints with Eclipse and Java 1.8.


Permanent link
The easiest way is to solve this is to install one of the Eclipse packages (e.g. Eclipse IDE for Java EE Developers) from the Eclipse 4.4.1 Luna download site http://www.eclipse.org/downloads/packages/release/Luna/SR1 than add the RTC plug-in via the p2-repo https://jazz.net/downloads/rational-team-concert/releases/5.0.2/RTC-Client-p2Repo-5.0.2.zip
and add a Java 1.8 JDK to the Installed JREs preferences page.

Be aware that the RTC 5.0.2 Eclipse plugin is not certified to run with anything newer than Eclipse 4.4.1 (Luna). See https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements50#B4_Eclipse_IDE_RTC_Eclipse_Clien for details.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Jul 06 '16, 5:13 a.m.

Question was seen: 3,144 times

Last updated: Jul 07 '16, 12:16 a.m.

Confirmation Cancel Confirm