Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 21:27:06 -0700
From:      Dan Grillo <Dan_Grillo@grillo.net>
To:        java@freebsd.org
Subject:   1.1.8 port on 4.2-RELEASE hello world sometimes hangs
Message-ID:  <200104150427.f3F4R7h54779@gti.grillo.net>

next in thread | raw e-mail | index | archive | help


I've got a stock 4.2-RELEASE FreeBSD box, and I just installed
the jdk-1.1.8 port without modification.


I'm trying to run the following java program:

	public class foo {
	    public static void main(String[] args){
		System.out.print("Hello, world!\n");
	    }
	}

compiled with javac without options.


When run it hangs sometimes, and can't be control-C'ed:


~/bin/java/classes gti.grillo.net[31]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[32]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[33]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[34]> java foo
Hello, world!
^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^C^C^CKilled

~/bin/java/classes gti.grillo.net[35]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[36]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[37]> java foo
Hello, world!
~/bin/java/classes gti.grillo.net[38]> java foo
Hello, world!
^C^C^Z^Z^C^C
Killed


My CLASSPATH is set to "/usr/local/jdk1.1.8/lib/classes.zip:."

Any suggestions?

(I'm not subscribed to the list)

Thanks a bunch,

			--Dan
--
  Dan Grillo   dan@grillo.net  (650) 917-0685  fax (209)315-7970

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104150427.f3F4R7h54779>