how to use the java.core files?
chuckr at telenix.org
Wed Dec 17 11:47:31 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Chuck Robey wrote:
> I'm having fun using eclipse to re-introduce myself to java, but every time I
> stop eclipse, it seems to take me quite a few hours to get eclipse restarted. I
> finally got disgusted with that, and now I'm trying to run down what's happening
> to prevent eclipse-devel from restarting ... you see, all that was immediately
> apparent was that eclipse would die about 1 second after having been started,
> with no error printed. I found a reference to a core dump on a signal 11
> (looking in a system log), and finally found that I was actually (and silently)
> dumping a java.core every time I tried to restart eclipse.
> I know how to deal with this if it were a regular C language item, but not too
> well yet in java. gdb tells me that there isn't even a stack in that java.core
> file. Could I get a reference, something on the net I could read, maybe, about
> how I could make use of that java.core file, to point me towards why eclipse
> keeps on kicking off those coredumps. Note that, once I get eclipse started,
> it's giving yeoman service.
> If you happen to point me directly towards that eclipse problem, I wouldn't
> really complain, either, but what I'm after (for the moment) is how to make use
> of that java.core file, which'll probably let me help myself the next time. I'm
> catching up with java fairly well, I'm happy with myself.
> BTW, if it's of use, I run FreeBSD-current, the java from the jdk16 port, and
> the eclipse from the eclipse-devel port, the jdk16 and the eclipse from within
> the last 2 months, and I've rebuilt FreeBSD about 3 weeks ago. With the
> exception of being really stubborn about not wanting to start itself up, eclipse
> has been working fine for me, and I've really been exercising it, too. Like
> I've brought up before, FreeBSD is proving to be a really stable development
> java platform (with the possible exception of the small, expected problems
> tracking FreeBSD-current).
Replying to myself, but I accidentally hit upon my problem, and thought it would
bo only reasonable to let you know what it was. I was trying to hit all of the
more obvious- last ditch problems, things that wouldlikely come back to me as
dumb ideas, and I shouldn't be so crazy as to allow that. One last thing I
tried was to reboot my System ... which didn't fix it, but DID put me in the
singular position of finally being able to see the problem.
You see, on the very first time I tried to restart eclipse after restarting
FreeBSD (and X11, if that means anything), I got a java error regarding
something being wrong with my setting of JAVA_HOME. I tried, and that error
ONLY, ONLY shows on the very first eclipse startup attempt after a reboot. I
reset JAVA_HOME to be the correct value left me by the usage of the
ports/java/jdk1.6.0 port, and all of my startup problems with eclipse seem to
have disappeared for now.
Really pleasant to be able to say that FreeBSD is such a great java development
freebsd-java at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-java