Hi guys well i'm new to Ubuntu my first time try to install and set environment stuffs on Ubuntu.
I installed jdk 7 from webupd installer and installed the default setting package. I also installed ant 1.9.3 which should be installed properly.
Firstly I followed the instructions which I got from google search, it said i just need to download the package and extract it and put it anywhere I want. But it turned out when I click the eclipse it just doesn't work. Nothing happened.
So I did a lot of search, I finally followed this blog here
I downloaded eclipse from the official site its a very neat instruction and I compared with many other instructions I got it seems it should work. But after I followed all of those steps I got the message like this:
"eclipse" is not installed
I read this, then added the "-vm" and "/path/to/java" thing into the eclipse.ini like this:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212 -product org.eclipse.epp.package.java.product --launcher.defaultAction openFile -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vm /usr/lib/jvm/java-7-oracle/bin/java -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m
Then I tried to run eclipse from terminal again (with the command: eclipse). Got the error msg like this:
nini@nini-Vostro-3350:~$ eclipse bash: /usr/bin/eclipse: cannot execute binary file
I totally don't know what happened and have been working on this for the whole day. Is there anyone can help me ? Thank you very much.