You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A application that is distributed as a zip archive to end users has few provided dependencies. The end users are expected to provided these provided dependencies by dropping in all the provided dependencies jars in lib directory. It seems currently any new jars added to the lib directory is not automatically added to the classpath.
so basically we need a setting/flag in native packager to add all jars in the lib directory to the application classpath. so the following change should take place in the start-up script.
consider the below scenario,
A application that is distributed as a zip archive to end users has few provided dependencies. The end users are expected to provided these provided dependencies by dropping in all the provided dependencies jars in lib directory. It seems currently any new jars added to the lib directory is not automatically added to the classpath.
so basically we need a setting/flag in native packager to add all jars in the lib directory to the application classpath. so the following change should take place in the start-up script.
from:
java -cp /var/path/lib/libary1.jar:/var/path/lib/library2.jar... com.example.Main
to:
java -cp "/var/path/lib/*" com.example.Main
The text was updated successfully, but these errors were encountered: