Java Web Start Support Engine

I have several libraries (JacORB) that should replace the Sun equivalents bundled with the JRE.

I can upload them to the lib / supported folder in the JRE. However, every time someone installs a new JRE, this needs to be repeated.

So, I was hoping I could use the java.endorsed.dirs property in my JNLP file to point to another directory.

For example:

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="..." href="...jnlp">
  <information>...</information>
  <security>...</security>
  <resources>

    <property name="java.endorsed.dirs" value="c:\endorsed"/>

    <j2se version="1.7+"
      initial-heap-size="256m"
      max-heap-size="1536m"
      java-vm-args="-XX:MaxPermSize=256m"/>
    <jar href="widgets.jar" main="true"/>
  </resources>
  <application-desc main-class="...">...</application-desc>
</jnlp>

However, this does not seem to work as I would hope.

Has anyone been able to determine how the user location of the approved libraries is in Java Web Start?

+4
source share

Source: https://habr.com/ru/post/1609016/


All Articles