File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Eclipse in Ubuntu

 
Moha Shaf
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed Eclipse Ganymede 3.4 on Ubuntu 9.10 Karmic. I have set my JAVA_HOME to point to Sun JDK at /usr/lib/jvm/java-6-sun .
I am able to launch Eclipse but unable to create projects (Simple Java / Web Applications) in it and unable to point to a Target Server. I tried starting the eclipse as root with increased heap size (sudo eclipse -vmargs -Xms512m -Xmx1024m) . Despite this I am unable to create new projects and start working in Eclipse on ubuntu.
When i do all this the memory taken by eclipse goes to 20% and CPU utilisation 2% . I still have 50 MB free memory and 2 GB swap space free.

Has anyone faced a problem similar to this? Would appreciate some help on this.

Thanks.
 
Mark E Hansen
Ranch Hand
Posts: 650
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please explain what you mean by "unable to create projects"?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you always using sudo to run eclipse? If so, don't - you should run Eclipse with your account, not with root.

How did you install Eclipse? Via the Ubuntu software repository (apt-get or similar)? If so, I recommend that you instead download Eclipse from the Eclipse web site. Installation is simple - unpack the tar.gz file. I unpacked mine at /opt/eclipse.
 
Moha Shaf
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark E Hansen wrote:Can you please explain what you mean by "unable to create projects"?


When i try creating a new Dynamic Web project or a Java project using the New project Wizard, it hangs at that point ( i.e. i am not taken to the next step though I am able to cancel it) or sometimes it takes me to the next step in which i create a Target runtime for the project (Tomcat Installation Directory) and it hangs there.

Peter Johnson wrote:Are you always using sudo to run eclipse? If so, don't - you should run Eclipse with your account, not with root.


I tried both running with my User ID as well as root. it does not work either way.

Peter Johnson wrote:How did you install Eclipse? Via the Ubuntu software repository (apt-get or similar)? If so, I recommend that you instead download Eclipse from the Eclipse web site. Installation is simple - unpack the tar.gz file. I unpacked mine at /opt/eclipse.


I downloaded eclipse and unpacked into /opt/eclipse
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you perhaps running into the issue that clicking on Next or Finish does nothing? If so, you have run into a known bug. My solution is to use the mouse to select the Next or Finish button, and then hit Enter in the keyboard.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=291257
 
Moha Shaf
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. Doing as you suggested fixed the problem.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is amazing what google can find for you: ubuntu eclipse ignores mouse click
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic