Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installing Eclipse Juno on Ubuntu
Installing Eclipse Juno on Ubuntu [message #936813] Mon, 08 October 2012 11:12 Go to next message
Graham Seed is currently offline Graham Seed
Messages: 6
Registered: April 2012
Junior Member
Hi

I downloaded Eclipse Classic Juno 4.2 on Ubuntu 12.04 and extracted the zipped file into folder /eclipse.

I added the following to the .ini file:

-vm
/usr/lib/jvm/java-7-oracle/bin/java

If I open Eclipse by double clicking on the "eclipse" executable and then create a simply "HelloWorld" project it complains with the simple line:

System.out.println("Helllo");

In the project Libraries tab I see the Java JRE 1.7 listed, so I'm baffled as to why it won't build the simplest of projects.

Thanks

Graham

[Updated on: Mon, 08 October 2012 11:13]

Report message to a moderator

Re: Installing Eclipse Juno on Ubuntu [message #936935 is a reply to message #936813] Mon, 08 October 2012 13:44 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3189
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/8/2012 5:12 AM, Graham Seed wrote:
> Hi
>
> I downloaded Eclipse Classic Juno 4.2 on Ubuntu 12.04 and extracted the
> zipped file int folder /eclipse.
>
> I added the following to the .ini file:
>
> -vm
> /usr/lib/jvm/java-7-oracle/bin/java
>
> If I open Eclise by double clicking on the "eclipse" executable and then
> create a simply "HelloWorld" project it complains with the simple line:
What do you mean "it complains"?

>
> System.out.println("Helllo");
>
> In the project Libraries tab I see the Java JRE 1.7 listed, so I'm
> baffled as to why it won't build the simplest of projects.
>
> Thanks
>
> Graham
Re: Installing Eclipse Juno on Ubuntu [message #937760 is a reply to message #936935] Tue, 09 October 2012 08:30 Go to previous messageGo to next message
Graham Seed is currently offline Graham Seed
Messages: 6
Registered: April 2012
Junior Member
Hi

"What do you mean "it complains"?"

The compile errors are listed below; ie it can't even find java.lang:

Syntax error on token ""Helllo"", delete this token HelloWorld.java /HWorld/src line 3 Java Problem

Syntax error on token(s), misplaced construct(s) HelloWorld.java /HWorld/src line 3 Java Problem

Graham
Re: Installing Eclipse Juno on Ubuntu [message #938025 is a reply to message #937760] Tue, 09 October 2012 13:38 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1341
Registered: July 2009
Senior Member
Please post the complete source for your HelloWorld.java file.
Previous Topic:How to increase width of list editor
Next Topic:Enqiry about installation regarding web development
Goto Forum:
  


Current Time: Tue Sep 16 11:28:51 GMT 2014

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

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