SQL program translation, compiling, and running
You use the command java ifxsqlj to create executable Java™ .class files from your Embedded SQLJ source code.
When you run the java ifxsqlj command with an .sqlj source file, the source file is processed in two stages. In the first stage, called translation, the SQLJ translator creates a Java source file (with the extension .java). For example, when you process a file called File1.sqlj, the SQLJ translator creates a file called File1.java. The SQLJ translator also creates internal resource files with the extension .ser.
To create a complete application, you must include the directories that contain the SQLJ runtime classes in sqlj.runtime.* in your CLASSPATH environment variable definition. The SQLJ runtime files are available in ifxsqlj.jar, the file that you installed when you first installed the Embedded SQLJ product, as described in A simple embedded SQLJ program.
In addition, you must include the locations of ifxtools.jar and the relevant version of the JDK in your CLASSPATH definition. At runtime, you must also include the location of ifxjdbc.jar; however, you do not need to include this file location when translating or compiling your application.
java File1