IcedTea and OpenFX

Jiri Vanek jvanek at redhat.com
Fri Nov 23 15:41:41 UTC 2018


On 11/20/18 8:55 PM, jtesdall wrote:
> I have changed the Subject.

Have you?
> This is only about MS Windows as we do not use or have access to Linux. We
> are a 100% Windows shop.
> I am using AdoptOpenJDK jdk8u192-b12 for Windows x64

This sohould work.
> JFX is OpenJFX8 Overlay downloaded from here: https://www.chriswhocodes.com/

Hmm, This is a  suspicious, however in comparsion with openjfx as packed for fedora, it have quite
few more classes. Continued with this jar of yours.

> ITW - Have tested with Version downloaded from RedHat website with
> javaws.exe launcher (not sure of actual version, but it was downloaded
Unluckily, I od not know what is in thi binaries,nor do I fullyunderstand why alex went with his
custom C luncher. On contrary, I know windows is not exactly happy with .bat files...

> within the last two weeks.)
> ITW- have tested with 1.7.1 binary downloaded from
> http://icedtea.wildebeest.org/download/icedtea-web-binaries/1.7.1/windows/
> with same result
> 
> I have found a undesireable solution by setting "all-permissions" in the
> jre/lib/security/java.policy file but this gives anything that uses this JRE
> full permissions. Not good but its a start to keep going.
> 
> Again, running directly with JAVAW or with Oracle JRE/Webstart does not have
> the issue.
> 
> Here is a sample FX Hello World project with the problem, the console
> clearly shows the errors with this FX project:
> 
> http://modetest.mapconondemand.com/TestWebSwingApp/JFX_Project.jnlp

Thanx. I was able to run this without issues in my default setup, (with the chirswhocode's fx jar).
And at the end I reproduced your issue.

It had hapened, that you have fx jar only on classpath., ITW needs it on bootclasspath.
If you lunch it as eg:

-Xbootclasspath/a:/home/jvanek/icedtea-web-image/share/icedtea-web/netx.jar:/usr/share/java/js.jar:/usr/share/java/tagsoup.jar:/home/jvanek/Desktop/fx/ext/jfxrt.jar

Then it will work for you.

I know that the bat files you got from
http://icedtea.wildebeest.org/download/icedtea-web-binaries/1.7.1 are lacking this. You can simply
edit them to make it work.
For full example see the shell launchers:
http://icedtea.classpath.org/hg/icedtea-web/file/6b6da5f22c26/shell-launcher/launchers.sh.in

The windows support in itw 1.7.1 is clumsy. Future 1.7.2 will have it much better, and 1.8 will no
longer have those terrible .bat launchers, but will have fully featured bianries for you. So it
should be good.

Patches for .bat launchers welcomed. I do not maintain them.

HTH
  J.

> 
> 
> 
> 
> 
> --
> Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html
> 


-- 
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