Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installing Eclipse 3.7 (I tired everything I could find)
Installing Eclipse 3.7 (I tired everything I could find) [message #729990] Tue, 27 September 2011 12:32 Go to next message
shaz  is currently offline shaz Friend
Messages: 10
Registered: September 2011
Junior Member
HI,

I am new to programming and Linux and I need some help in installing Eclipse. I downloaded Eclipse Classic 3.7 (after installing the wrong version 3.5 which could not install Photran). I have unzipped the tarfile but I when I try to run the executeable, it gives me the following the error:


shahbaz@shahbaz-desktop-CoPS:~/Downloads/eclipse$ sudo ./eclipse
./eclipse: 5: Syntax error: "(" unexpected


I have looked over the internet and non of the method helped. Any help in this matter will be appreciated. Thanks!!
Re: Installing Eclipse 3.7 (I tired everything I could find) [message #730104 is a reply to message #729990] Tue, 27 September 2011 16:04 Go to previous messageGo to next message
shaz  is currently offline shaz Friend
Messages: 10
Registered: September 2011
Junior Member
Everytime I try to run eclipse it gives me the error that it cannot execute the binary file.
Re: Installing Eclipse 3.7 (I tired everything I could find) [message #730143 is a reply to message #730104] Tue, 27 September 2011 17:24 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 27-Sep-11 10:04, shaz wrote:
> Everytime I try to run eclipse it gives me the error that it cannot
> execute the binary file.

There's not really enough information to help you. I'd post:
- name of download
- whether "eclipse", as downloaded, is executable (in terms of privilege)
- why you feel you need to be superuser to execute it
- what you've done about a JDK, eclipse.ini, etc.
Re: Installing Eclipse 3.7 (I tired everything I could find) [message #730347 is a reply to message #730143] Wed, 28 September 2011 08:13 Go to previous messageGo to next message
shaz  is currently offline shaz Friend
Messages: 10
Registered: September 2011
Junior Member
Thanks for your reply.

Name of the download: eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
Downloaded Eclipse from the website
I tried both way, with or without superuser
I have OpenJDK6 Runtime, installed it from Ubuntu Software Centre
Re: Installing Eclipse 3.7 (I tired everything I could find) [message #730504 is a reply to message #730347] Wed, 28 September 2011 14:15 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 28-Sep-11 02:13, shaz wrote:
> Thanks for your reply.
>
> Name of the download: eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
> Downloaded Eclipse from the website
> I tried both way, with or without superuser
> I have OpenJDK6 Runtime, installed it from Ubuntu Software Centre

First, don't use this JDK: download a proper one from Sun:

http://java.sun.com

Hover over Downloads, then choose Popular Downloads -> Java for
Developers, then download a JDK (7 or 6 are both fine). Be sure to match
the bittedness of the Eclipse you downloaded (64-bit according to what
you said here). You don't have to "install" the JDK other than privately
(under /home/you somewhere) if you like.

Then, wire up eclipse.ini to it. See http://wiki.eclipse.org/Eclipse.ini.
Re: Installing Eclipse 3.7 (I tired everything I could find) [message #730607 is a reply to message #729990] Wed, 28 September 2011 17:15 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
The error message that you are getting seems to indicate that your shell is running a script. Eclipse is an executable. Have you created a script file to run Eclipse?
Previous Topic:Indigo -- can not install Eclipse SDK Examples
Next Topic:Internal IDE scripting
Goto Forum:
  


Current Time: Mon Sep 23 17:53:53 GMT 2024

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

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

Back to the top