In order to access J2C functionality, the J2C capabilities must
be enabled.
If you do not see the J2C when you click on File > New > Other,
you need to enable the J2EE capabilities.
- From the menu bar, click Window > Preferences.
- On the left side of the Preferences window, expand Workbench.
- Click Capabilities. The Capabilities pane
is displayed. If you would like to receive a prompt when a feature is first
used that requires an enabled capability, select the check box for Prompt
when enabling capabilities.
- Expand the Enterprise Java™ folder.
- Select the Enterprise Java check box. The
necessary J2C capability is now enabled. Alternatively, you can select the
Enterprise Java capability folder to enable all of the capabilities
that folder contains. To set the list of enabled capabilities back to its
state at product install time, click Restore Defaults.
- To save your changes, click Apply, and then
clickOK.
Note: Enabling Enterprise Java capabilities
will automatically enable any other capabilities that are required to develop
and debug J2C applications.