aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Need help in compiling the Web project in IBM Rational Application Developer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Need help in compiling the Web project in IBM Rational Application Developer" Watch "Need help in compiling the Web project in IBM Rational Application Developer" New topic
Author

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

Mohnish Saini
Greenhorn

Joined: Jan 04, 2009
Posts: 24
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



[Thumbnail for screenshot.jpg]


Mohnish
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Did you configure the appropriate JDK in RAD?
Mohnish Saini
Greenhorn

Joined: Jan 04, 2009
Posts: 24
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jan 04, 2009
Posts: 24
Following are the details:

IBM Rational Software Development Platform

Version: 6.0.0.1
Build id: 20050214_1800

Thanks
Mohnish
Suraj Jadhav
Greenhorn

Joined: Mar 10, 2010
Posts: 25
Check "Installed JRE" version. Make sure that it has been set to proper selected.
Mohnish Saini
Greenhorn

Joined: Jan 04, 2009
Posts: 24
I have tried jdk 6 as well as jdk 5. Please see attached screenshot1.jpg... .

Thanks
Mohnish


[Thumbnail for screenshot1.jpg]

nitish kochar
Greenhorn

Joined: Nov 21, 2012
Posts: 10
Hi,

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

Thanks,
Nitish
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need help in compiling the Web project in IBM Rational Application Developer