itw-settings: which jars need to be appended to the bootclasspath
Jiri Vanek
jvanek at redhat.com
Thu Oct 25 14:02:50 UTC 2018
On 10/25/18 3:49 PM, Treutwein Bernhard wrote:
> Trying to use netx.jar under MS Windows for starting the itw-settings GUI, I was able to start the
> GUI with the following (minimal) script itw-settings.cmd:
>
> set JAVA=java.exe
> set ITW_Home=H:/Java
> set NetX=netx.jar
> start %JAVA% -Xbootclasspath/a:%ITW_Home%/%NetX% net.sourceforge.jnlp.controlpanel.ControlPanel
>
> the bash script for Linux has some other jars appended to the bootclasspath:
> plugin.jar, jsobject.jar, tagsoup.jar, and rhino.jar
>
> Since I left these out in my -Xbootclasspath/a: option, what errors should I expect?
you wil be fine. The only reason for those depndendices, is that itweb-settings.sh (and
poliy-editor) are generated from same sources as javaws.sh (lkauncher.sh.in)
Thus the dependencies of javaws flows in too, as they are part of install anyway.
> Until now I did not see any errors, except that the extended policy editor tries to find
> the policy file in the wrong location.
>
> I am currently trying this in Windows 7 with the Oracle JRE 1.8.0_181 as future substitute for javaws.
> The netx .jar was built under Debian 9.5 (stretch) from the icedtea-web-1.7.1 sources.
>
> Experimenting with the prebuild msi installer from the ojdkbuild (https://github.com/ojdkbuild/ojdkbuild)
> under Windows 10 I had to replace netx.jar by javaws.jar and to use subst J: <java-install-drive-path>
> since the default installation path contains a blank ("Program Files").
>
> Regards & thanks in advance
> --
> Bernhard
>
--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com M: +420775390109
More information about the distro-pkg-dev
mailing list