Page 1 of 1

WARNING at startup

PostPosted: May 18th, 2020, 10:23 am
by starglide
I have just installed Vassal 3.2.17-linux
I am on an Ubuntu 18.04.4 LTS laptop

I launched from the terminal, this is the warning I get. The program seems to be running fine.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by VASSAL.tools.image.ImageIOImageLoader (file:/home/username/Vassal/lib/Vengine.jar) to field sun.java2d.cmm.ProfileDeferralMgr.deferring
WARNING: Please consider reporting this to the maintainers of VASSAL.tools.image.ImageIOImageLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Re: WARNING at startup

PostPosted: May 18th, 2020, 12:14 pm
by uckelman
VASSAL 3.2.17 isn't compatible with Java 9 or later. (You're probably using Java 11 on Ubuntu.)

VASSAL 3.3.0, which is in beta now, is compatible with Java 9 or later. Either use that, or install Java 8.

Re: WARNING at startup

PostPosted: May 18th, 2020, 4:43 pm
by shilinski
uckelman wrote:VASSAL 3.2.17 isn't compatible with Java 9 or later. (You're probably using Java 11 on Ubuntu.)

VASSAL 3.3.0, which is in beta now, is compatible with Java 9 or later. Either use that, or install Java 8.

Wouldn't it be better and easier to catch some of these exceptions and show an explanation in a dialog box?

Re: WARNING at startup

PostPosted: May 18th, 2020, 6:12 pm
by uckelman
Thus spake shilinski:
>
> "uckelman" wrote:
> > VASSAL 3.2.17 isn't compatible with Java 9 or later. (You're probably
> > using Java 11 on Ubuntu.)
> >
> > VASSAL 3.3.0, which is in beta now, is compatible with Java 9 or
> > later. Either use that, or install Java 8.
>
> Wouldn't it be better and easier to catch some of these exceptions and
> show an explanation in a dialog box?

Yes, and it's already done: The Linux start script for 3.3.0 prints a
message telling you that you need at least Java 11.

(Sorry, the above should have said Java 11, not Java 9. This changed
betwen beta2 and beta3.)

--
J.

Re: WARNING at startup

PostPosted: May 20th, 2020, 7:27 am
by starglide
Installed the beta! Thanks a lot for helping!