Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 02:01:31 +0400
From:      Arseny Nasokin <tarc@tarc.po.cs.msu.su>
To:        freebsd-java@FreeBSD.org
Subject:   Java, IPv6 and IPv4
Message-ID:  <20060709220131.GA67231@tarc.po.cs.msu.su>

next in thread | raw e-mail | index | archive | help
Envirounment: FreeBSD >=5.3 (earler FreeBSD I don't test), SUN Jdk 1.4 and 1.5 

Exampe compilation for 1.4:
cd ${PORTSDIR}/java/jdk14 && make install -DWITH_LINUX_BOOTSTRAP -DMINIMAL -DWITH_IPV6

Exampe compilation for 1.5:
cd ${PORTSDIR}/java/jdk15 && make install -DWITHOUT_WEB -DWITH_IPV6

Problem:
	If I don't enable WITH_IPV6, IPv6 cannot be accessed from Java programs, but I have to use the IPv6 & IPv4 in my network.
	If IPv6 enabled in Java, I cannot connect to any IPv4 address even I set the system property `java.net.preferIPv4Stack=true'. 
	This is not good, because not all applications start allow add to java's arguments and/or envirounment this one (for example, Opera browser). 

What I want to see:
	When I enable IPv6, I can connect to IPv4 addresses

Wish:
	add ability to autoload system properties, specific for my box (for example, from ${LOCALBASE}/etc/java.properties)

-- 
   Best regards,
   	Arseny Nasokin



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