• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Eclipse in Ubuntu

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please explain what you mean by "unable to create projects"?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much. Doing as you suggested fixed the problem.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is amazing what google can find for you: ubuntu eclipse ignores mouse click
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic