Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Setting up Java with Eclipse
Setting up Java with Eclipse [message #904411] Tue, 28 August 2012 11:41 Go to next message
mikey c is currently offline mikey cFriend
Messages: 3
Registered: August 2012
Junior Member
Hi,
I'm a newbie to linux/java/eclipse. I'm trying to setup eclipse to run java.

I installed Unbuntu 12.04 and when I run Eclipse, I cannot set the perspective to Java. In fact, it doesn't show up as an option (not even under others). I've tried numerous things

~$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

I read to install the eclipse-jdt package.
I went to the package manager and it showed 3.7.2-1 installed (green bullet)
same with eclipse-pde 3.7.2-1.

I'm just looking to get HELLO WORLD so i can start learning.

Any clues?
Thanks
Re: Setting up Java with Eclipse [message #904456 is a reply to message #904411] Tue, 28 August 2012 13:02 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 28.08.2012 13:41, mikey c wrote:
> Hi,
> I'm a newbie to linux/java/eclipse. I'm trying to setup eclipse to
> run java.
>
> I installed Unbuntu 12.04 and when I run Eclipse, I cannot set the
> perspective to Java. In fact, it doesn't show up as an option (not
> even under others). I've tried numerous things
>
> ~$ java -version
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.3)
> (6b24-1.11.3-1ubuntu0.12.04.1)
> OpenJDK Server VM (build 20.0-b12, mixed mode)
>
> I read to install the eclipse-jdt package.
> I went to the package manager and it showed 3.7.2-1 installed (green
> bullet)
> same with eclipse-pde 3.7.2-1.
Try this:
http://download.eclipse.org/eclipse/downloads/drops4/R-4.2-201206081400/

Dani
>
> I'm just looking to get HELLO WORLD so i can start learning.
>
> Any clues?
> Thanks
Re: Setting up Java with Eclipse [message #904564 is a reply to message #904456] Tue, 28 August 2012 17:34 Go to previous messageGo to next message
mikey c is currently offline mikey cFriend
Messages: 3
Registered: August 2012
Junior Member
downloaded JUNO and it works. Now I am doing a tutorial and creating a java project that says to create using existing source and point to a directory. This option is not in my window. Does this version do it differently?
Re: Setting up Java with Eclipse [message #904569 is a reply to message #904564] Tue, 28 August 2012 17:46 Go to previous messageGo to next message
mikey c is currently offline mikey cFriend
Messages: 3
Registered: August 2012
Junior Member
I unchecked the default location and put in the location of the existing files and they seem to have loaded.
Re: Setting up Java with Eclipse [message #905196 is a reply to message #904569] Wed, 29 August 2012 22:44 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Quote:
I read to install the eclipse-jdt package.
I went to the package manager and it showed 3.7.2-1 installed (green bullet)
same with eclipse-pde 3.7.2-1.


After having installed Eclipse on Ubuntu literally many hundreds of times (with no such difficulties as you describe) only this post made me try installing Eclipse the Ubuntu way (i.e. using "sudo apt-get install eclipse-jdt"), and to my own surprise this resulted in one of the most broken installs I ever had.

I'm sure the Ubuntu package maintainers put a lot of effort in providing this package in a meaningful way, but unfortunately here at Eclipse.org very little knowledge about that strategy exists.

This only as background why we suggest simply unpacking a fresh download from Eclipse.org: we can't advise how to use the Ubuntu package.

best,
Stephan
Previous Topic:unable to open a .bat file through .launch in eclipse
Next Topic:JUNO j2ee ide is not starting.
Goto Forum:
  


Current Time: Thu Apr 25 17:05:49 GMT 2024

Powered by FUDForum. Page generated in 0.03047 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top