• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in compiling the Web project in IBM Rational Application Developer

 
Mohnish Saini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new in working with IBM Rational Application Developer(RAD).
I have a working application built in My Eclipse 8. I have to copy the code (.java, jsp and all related files) from Eclipse workspace and create a new project in IBM Application Developer.

I did that. But I am getting error in compiling the project in IBM RAD. It gives me error for using generics and annotation. Then I checked the JDK version and noticed that it is already 6. So project should compile. But it doesnt.

On further investigation, I found that Compiler Compilance Level is set to be 1.4. It should be 1.5 or higher (I think this may be the cause but not sure) as shown in attached screenshot.

I want to change to 1.5 or higher but the dropdown doesnt show the 1.5 or higher. I also performed these steps mentioned in this url (http://publib.boulder.ibm.com/infocenter/wvraix/v6r1m0/index.jsp?topic=/com.ibm.wvraix.javadev.doc/registeringjre.html) but all in vain.

Please help me in setting the correct Complier Compliance level.

Thanks
Mohnish
screenshot.jpg
[Thumbnail for screenshot.jpg]
Screenshot
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you configure the appropriate JDK in RAD?
 
Mohnish Saini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I configured correct JDK and that also twice... jdk1.5 as well as jdk1.6... but in compliler compliance level dropdown, I am able to see only jdk1.3 and jdk1.4 as shown in the screenshot.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of RAD? RAD is just Eclipse plus a bunch of tools--I've targeted up to 1.6 on fairly old RAD versions.
 
Mohnish Saini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following are the details:

IBM Rational Software Development Platform

Version: 6.0.0.1
Build id: 20050214_1800

Thanks
Mohnish
 
Suraj Jadhav
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check "Installed JRE" version. Make sure that it has been set to proper selected.
 
Mohnish Saini
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried jdk 6 as well as jdk 5. Please see attached screenshot1.jpg... .

Thanks
Mohnish
screenshot1.jpg
[Thumbnail for screenshot1.jpg]
 
nitish kochar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is this issue resolved? Please update since i am facing the same problem.

Thanks,
Nitish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic