Unrecognized option: --module-path

Support for Ubuntu and other Desktop Linux distributions
Post Reply
neo3004
Posts: 2
Joined: 17 Apr 2019, 17:16

Unrecognized option: --module-path

Post by neo3004 »

Filebot does not start because of following error:

Code: Select all

Unrecognized option: --module-path
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
My Java Environment:

Code: Select all

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unrecognized option: --module-path

Post by rednoah »

You're using the JDK 11 version of FileBot with JDK8, which doesn't work.

If you're stuck with JDK8 then you'll need to install the JDK8 builds. Alternatively, installing JDK11 will find the trick as well.
:idea: Please read the FAQ and How to Request Help.
neo3004
Posts: 2
Joined: 17 Apr 2019, 17:16

Re: Unrecognized option: --module-path

Post by neo3004 »

Thanks for your quick reply. I've switched to JDK 11
But then the next problem appeared:

Code: Select all

(java:3878): Gdk-CRITICAL **: 20:11:40.666: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f380fc0b76a, pid=3878, tid=3917
#
# JRE version: OpenJDK Runtime Environment (11.0.3+1) (build 11.0.3+1-Debian-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+1-Debian-1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libX11.so.6+0x2e76a]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid3878.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
I Have found the info that it could be a problem with Wayland so adding a -Djdk.gtk.version=2 to the VM arguments does the trick for me!
Post Reply