Steps to run Java COM Automation Client
1. Download and install Java Development Kit (JDK).
The implemented code uses Oracle JDK 24 - Link
2. Create the following directory structure
com (directory)
└─ automation (directory)
└─ server (directory)
└─ [Link] (file)
└─ client (directory)
└─ [Link] (file)
└─ [Link] (file)
3. Create files named as [Link] and [Link]
4. Copy the [Link] in the client directory
5. Type the respective source code and replace CLSID with your MyMath’s CLSID in [Link]
6. Compile the code from root level of the directory structure or using your own relative path
javac com\\automation\\server\\[Link]
javac com\\automation\\client\\[Link]
7. Run the code
java --enable-native-access=ALL-UNNAMED ^
-[Link]=com\\automation\\client ^
-cp . [Link]