1. Download & Install latest JDK 6
2. Open NetBeans, add a new Java Class Project.
3. Add required SFS .jar libraries
4. Right click on your project and change the Source/Binrary Format to JDK 6
5. Modify the build.xml file, and add the following to -post-compile (it will copy the .jar file to the SFS2X directory after the compile):
Code: Select all
<copy todir="{SFS2X path}\SFS2X\extensions\{your extension}\">
<fileset file="${dist.jar}"/>
</copy>
6. Restart your server (in order for the server to pick up the new .jar file)