java - Equinox and dependency on ext -
i have equinox osgi application requires jdk's nashorn.jar, per default in ext directory of jre8. however, when using osgi bundle, dependency not found, although under impression files in jre8's ext directory part of boot classpath.
is there way specify classpath of equinox launcher include ext directory of jre? (i cannot rebundle jar in question because license not allow this.)
fixed using -dosgi.parentclassloader=ext
, in question can't instantiate class installed extension when run via osgi
java osgi modularity
No comments:
Post a Comment