[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-java
Subject: 1.1.8 port on 4.2-RELEASE hello world sometimes hangs
From: Dan Grillo <Dan_Grillo () grillo ! net>
Date: 2001-04-15 4:27:06
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic