SCTP
Hi
I am trying to test my installtion for SCTP. I am using UBUNTU 11.10 and JDK 1.7.0_03.
Why am I getting Access ristriction?
Access restriction: The type SctpServerChannel is not accessible due to restriction on required library /appz/java/jdk-1.7.0.03/jre/lib/rt.jar
Thanks.
BR
Lulseged
import java.io.IOException;
public class TestSCTP
{
public TestSCTP()
{
try
{
com.sun.nio.sctp.SctpServerChannel sc = com.sun.nio.sctp.SctpServerChannel.open();
}
catch (IOException e)
{
e.printStackTrace();
}
}
public void print()
{ }
public static void main(String[] args) throws Exception
{
TestSCTP test = new TestSCTP();
test.print();
}
}




