I get java.lang.UnsatisfiedLinkError: nmpcEpilog when running DevPartner/J

0 Likes

Problem:

Profiling with HotSpot JIT gives unsatisfiedlink error

Resolution:

This error message is caused by the HotSpot JIT when you attempt to run a JVMPI (profiling) function within it.

Picked up _JAVA_OPTIONS: -Xrunjpcinstr -Xbootclasspath/p:E:\PROGRA~1\COMPUW~1\PCShared -Djava.security.policy=E:\PROGRA~1\COMPUW~1\PCShared\java.policy

Exception in thread "main" java.lang.UnsatisfiedLinkError: nmpcEpilog

        at nmpcJackets.nmpcEpilog(Native Method)

       at nmpcJackets.Epilog(Unknown Source)

       at TestP.Main.main(Main.java)

[ Hit any key to close the console window

The workaround is to specify the '-classic' argument as the first argument to java.exe in the Program Settings dialog.

The final command line should look something like:

C:\jdk1.3\bin\java.exe -classic -Dmyparameter=blah TestPackage.Main

Old KB# 11318
Comment List
Anonymous
Related Discussions
Recommended