ECLIPSE

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

ECLIPSE

Postby saud_ansari » Mon May 22, 2006 10:26 pm

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:

Postby fawad » Tue May 23, 2006 6:11 am

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

Postby AsadRasheed » Tue May 23, 2006 12:53 pm

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

Postby saud_ansari » Wed May 31, 2006 2:12 am

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

Postby masud » Wed May 31, 2006 2:17 pm

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--


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest