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: 19917
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.
Post Reply