Weird JVM Error

Hi,

Can anybody explain why I might get this error? I get it as soon as I ran a .java file in eclipse.

#

# An unexpected error has been detected by Java Runtime Environment:

#

# SIGSEGV (0xb) at pc=0x0613dfdf, pid=13166, tid=3045301136

#

# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode,

sharing)

# Problematic frame:

# V [libjvm.so+0x13dfdf]

#

# An error report file with more information is saved as

hs_err_pid13166.log

#

# If you would like to submit a bug report, please visit:

#http://java.sun.com/webapps/bugreport/crash.jsp

#

About the detailed file, I am sorry but it is already erased :(

Thanks for all help, regards....

[765 byte] By [protennisera] at [2007-11-27 10:34:18]
# 1

I dont know, but here's a guess.

First, open a dos window and type 'java' and make sure there are no errors and it says the classpath is using jva 1.6. That way you can isolate a java problem from an eclipse problem.

Next, go to the menu of eclipse ( <window><preferences> and see if all your sub menu items are set for jdk1.6 (not jre1.6). Do the same by right clicking on your project icon in Eclipse, <properties> and looking thoughout those menu items for references to jdk or jre.

Next, my guess is that the version of Eclipse you have may not be compatable with that version of java, or one of Eclipse's plugins (if you manually added plugins to Eclipse. You can try going back to jdk1.5 throughout your computer and seeing if that works.

George123a at 2007-7-28 18:28:00 > top of Java-index,Java Essentials,Java Programming...
# 2

Hi George123,

> First, open a dos window and type 'java' and make

> sure there are no errors and it says the classpath is

> using jva 1.6. That way you can isolate a java

> problem from an eclipse problem.

I am using linux-ubuntu feisty fawn as the operating system, so I am not sure if it the same as you wanted but I opened a console and write java and here is the output I get...

kmuslu@kmuslu-laptop:~$ java

Usage: gij [OPTION] ... CLASS [ARGS] ...

to invoke CLASS.main, or

gij -jar [OPTION] ... JARFILE [ARGS] ...

to execute a jar file

Try `gij --help' for more information.

> Next, go to the menu of eclipse (

> <window><preferences> and see if all your sub menu

> items are set for jdk1.6 (not jre1.6). Do the same by

> right clicking on your project icon in Eclipse,

> <properties> and looking thoughout those menu items

> for references to jdk or jre.

Could ypu specify the exact places of the options where I should choose jdk instead of jre? I conuldn't find any place that I should choose them.

> Next, my guess is that the version of Eclipse you

> have may not be compatable with that version of java,

> or one of Eclipse's plugins (if you manually added

> plugins to Eclipse. You can try going back to jdk1.5

> throughout your computer and seeing if that works.

I am using eclipse 3.2, and using the 1.6 compiler. I have jdk 1.6 installed and the path of jre is chosen in the eclipse. No plugins are activated for that project so I don't think that is the problem.

Thanks, regards...

protennisera at 2007-7-28 18:28:00 > top of Java-index,Java Essentials,Java Programming...
# 3

Sorry, I'm not familiar witht the linux enviornment to help out.

As far as eclipse goes, I cant specify where the setting are. If you expand all menu items and sub menu items, you can look for anything refering to jdk or jre. It shouldn't take long. Good luck!

George123a at 2007-7-28 18:28:00 > top of Java-index,Java Essentials,Java Programming...