Option --illegal-access is deprecated in Java 16

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
wiifm
Posts: 4
Joined: 22 Mar 2020, 00:14

Option --illegal-access is deprecated in Java 16

Post 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+.
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

Just a warning. You can either ignore it, or upgrade to the latest revision to make it go away.
:idea: Please read the FAQ and How to Request Help.
wiifm
Posts: 4
Joined: 22 Mar 2020, 00:14

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

Post by wiifm »

Sweet as, thanks @rednoah.
IceQueen
Posts: 18
Joined: 28 Jul 2019, 11:08

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

Post 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)
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

What does filebot -script fn:sysinfo say?
:idea: Please read the FAQ and How to Request Help.
Post Reply