Search found 6 matches

by marek
31 Mar 2025, 16:44
Forum: Public Forums
Topic: Playing a system sound in Windows
Replies: 3
Views: 28540

Re: Playing a system sound in Windows

Found the issue in our internal properties, OWS is working just fine for both:

Toolkit.getDefaultToolkit().beep();

and

Runnable sound = (Runnable)Toolkit.getDefaultToolkit().getDesktopProperty("win.sound.question");
if (sound != null) {
sound.run();
}

Thank you very much for the support and ...
by marek
28 Mar 2025, 11:49
Forum: Public Forums
Topic: Playing a system sound in Windows
Replies: 3
Views: 28540

Re: Playing a system sound in Windows

We're using the JDK-21.0.2 from Oracle configured in OpenWebStart 1.10.1, in the JNLP we've set <j2se version="17+" href="http://java.sun.com/products/autodl/j2se"/>

Unfortunately there are no errors in log file. What policy file of the JRE do you have in mind? Are there any specific JVM args which ...
by marek
20 Mar 2025, 12:26
Forum: Public Forums
Topic: Playing a system sound in Windows
Replies: 3
Views: 28540

Playing a system sound in Windows

We're facing an issue with the access to system sounds defined in Windows. In our application we're playing a sound defined in Windows OS using the java.awt.Toolkit:

Runnable sound =(Runnable)Toolkit.getDefaultToolkit().getDesktopProperty("win.sound.exclamation");

But this does not work in ...
by marek
28 Jun 2022, 18:39
Forum: Installation & Configuration
Topic: JNLPClassLoader cannot find class: ClassNotFoundException
Replies: 5
Views: 51170

Re: JNLPClassLoader cannot find class: ClassNotFoundException

It works with the version 3.0.0-alpha2, but only when the console is visible, otherwise it is failing, screenshot attached.
by marek
27 Jun 2022, 15:50
Forum: Installation & Configuration
Topic: JNLPClassLoader cannot find class: ClassNotFoundException
Replies: 5
Views: 51170

Re: JNLPClassLoader cannot find class: ClassNotFoundException

Yes, as standalone application in Oracle Java 17.0.1 it works just fine, the problem occur only when starting with OpenWebStart, tried version 1.5.2 and 1.6.0. Both these libraries are provided in the web-application and you can see in the log that these libraries are also correctly loaded from ...
by marek
24 Jun 2022, 11:01
Forum: Installation & Configuration
Topic: JNLPClassLoader cannot find class: ClassNotFoundException
Replies: 5
Views: 51170

JNLPClassLoader cannot find class: ClassNotFoundException

We experience some strange behavior when running a graphical application using, which is started using OpenWebStart 1.6.0 running on Oracle Java 17.0.1 on Windows 10. The application is correctly downloaded to the client from the server as defined in the JNLP and after the start the following two ...