PDA

View Full Version : Unable to read help in Eclipse 3.8.1 on Ubuntu 13.04 [server error 500]



Mystic38
June 25th, 2013, 02:46 PM
I have very recently setup a dual boot windows 7 ubuntu 13.04 machine for the purposes of learning linux and entertaining some C++ programming & development.

the Ubuntu install is pretty minimal, ie installed Ubuntu 32 bit, some plugs for mp3 etc, then installed Eclipse via the service center. I cannot read any of the help files and get:
>
HTTP ERROR: 500

Problem accessing /help/index.jsp. Reason:

Server Error
<

are there some plug-ins or other stuff that i need to enable Eclipse to correctly display the help files?..

thanks..

nb: My last programming in anger was > 25 years ago so if you assume i know next to nothing about linux and so need noob level step by step instructions you would actually, be quite accurate...:D
.

dino99
June 25th, 2013, 04:39 PM
http://stackoverflow.com/questions/6150807/how-to-solve-this-http-500-error
https://help.ubuntu.com/community/EclipseIDE

Mystic38
June 25th, 2013, 05:23 PM
thanks for a quick reply..

i had already spend over 2hrs searching the web and fully read both of these targets prior to joining and posting here. Neither of those offer any insight as to why on a fresh install of ubuntu a fresh install of eclipse will open, yet not display help. Clearly there is some configuration issue or item missing so if you have any direct ideas that would be awesome!



http://stackoverflow.com/questions/6150807/how-to-solve-this-http-500-error
https://help.ubuntu.com/community/EclipseIDE

Mystic38
June 25th, 2013, 10:48 PM
For clarification, just in case anyone is tempted to help, lol,
1. Eclipse will run and the workspace will appear, so my understanding from the various searches i have done is that this is not a java runtime related issue.
2. I also understand that the help file uses the browser and points to the help file via localhost (apologies for any incorrect terminology here..am quite rusty..).. anyway, Firefox would not access localhost and i installed apache from the software center.. so now when "localhost" is in the address bar it sees

[It works! This is the default web page for this server.
The web server software is running but no content has been added, yet.]

3. In Eclipse when i select help for "workbench basics" it sets the addr to "http://127.0.0.1:40371/help/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2 FgettingStarted%2Fintro%2Foverview.htm"... and does not see anything (server error 500 refered to above).

Is there additional software/plugin/stuff that needs to be on this machine or is there some setup item in Eclipse that needs modification?..

happy to run/capture any debug stuff to aid in this, just be gentle.. lol

cheers

Mystic38
June 30th, 2013, 08:43 PM
Fixed (workaround)

I am sure there are machines that loaded Ubuntu 13.04 then loaded Eclipse from the Software Center and were able to display help. Mine didnt.

As a rule i prefer to fix things rather than workaround but to get a solid install of Eclipse, and finding zero help, i tried something else. This is what i did.

A. uninstall Eclipse via the service center (note this does leave artifacts on the system, i didnt bother to remove them as i was going to re-install Eclipse from Eclipse.org).
B. I downloaded the current version of Eclipse from http://www.eclipse.org/downloads/
C. I installed via the instructions on askubuntu given in answer to a different issue (ie install of current eclipse onto ubuntu)

If you've downloaded Eclipse from their official website, follow these steps for the installation.


Extract the eclipse.XX.YY.tar.gz using

tar -zxvf eclipse.XX.YY.tar.gz
Become root.

sudo -i
Copy the extracted folder to /opt

cp -r eclipse.XX.YY /opt
Create a desktop file and install it:

gedit eclipse.desktop and copy the following to the eclipse.desktop file.

[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse then execute the following command to automatically install it in the unity:

desktop-file-install eclipse.desktop
Create a symlink in /usr/local/bin using

cd /usr/local/bin ln -s /opt/eclipse/eclipse
For eclipse icon to be displayed in dash, eclipse icon can be added as

cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm



D. Start Eclipse, note that Help is available.
E. As i was interested in a C++ environment, I added the plug-ins via the Eclipse application, rather than via command line.

not elegant, but effective in my case.

ptpare
September 18th, 2013, 01:56 PM
Some more clarity on this installation can be found at:
http://grainier.net/how-to-install-eclipse-juno-in-ubuntu-13-04/

This spelt out the path for the eclipse.desktop file to be

/usr/share/applications/

and also put the symlink in /usr/bin rather than in /usr/local/bin

rubo77
October 6th, 2013, 03:04 PM
Did you find a solution by now without reinstalling Eclipse?