Installing ASN.1 to Java Compiler

Preparing for Installation

The ASN.1 to Java Compiler required ASN.1 Development Tools (ASNDT) be installed in Eclipse platform. Before you begin, take a moment to confirm that you have installed ASNDT.

Installing the ASN.1 to Java Compiler

The best way to download the ASN.1 to Java Compiler plugin is through an eclipse update site, via Eclipse Update Manager (Eclipse 3.3 or earlier) or Provisioning Platform(P2, Eclipse 3.4 or later), following the instructions below to download the ASN.1 to Java Compiler plugin and install it in your respective Eclipse environment.

Eclipse 3.3(Europa) or earlierEclipse 3.4 (Ganymede) or later
  1. Start Eclipse, then select Help > Software Updates > Find and Install....
  2. In the dialog that appears, select Search for new features to install and click Next.
  3. Click New Remote Site.
  4. In the resulting dialog box, enter a name for the remote site (e.g. "ASN.1 to Java Compiler") and enter the URL:
    http://updates.asnlab.org/asnjc/

    Click OK.

  5. You should now see the new site added to the search list (and checked). Click Finish.
  6. In the subsequent Search Results dialog box, select the checkbox for the "ASN.1 to Java Compiler". Click Next.
  7. Read and accept the license agreement, then click Next.
  8. On the following Installation window, click Finish.
  9. The ASN.1 to Java Compiler plugin is not digitally signed. Accept the installation anyway by clicking Install All.
  10. Restart Eclipse.
  1. Start Eclipse, then select Help > Software Updates....
  2. In the dialog that appears, click the Available Software tab.
  3. Click Add Site...
  4. Enter the Location:
    http://updates.asnlab.org/asnjc/

    Click OK.

  5. Select the checkbox next to the added update site and click Install...
  6. Read and accept the license agreement, then click Finish.
  7. Restart Eclipse.

Troubleshooting Installation

If you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse 3.3/3.4, you can configure proxy information from the main Eclipse menu in Window (on Mac, Eclipse) > Preferences > General > Network Connections.

If you are still unable to use Eclipse to download the plugin as a remote update site, you can download the zip file to your local machine and manually install the it:

  1. Download the zip file (do not unpack it).
  2. Follow steps 1 and 2 in the default install instructions (above).
  3. In Eclipse 3.3, click New Archive Site....
    In Eclipse 3.4, click Add Site..., then Archive...
  4. Browse and select the downloaded zip file.
  5. Follow the remaining procedures, above, starting from steps 5.

Next Steps

Once you have completed installation, you are ready to begin developing applications. Here are a few ways you can get started:

  1. Request a Trial License or purchase a Permanent License from ASN Lab website.
  2. In Eclipse click Windows > Preferences > ASN.1 > ASN.1 to Java Compiler to open the ASN.1 to Java Compiler preference page.
  3. Enter the serial number of license in the General section and click OK.
  4. Follow the examples tutorial to build a "hello world" ASN.1 application.