LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   eclipse cannot run... (https://www.linuxquestions.org/questions/linux-newbie-8/eclipse-cannot-run-705434/)

milebuddha 02-17-2009 01:36 PM

eclipse cannot run...
 
I installed eclipse 3.4.1 in ubuntu8.10. Also, OpenJDK Java 6 Runtime is installed from Applications -> Add/Remove Applications. Now I tried to run eclipse, it comes up with Eclipse blank window and sits there doing nothing further.

Any comment/suggestion will be much appreciated.

repo 02-17-2009 01:38 PM

run it from a terminal and look for error messages

milebuddha 02-17-2009 02:10 PM

Thank you for the quick reply.

I've looked at the message. It's said
"Error reading configuration: /opt/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (No such file or directory).

It seems the eclipse was not configured correctly. But how to configure it? I went to configuration folder, ran ./eclipse.ini, and got errors "command not found, No such file or directory..." etc.

Ranguvar 02-17-2009 02:44 PM

./ tells Linux to run a program in the current directory. eclipse.ini is not a program. You would need to open it in an editor (vi, Vim, emacs, nano, GEdit...).

milebuddha 02-17-2009 07:06 PM

It seems the openJDK Java6 is not the right Java for eclipse 3.4.1. I downloaded sun-java6 and re-installed eclipse. It works now.

Ranguvar 02-18-2009 01:46 AM

That's odd. I run openJDK6 with Eclipse 3.4.1 just fine in Arch (woot for Open Source!). I think something's messed up with Ubuntu's packaging... I would file a bug report with them, and link to the Arch build scripts so they can compare to their own. Or, it could be that Arch has a newer openJDK.

milebuddha 02-19-2009 11:56 AM

Probably my openJDK was not installed properly? I didn't notice any error message though.


All times are GMT -5. The time now is 06:30 PM.