This Question is Answered

11 "helpful" answers available (3 pts)
10 Replies Last post: Aug 13, 2008 1:38 PM by phil

Installing CDE

Aug 7, 2008 2:32 AM

Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007

I got some glitches integrating the CDE into eclipse.

I have downloaded and installed both the CDE and eclipse 3.4

Not able to find box for "Classic Update"

"For Eclipse 3.4, you need to turn on compatibility with 3.3 style plugins. Use the Eclipse 3.4 menu, "Window / Preferences / General / Capabilities" and check the box for "Classic Update". Then you can follow the instructions below to install as Eclipse 3.3" -- I am not able to find any 'Capabilities' section under Window / Preferences / General in eclipse 3.4

Click to view Duke's profile Curl Duke 154 posts since
Oct 17, 2007
1. Re: Installing CDE Aug 7, 2008 9:09 AM
Yes, apparently some Eclipse 3.4 configurations are missing the Capabilities section for some reason. You can follow the steps below in this case. It ends up starting the old 3.3 - style installation at step 8.

1. Start Eclipse, choose "Help / Software Updates"
2. In the "Software Updates and Add-ons" dialog, choose the "Available Software:" tab and click on the "Add site..." button
3. In the "Add site" dialog Click on the "Archive ..." button
4. In the "Repository archive" dialog navigate to the "C:\Program Files\Curl Corporation\Surge\7\ide\eclipse-deploy\cdeUpdateSite.jar" file, choose the file and click "Open"
5. In the "Add site" dialog click ok
6. In the "Software Updates and Add-ons" dialog check the box labeled "jar:file:"C:\Program Files\Curl Corporation\Surge\7\ide\eclipse-deploy"
7. Click "Install ..."
8. You will get "Unsupported Install" dialog. check the "Launch..." button
9. In the "Install/Update" dialog click on the "Search for new features to install" radio button and then click "Next"
10. In the "Install" directory click on the "New Archived Site..." navigate to the "cdeUpdateSite.jar" you found in step 4 (it should open to that file automatically) .
11. Choose the "cdeUpdateSite" file and click "Open"
12. In the "Edit Local Site" dialog click the "OK" button.
13. In the "Install" directory click the "Finish" button
14. In the "Updates" dialog select the "cdeUpdateSite.jar" check box and click "Next >"
15. In the "Install" dialog select the "I accept the terms in this licnese agreement" (assuming you accept the terms) and click "Next" button
16. In the "Install" dialog click the "Finish" button
17. In the "Verification" dialog click the "Install All" button
18. in the "Install/Update" message box, click the "yes" button to restart Eclipse.

The Curl plugin is now installed!

Choose "Window / Open Perspective / Other..."; select Curl and click OK to open the Curl perspective.
Click to view phil's profile Curl phil 33 posts since
Oct 17, 2007
2. Re: Installing CDE Aug 7, 2008 10:17 AM
I believe the Capabilities tab is only present if you install the "SDK" version of Eclipse 3.4. I think the eclipse.org download page calls this the Eclipse Classic package.

Anyway, the Classic Update code is in all 3.4 eclipse packages. The Capabilities preference just adds a UI to enable the old menu items.

If you try to install the CDE .jar file using the 3.4 update manager it will first tell you that it can't install it and then offer to let you install it using the classic installer. This should work just fine.
Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
3. Re: Installing CDE Aug 7, 2008 9:13 PM
in response to: Duke

Thanks Duke,

But it is failing after step 16 with a new dialog "Problem Occurred" "Bad version number in .class file"

Click to view URPradhan's profile Level 7 URPradhan 141 posts since
Mar 6, 2008
4. Re: Installing CDE Aug 7, 2008 9:50 PM
in response to: tiju
I may be wrong, but what I guess, you might have installed Curl Nitro (API v7.0). If yes, then it will fail as CDE is for API v6.0 and even if you have installed both v6.0 and v7.0, v7.0 takes the priority and Eclipse integration will fail. Its happening for me. So, we are waiting for CDE integration with Nitro.

Thank you
Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
5. Re: Installing CDE Aug 8, 2008 12:34 AM
in response to: URPradhan

I do not think so. I have tried uninstalling the nitro and installing 6.0.4 with not much success. This is what I get -


An internal error occurred during: "Update Manager".
Bad version number in .class file

Click to view phil's profile Curl phil 33 posts since
Oct 17, 2007
6. Re: Installing CDE Aug 8, 2008 11:58 AM
in response to: tiju
Maybe you need a newer JRE? The current java runtime from java.sun.com is Java SE 6 release 7 (build 1.6.0_07-b06). You can download the lastest version from http://java.sun.com/javase/downloads/index.jsp.
Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
7. Re: Installing CDE Aug 10, 2008 10:59 PM
in response to: phil
Hi Phil, I have already installed jre1.6.0_07 :(
Click to view phil's profile Curl phil 33 posts since
Oct 17, 2007
8. Re: Installing CDE Aug 11, 2008 10:57 AM
in response to: tiju

Are you sure you don't have any other JREs installed? Also, double-check the JRE that eclipse is using. You can find this out by using Help/About Eclipse and click Configuration Details. Scroll down and look for the line "java.runtime.version". This is what I see:

java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_07-b06

Click to view tiju's profile Level 6 tiju 102 posts since
Oct 17, 2007
9. Re: Installing CDE Aug 11, 2008 10:36 PM
in response to: phil

Thanks much Phil, that was exactly the reason I got the error. My eclipse3.4 was using java.runtime.version=1.5.0_06-b05 even though I installed jdk1.6.

Corrected this by changing the RTE version in the windows -> preferences -> java -> installed JREs. I also used the -vm parameter to load the eclipse. Some links I looked up for reference are

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&t=004984

and

http://wiki.eclipse.org/Eclipse.ini

But I will not be able to use the CDE if I install nitro on top of this.

Click to view phil's profile Curl phil 33 posts since
Oct 17, 2007
10. Re: Installing CDE Aug 13, 2008 1:38 PM
in response to: tiju
But I will not be able to use the CDE if I install nitro on top of this.

I don't know much about nitro but I don't see why the CDE wouldn't work, as long as you only install the nitro RTE on top of 6.0.4. If you install the nitro IDE it won't work though; I believe somebody here is working on getting a new nitro release out that has the CDE.