Hi,
I want to check a
string suppose "101a:1450::" is Ipv6Address or not. To
test that I used
IPAddressUtil.isIPv6LiteralAddress("101a:1450::") , and to do this I had to
import sun.net.util , but when i write the code in eclipse it shows an error like -------
Access restriction: The type IPAddressUtil is not accessible due to restriction on required library D:\Java\jdk1.5.0_05\jre\lib
\rt.jar
how to solve this error , do I have to add any permission somewhere? Please suggest.
Thanks in advance