ECLIPSE

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

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
saud_ansari
Cadet
 
Posts: 2
Joined: Mon May 22, 2006 8:49 pm

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.
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL

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
AsadRasheed
Battalion Quarter Master Havaldaar
 
Posts: 228
Joined: Fri Jan 28, 2005 6:23 pm
Location: Karachi

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
saud_ansari
Cadet
 
Posts: 2
Joined: Mon May 22, 2006 8:49 pm

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--
masud
Havaldaar
 
Posts: 108
Joined: Thu Aug 05, 2004 12:15 am
Website: http://fedoraproject.org/wiki/MasoodMehmood
WLM: silentplayer@internet-criminals.com
Yahoo Messenger: xlx_silentplayer_xlx
Location: Fremont, CA


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron