Exporting Bytecode

You can export byte code for a class only if it has no unresolved problems remaining.

To export bytecode for your classes to .class files in the file system:

  1. In the Export SmartGuide, after you have selected the target directory or Jar file for the export, enable the .class check-box.
  2. Click the Details button.
  3. Select classes and interfaces from the workspace by enabling their check-boxes.   Click OK.
  4. Select other export options, if needed.
  5. Click Finish.

The bytecode will be exported to .class files in a subdirectory of the target directory.  The subdirectory is named after the package containing the class.   Periods in the package name become new subdirectories.  For example, if you export a class named Class1 in a package named My.Package to a target directory c:\VAJava\ide\export, then the Class1.class file will be in c:\VAJava\ide\export\My\Package.

If you intend to debug the exported code with an external debugger, you must enable the Include debug attributes in .class files option.

ngrelt.gif (466 bytes)
Exporting Code
Exporting Source Code
Exporting Resource Files
Exporting for Debugging
Importing Files from the File System
Finding and Fixing Problems