Compiling the Java code (Java Integration stage)

After creating your Java™ code, you must compile the Java code and optionally, you may create a JAR file for deployment.

  1. Compile your Java code with ccjava-api.jar, using the following command:
    javac -cp .;.\jars\ccjava-api.jar samples\SimplePeek.java
  2. Create a jar file for deployment, using the following command:
    jar -cvf .\jars\samples.jar samples\SimplePeek.class