This topic describes how to configure the Java nature in non-Java projects. The Java nature allows the Java Builder to run in the project, automatically compiling Java source files and immediately alerting you of any syntax or build problems.
To configure the Java nature in a non-Java project:
Add the Java nature to the project:
In the Workspace Navigator, right-click on the project and choose Properties from the context menu.
In the Properties dialog, choose Natures.
Select Java if it is not already selected.
Click OK to close the Properties dialog.
(Optional) Configure Java source folders for the project. By default, the Java source folder for your project is the project root directory. Adding a separate source folder helps you keep source files separated from unrelated project files.
(Optional) Configure the library search path to specify the location of classes and JAR files required to compile and run your source files.
(Optional) Configure resource filters to specify what file types are copied from your source folders to the runtime build of the project.
Configuring Java Source Folders
Configuring the Java Library Search Path
Configuring Java Builder Resource Filters
Java Development User's Guide
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com