System packages
Set the system packages
You can use the option --systemPackages
to specify additional java packages to be exported by System Bundle.
pax-run --systemPackages=<packages>
where packages is a comma (,) separated list of java packages.
You can use --sp
as an alias for --systemPackages
Example
pax-run --systemPackages=javax.servlet,javax.servlet.http
to enforce the Framework to export the packages javax.servlet
and javax.servlet.http
by System Bundle.