Use to view the location of the project folder, manage source and test package folders, as well as set the source level of the packages that the IDE uses.
Use the buttons on the right side of the panel to add, remove, and change the order of classpath elements.
Element | Description |
---|---|
Source Package Folder |
Specifies the folder that contains the Java source code for the project.
You must set the Source Package Folder to the folder that contains the default package. |
Test Package Folder |
Specifies the folder that contains the JUnit test suites for the project.
You must set the Test Package Folder to the folder that contains the default package. By default, when you create a project the IDE creates a test package folder called |
Source/Binary Format |
Specifies the JDK version that applies to the lowest Java platform version with which the Java code in your project is compatible. Default options range from JDK 6 to 8.
This setting corresponds to the |
Includes/Excludes |
Includes or excludes specific classes in or from compilation.
In the Configure Includes and Excludes dialog, use |
Profile |
Specifies the Java runtime environment (JRE) used. |
Encoding |
Specifies the character encoding the IDE applies when it saves and displays project source files.
The project character encoding determines how the IDE interprets characters in your source files. The IDE displays and saves any new files you create using the encoding set by the project in which they reside. The default character encoding used with projects is UTF-8. Use the Encoding drop-down to change the character encoding used with the project. |
Note: Specifying the source/binary format does not change the Java platform whose libraries and executables are used to compile and run your project. To set the Java platform that is used for compiling and running your project, click Libraries and set the Java Platform setting accordingly. You cannot set the source/binary format of a project to a higher release than the project's Java platform.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |