Is DriverAgent compatible with VJ version 6.0? What about version 1.1?
DriverAgent does not currently support Visual J 6.0. It does work with VJ 1.1, but with a few minor workarounds.
Rename the javaagent.java file to JavaAgent.java.
Build the DriverAgent java classes with project workspace JavaAgent.dsw that we ship.
Then adjust the project settings for the example as follows:
Add the path to the JavaAgent folder to the CLASSPATH project setting. An environment variable is not valid for this project setting. There are comments at the top of the example code explaining how to do this.
Add the compiler switch /x- which enables Microsoft extensions to java. A requirement for Agent support.Visual J 6.0 has this enabled by default.
To run the example with Visual J 1.1,download the Java SDK 3.2 which installs the J/Direct classes required for DriverAgent support.
Download & install the latest Java Virtual Machine.