Change to the EAServer bin directory.
Run the jnicc script, using the options described in Table 13-1.
jnicc.bat
Option |
Description |
---|---|
-verbose |
Prints compiler actions at each line. |
@options-file |
Specify the name of a file that contains more options. You can also use this option within a file. |
-cpp |
Sets the target language to C++. |
-class class-name |
Specify a Java class name to generate a proxy in the target language for this class. |
-interface interface-name |
Specify the name of a Java interface to generate a proxy in the target language for this interface. |
-field class.field -field class.* |
Specify a class name and optionally a field accessor method to include in the proxy for this class. |
-method class.method -method class.* |
Specify a class name and optionally a method name to include in the proxy for this class. |
-native class-name |
Specify a class name to generate Java native methods that delegate to this target language class. |
-obase-name |
Set the base name for generated output files; the default is java_classes. |
-Dxxx.yyy=value |
Set the Java system property xxx.yyy so it can be referenced as $(xxx.yyy). |
-Dmacro=value |
Include a |
-Iinclude-directory |
Specify the path to the include directory for the C++ compiler. |
source-file.cpp |
Include C++ source files to compile. |
-dll |
Run the target language compiler on the generated output files and generate a Windows DLL. |