Search found 11 matches

by thezboe
12 Oct 2020, 21:39
Forum: Public Forums
Topic: Reduce logging output, specifically NO_PROXY.
Replies: 1
Views: 744

Reduce logging output, specifically NO_PROXY.

I have tried disabling the logging options in the itw-settings panel, but my logs are still filled with DEBUG level prints from OWS itself. This includes a print like the following for every http request made by the client application: [DEBUG ] com.openwebstart.proxy.direct.DirectProxyProvider: Usin...
by thezboe
29 May 2020, 17:53
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

> Are you running with the official released version With official release.1.1.7 >Also, the problem seems to have to do with downloading and running javafx JARs outside of the JNLP file with an extra URL Class Loader. But if JavaFx classes are provided by the Jvm (eg Azul JDK FX 13) and are availab...
by thezboe
29 May 2020, 17:52
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Hendrik Ebbers wrote:
29 May 2020, 08:11
Please have a look at "DownloadService.loadResource()" (https://docs.oracle.com/javase/9/docs/a ... rvice.html). I assume that this will be a better solution than a custom class loader.
I will try that, but I don't have the time currently.
by thezboe
29 May 2020, 06:39
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Are you running with the official released version or the 3 alpha?
Also, the problem seems to have to do with downloading and running javafx JARs outside of the JNLP file with an extra URL Class Loader.
by thezboe
25 May 2020, 08:29
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Yea, and we're trying to avoid that since we allow 3rd parties to potentially make their own plugins.
by thezboe
23 May 2020, 01:00
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Is there a way to do the "plugins" without creating my own classloader? I've seen the reflection hack that some people have done to add URLs to an existing classloader.
by thezboe
23 May 2020, 00:20
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Okay, after some modification to the JNLP (lazy download does not work, and java version seems to be checking against the embedded OWS JRE instead of the JDK/JRE we want to run with) it seems to be working with the 3 alpha. I assume this will mean I will have to deal with this not working with the c...
by thezboe
22 May 2020, 22:24
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

I'm instantiating a new URL ClassLoader that points to the download location of the plugin JAR I want to download, with the JNLP ClassLoader as the parent. Then I'm creating the class by calling Class clazz = urlLoader.loadClass(classname); Object o = clazz.newInstance(); I know newInstance() is dep...
by thezboe
22 May 2020, 22:10
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Maybe I'm confused. Do the Liberica and Azul JDKs not include JavafX in the "same way" that Oracle Java 8 used to? For Azul, I've downloaded from here https://www.azul.com/downloads/zulu-community/?architecture=x86-64-bit&package=jdk-fx It specifically states that includes JavaFX. As well as the Lib...
by thezboe
22 May 2020, 18:31
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Re: Cannot load JavaFX classes from JDKs that include them

Shouldn't that only be necessary if I didn't have a JDK installed on my machine that includes JavaFX?
by thezboe
22 May 2020, 00:00
Forum: Public Forums
Topic: Cannot load JavaFX classes from JDKs that include them
Replies: 19
Views: 5176

Cannot load JavaFX classes from JDKs that include them

Here's my situation: I have tried using both the Liberica JDK 14 that includes JavaFX as well as Azul 13 that includes JavaFX. I am trying to webstart an application that does not depend on JavaFX directly. However, it has "plugin" JARs that are downloaded to provide extra functionality based on con...