WordRider Home
Welcome! Log In Create A New Profile

Advanced

Trouble running with Java 9

Posted by malejjardik 
Trouble running with Java 9
January 02, 2018 08:12PM
FRD doesn't launch with Java 9 using the frd.exe file with error saying it requires Java runtime 1.6. Oracle Java 9 is installed and present in PATH.

When I run it from command line, I get a main window. FRD then throws exceptions when updating plugins because of missing java.xml.bind - module must be added by using command line arguments, as it is not default in Java 9:
--add-module java.xml.bind

When adding files to download, it throws exception java.lang.ClassCastException: java.desktop/javax.swing.text.AbstractDocument$DefaultDocumentEventUndoableWrapper cannot be cast to java.desktop/javax.swing.text.AbstractDocument$DefaultDocumentEvent
This is due to change in Java 9: https://stackoverflow.com/questions/47571351/how-to-resolve-updating-gui-error-in-jmeter
Re: Trouble running with Java 9
January 02, 2018 08:13PM
Check this out [wordrider.net]

-------------------------------------





Edited 1 time(s). Last edit at 01/02/2018 08:14PM by Vity.
Re: Trouble running with Java 9
January 02, 2018 08:20PM
When I try downloading a file from uloz.to. File presence check succeeds, but when downloading, there is another error in console window:

21:17:24 WARNING: class not visible, no class filter found, lib=file:/C:/Users/Jardik/AppData/Local/Temp/.jpf-shadow/ulozto_captcha@1.0.1.frp, class=class cz.vity.freerapid.plugins.services.ulozto_captcha.SoundReader, this={PluginClassLoader: uid=1944345739; {PluginDescriptor: uid=ulozto_captcha@1.0.1}}, requestor={PluginClassLoader: uid=2032281201; {PluginDescriptor: uid=uloz.to@1.3.16}}
21:17:24 SEVERE: cz.vity.freerapid.core.tasks.DownloadTask@4ba4f70e failed: java.lang.NoClassDefFoundError: cz/vity/freerapid/plugins/services/ulozto_captcha/SoundReader
java.lang.NoClassDefFoundError: cz/vity/freerapid/plugins/services/ulozto_captcha/SoundReader
at cz.vity.freerapid.plugins.services.ulozto.UlozToRunner.stepCaptcha(Unknown Source)
at cz.vity.freerapid.plugins.services.ulozto.UlozToRunner.run(Unknown Source)
at cz.vity.freerapid.plugins.webclient.AbstractFileShareService.run(AbstractFileShareService.java:102)
at cz.vity.freerapid.core.tasks.DownloadTask.doInBackground(DownloadTask.java:98)
at cz.vity.freerapid.core.tasks.DownloadTask.doInBackground(DownloadTask.java:42)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: class cz.vity.freerapid.plugins.services.ulozto_captcha.SoundReader is not visible for plug-in uloz.to, no filter found for library file:/C:/Users/Jardik/AppData/Local/Temp/.jpf-shadow/ulozto_captcha@1.0.1.frp
at org.java.plugin.standard.StandardPluginClassLoader.checkClassVisibility(StandardPluginClassLoader.java:611)
at org.java.plugin.standard.StandardPluginClassLoader.loadPluginClass(StandardPluginClassLoader.java:466)
at org.java.plugin.standard.StandardPluginClassLoader.loadPluginClass(StandardPluginClassLoader.java:491)
at org.java.plugin.standard.StandardPluginClassLoader.loadClass(StandardPluginClassLoader.java:372)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more
21:17:24 SEVERE:
java.lang.NoClassDefFoundError: cz/vity/freerapid/plugins/services/ulozto_captcha/SoundReader
at cz.vity.freerapid.plugins.services.ulozto.UlozToRunner.stepCaptcha(Unknown Source)
at cz.vity.freerapid.plugins.services.ulozto.UlozToRunner.run(Unknown Source)
at cz.vity.freerapid.plugins.webclient.AbstractFileShareService.run(AbstractFileShareService.java:102)
at cz.vity.freerapid.core.tasks.DownloadTask.doInBackground(DownloadTask.java:98)
at cz.vity.freerapid.core.tasks.DownloadTask.doInBackground(DownloadTask.java:42)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: class cz.vity.freerapid.plugins.services.ulozto_captcha.SoundReader is not visible for plug-in uloz.to, no filter found for library file:/C:/Users/Jardik/AppData/Local/Temp/.jpf-shadow/ulozto_captcha@1.0.1.frp
at org.java.plugin.standard.StandardPluginClassLoader.checkClassVisibility(StandardPluginClassLoader.java:611)
at org.java.plugin.standard.StandardPluginClassLoader.loadPluginClass(StandardPluginClassLoader.java:466)
at org.java.plugin.standard.StandardPluginClassLoader.loadPluginClass(StandardPluginClassLoader.java:491)
at org.java.plugin.standard.StandardPluginClassLoader.loadClass(StandardPluginClassLoader.java:372)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 11 more
Re: Trouble running with Java 9
January 02, 2018 08:21PM
Okay I will, thank you
Re: Trouble running with Java 9
January 02, 2018 08:26PM
1.0 works, thank you.
Re: Trouble running with Java 9
June 14, 2022 07:57AM
Thank you
Sorry, only registered users may post in this forum.

Click here to login