java.endorsed.dirs for JVM not working - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rand
Posts: 22
Joined: Tue Sep 29, 2009 4:10 pm

java.endorsed.dirs for JVM not working

Enterprise Version 7.6.1

Setting the java.endorsed.dirs for my project, but the jvm is not looking there.

I am setting the value in the Java Products --> Virtual Machine Tab --> JVM Parameters

java.endorsed.dirs

[bin_1_DIR]lib\jaxws-api.jar

When I run the code within my application the value and path for java.endorsed.dirs is correct, but the jvm is not looking there.

This works outside of any AI changes, if I copy the same jar to endorsed under the jre.

What am I missing? Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: java.endorsed.dirs for JVM not working

Hello,

You can try placing the path to the jar's parent folder, instead of the path to the jar itself.
For example, instead of [bin_1_DIR]lib\jaxws-api.jar, only place [bin_1_DIR]lib\

This might be similar to what we describe on the guide to installing a java extension

Let me know how this worked.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”