FAQ?
Gregory R. Warnes
warnes@biostat.washington.edu
Tue Apr 13 17:28:00 GMT 1999
OK, is there a FAQ somewhere? If not, is there at least a searchable
index for the archives?
Something that should go into the FAQ is the comment made by Urban Widmark
<urban@svenskatest.se> in response to a posting by Denis Y. Pershin"
<dyp@inetlab.com> :
[begin quote]
> Than I wrote a simple app:
>> bash-2.02$ cat Main.java
> public class Main {
> public static void main(String argv[]) {
> System.out.println("Hello world");
> }
> }
>> Than I compiled it:
> gcj --main=Main Main.java -o m -lpthread
>> And successully get a core :-)))
> bash-2.02$ ./m
> Segmentation fault (core dumped)
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Do you have your CLASSPATH set? If so, try unset'ing it.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I got some strange Out of memory error on a very similar :) HelloWorld
program. Recompiling without classpath solved this for me.
[end quote]
I ran into exactly the same problem myself, and unset'ting the CLASSPATH
fixed it for me too.
-Greg
More information about the Java
mailing list