Knowledge Base Ask Cody Resources

Using your trial version, I am able to generate java classes from an .x file using Jrpcgen. When I try to run the server I get following exception. [java] Exception in thread ""main"" java.lang.UnsatisfiedLinkError: no dstnct32 in java.library.path
This error is peculuar to the trial version.

Make sure the PATH variable available to the copy of the environment you're using contains the path to dstnct32.dll location (normally c:\program files\common files\DistinctShared).

Or, alternatively, if some other scripts you're running alter the PATH variable, you can explicitly set the library path using the -D option of the java interpreter, e.g.

java -Djava.library.path="c:\program files\common files\DistinctShared"

(note there's no space between -D and java.library.path).

04/24/2024   Legal notices | PRIVACY Policy |