David Carboni
David Carboni

Reputation: 2156

Installing Eclipse/Java on Ubuntu

I'd like to install Eclipse on Ubuntu for Java development. I'm happy to trade having the newest version for steady updates via package management.

I've done the usual sudo apt-get install eclipse eclipse-jdt (java-7-openjdk-i386 is installed and working)

However, when I start Eclipse, there seems to be almost nothing available - no Java editing (not even 'Installed JREs' is present under Window/Preferences). I've tried adding various update sites, installing Marketplace client, WTP, Java EE etc. but just can't get a working install. Oddly, I have it running fine on another machine I set up about a year ago (with the help of How do I install Eclipse Marketplace in Eclipse Classic?)

I've given up and reverted to a manual install (along the lines of Eclipse 3.6 Helios for Ubuntu 10.10) but wanted to ask:

Am I missing something obvious?

Upvotes: 3

Views: 3755

Answers (1)

Marcelo Tataje
Marcelo Tataje

Reputation: 3871

I strongly recommend you not to install Eclipse in that way, it is not really useful and you will get just the Eclipse with the Java Standard Perspective. What I recommend you is to download the tar.gz file from the page (including the Java EE perspective). Copy the tar file in a directory where you want all your development tools, like /home/user/dev/eclipse and start from there. You can create a launcher in your desktop to get a faster access to the IDE. When I started with Ubuntu, I used to install the way you had installed (sudo apt-get...) but I can tell you that the best way to do is to install it manually. If the JDK is well installed, you will not have any problem launching your Eclipse. Best regards.

Upvotes: 8

Related Questions