[sctp-dev] Load com.sun.nio.sctp

Chris Hegarty chris.hegarty at oracle.com
Tue Feb 8 01:34:22 PST 2011


On 02/ 7/11 06:10 PM, Chris Hegarty wrote:
> On 07/02/2011 00:29, Stelios Kavvalos wrote:
>>
>> Hi,
>>
>>
>> I use Netbeans IDE and I need to load the com.sun.nio.sctp package
>>
>> import com.sun.nio.sctp.MessageInfo;
>> import com.sun.nio.sctp.SctpChannel;
>>
>> Where CAN I get the necessary files?
>
> Is this for editing within the IDE (javadoc, code completion, etc ), or
> build/testing? I typically run Netbeans with the latest JDK7 ( which has
> included com.sun.nio.sctp for some time now). Is this an option for you?

Since com.sun.nio.sctp is a new API in JDK7 you will need to have 
Netbeans configured to use JDK7.

Please see the 'JDK 7 Support in NetBeans IDE 7.0: A Quick Overview' [1] 
for a guide to getting JDK7 support in Netbeans. The first two sections 
are the most relevant, "Registering Java 7 in the NetBeans IDE", and 
"Configuring the Project to Use JDK 7".

-Chris.

[1] http://netbeans.org/kb/docs/java/javase-jdk7.html

>
> -Chris.
>
>>
>>
>> Can some one answer me?
>>
>>
>> Thanks


More information about the sctp-dev mailing list