Any java command line that starts the application must contain the following options:
  • '-noverify'
  • '-Dappl.starter="xxx.yyy.zzz.MainClass" ' where 'xxx.yyy.zzz.MainClass' is the fully qualified name of the main class of the obfuscated application
  • '-javaagent:lib/PackAgent.jar'
  • '-XX:+DisableAttachMechanism' 
  • '-Djava.library.path=./lib' - the library path for the CB_appl_name.dll.

         Example:

       %JAVA_HOME%/bin/java.exe -noverify -Xms64M -Xmx256M  -javaagent:lib/PackAgent.jar          -XX:+DisableAttachMechanism -Djava.library.path=./lib -Dappl.starter="xxx.yyy.zzz.MainClass" -classpath ... xxx.yyy.zzz.MainClass [args]


         For jar archives, the command line must contain the same options except for the application starter that must be '-Dappl.starter="JarFileName.jar"',   where "JarFileName" is the name of the jar archive of the application, e.g.,


      %JAVA_HOME%/bin/java.exe -noverify -Xms64M -Xmx256M -javaagent:lib/PackAgent.jar -XX:+DisableAttachMechanism  -Djava.library.path=./lib -Dappl.starter="JarFileName.jar" -jar JarFileName.jar  

           


vvvdddd