
Adding a Java Platform to NetBeans Under Mac OS X
October 13, 2007This article describes how to add a Java Platform to NetBeans under Mac OS X. This enables you to compile and run your applications under different virtual machines and also to associate Javadocs and source code with a Java platform so that they can be used by NetBeans for code generation and in-context tips and documentation.
These steps assume that you are running NetBeans 6
- Select Tools -> Java Platform
- Click the Add Platform… button. This will open the Add Java Platform window. Here you will seen all of the Java Platforms that are installed your system.
- Drill down until you find the Home folder. Select it and click the Next button.
- If you have locally stored copies of source or Javadocs you can associate those with the platform using the Browse buttons. Click the Finish button when you’re done.
- Click the Close button.
- You can now select this platform for a project by right-clicking a project and selecting Properties. The setting is under the Libraries node.
- Finished
Screenshots:
Hi,
My name is James Branam and I’m the NetBeans Community Docs Manager. Your blog entry would make a fantastic tutorial for our Community Docs wiki (http://wiki.netbeans.org/wiki/view/CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.