ECLIPSE

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
saud_ansari
Cadet
Posts: 2
Joined: Mon May 22, 2006 8:49 pm

ECLIPSE

Post by saud_ansari »

anyone workin on eclipse.
i tried installin it but it keeps givin me Error code 1.....
I've installed JRE (from SUN)...but still no help.
...there seems to be some prob with the .jar file.
NEED HELP ASAP
fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Post by fawad »

Can you please provide some details? What is 'it' that is giving that error? Is there some installer you're running or eclipse from the commandline? Did you install a JDK or a JRE? Is it the SUN JDK or some other. Details help.
AsadRasheed
Battalion Quarter Master Havaldaar
Posts: 228
Joined: Fri Jan 28, 2005 6:23 pm
Location: Karachi

ECLIPSE

Post by AsadRasheed »

Dear saud_ansari,

Plz explain , what distro you are using , and other things as fawad said in previous post.

Btw i have suggestion , if you want to work on java , there is nice IDE , www.netbeans.org
get jdk and netbeans and work on it .

Regards,
M Asad Rasheed
registered linux user #394856
http://www.bsdpakistan.org
saud_ansari
Cadet
Posts: 2
Joined: Mon May 22, 2006 8:49 pm

ERROR FILE

Post by saud_ansari »

Here is the ERROR I GET :

JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /root/eclipse/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /root/eclipse/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 8000
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /root/eclipse/eclipse/startup.jar


WHAT TO DO???
I've already installed J2RE 1.4.2
masud
Havaldaar
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Location: Fremont, CA
Contact:

Try this

Post by masud »

Hi,

Its a common problem. Use java binary which comes with JRE not the default present in /usr/bin/java . Please try running it with -vm <path to jre install java>.
In my case its in /usr/java/jre1.5.0_04/bin/java. So overall it look like this.

./eclips -vm /usr/java/jre1.5.0_04/bin/java

Thanks,
--SP--
Post Reply