IPv6 works ok for jdk15

Rene Ladan r.c.ladan at student.tue.nl
Wed Jan 19 02:13:42 PST 2005


Hi,

I've commented out the 'setenv DONT_ENABLE_IPV6 YES' line to see if IPv6
works, which it does.

I'm running

FreeBSD 5.3-STABLE #6: Wed Jan 12 20:03:28 CET 2005
  root at 82-168-140-74-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE

with net.inet6.ip6.v6only set to 0.

The testip.java (attached) program produces the following output:

rene at 82-168-140-74-bbxl.xdsl.tiscali.nl:~/lang/java/test>~/test-jdk15/control/build/bsd-i586/bin/java -cp . testip
Interface lo0 has ip address /fe80:2:0:0:0:0:0:1
	 is link local address
Interface lo0 has ip address /0:0:0:0:0:0:0:1
	 is loopback address
Interface lo0 has ip address /127.0.0.1
	 is loopback address
Interface fxp0 has ip address /fe80:1:0:0:2d0:59ff:fe01:ed22
	 is link local address
Interface fxp0 has ip address /192.168.0.3
	 is site local address
rene at 82-168-140-74-bbxl.xdsl.tiscali.nl:~/lang/java/test>file testip.class
testip.class: compiled Java class data, version 49.0

Script done on Wed Jan 19 11:09:21 2005

which is the same when compiled and ran with jdk14 with IPv6 enabled.
-- 
"It won't fit on the line."
		-- me, 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20050119/c6096bad/attachment.bin


More information about the freebsd-java mailing list