To run a java application on Win32 platform with a huge amount of java libraries, we use the -Djava.ext.dirs system property to put all jars of one directory into the classpath.
But we need the Java Cryptography APIs as well in this property to use SSL protocol. So we need to setup a java.ext.dirs property which consist of a custom directory and the default /lib/ext directory of the JRE. To define this property we need to know the JRE home directory which is detected by lauch4j.
With the special variable JREHOMEDIR which is resolved by launch4j, we can configure the property in the <jre> section like this:
Attached is a changed head.c which supports this new special variable.
Log in to post a comment.