I have downloaded Eclipse indigo 64bit tar file and extracted it, for my Ubuntu 12.04, I have JDK 1.7 installed in my system, when I am doing:
java -Version
bash: /home/rd00/Development/jdk1.7.0/bin/java: cannot execute binary file
and
echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rd00/Development/jdk1.7.0/bin
is showing,
I'm following this tutorial located here on how to create a launcher for eclipse in unity.
please, I've installed oracle java jdk and eclipse, and every thing goes well, but I can't add eclipse for the launcher, I have every time i use it to access it from the terminal, my ubuntu is 10.04, but I'm not sure how can I open it from the launcher or even from the desktop ?
In my linux machine, path are configured as follows
non-root user:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/java
root user:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
when i tried to
sudo echo $PATH
it shows non-root user path only not root path
but when i put
echo $PATH
in script and tried to execute with sudo, it give
So I am trying to install eclipse Juno on Ubuntu 12.04.
I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to create a desktop icon with: gnome-desktop-item-edit ~/Desktop --create-new. In a new icon I showed the path to the eclipse executable which I could launch from the command line.
I run gnome shell 3.6 and Eclipse 4.2. I installed Eclipse manually, in my /opt directory, because the Ubuntu package for Eclipse is very outdated.
I've created a .desktop file for it, and placed in in ~/.local/share/applications.
To get started, I installed the Android SDK with ADT that also came with eclipse (unknown to me it came with eclipse) after I installed the Eclipse for JAVA developers. Neither one works as it says it can't locate the JAVAW file under jre/bin that's suppose to be in the eclipse folder. Anyhow, to see if I could fix it I cut the JRE folder from my Java folder, and placed it in the eclipse folder.
I installed eclipse though the unbuntu software center but I experienced some issues and I wanted to install the official eclipse version.
I downloaded eclipse classic 4.2.1
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/dr...
Extracted it, but if I double click "eclipse" it doesn't do anything.
Any ideas how