Page 1 of 1

Option --illegal-access is deprecated in Java 16

Posted: 20 Jun 2021, 04:52
by wiifm
Saw this after a recent Java update (using rednoah's custom Java Installer package)

Code: Select all

$ filebot -version
OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.
FileBot 4.9.3 (r8338) / OpenJDK Runtime Environment 16.0.1 / Linux 4.4.59+ (amd64)

$ which java
/usr/local/bin/java

$ java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
Could not find any new forum posts about this, so I thought I would start one. FWIW, filebot still works, just this warning is present.

Using DSM 6.2.4, on a DS918+.

Re: Option --illegal-access is deprecated in Java 16

Posted: 20 Jun 2021, 06:19
by rednoah
Just a warning. You can either ignore it, or upgrade to the latest revision to make it go away.

Re: Option --illegal-access is deprecated in Java 16

Posted: 20 Jun 2021, 09:05
by wiifm
Sweet as, thanks @rednoah.

Re: Option --illegal-access is deprecated in Java 16

Posted: 29 Sep 2021, 01:47
by IceQueen
Latest version of filebot or java? I have the latest of both and still see this warning.

Code: Select all

C:\Program Files\FileBot>filebot -version
OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.
FileBot 4.9.4 (r8736)

C:\Program Files\FileBot>java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

Re: Option --illegal-access is deprecated in Java 16

Posted: 29 Sep 2021, 01:54
by rednoah
What does filebot -script fn:sysinfo say?