Setting the Java Source Version

When you convert a local Java project to a remote project, Distributed NetBeans checks that the JVM version used on your desktop system and IDE Server are compatible.  You cannot convert your project to a remote project until the Java project and IDE Server are using compatible JVMs.

By default, the IDE Server uses Java 1.4.2 to run your Java applications on the OpenVMS system.  If NetBeans on your desktop system is using a newer version of Java,  and the IDE Server is running using the 1.4.2 JVM, use the project properties dialog box to change the Source Level for the project.

  To change the Source Level for your project

1.  Select the project tab.
2.  Right click on your project and select Properties.
3.  Set the proper source level from the Source Level dropdown menu.  The Java source level should be less than or equal to the version of Java with which you are running the IDE Server on OpenVMS.

The Source Level setting corresponds to the javac -source option.