Menu

#100 java 13.0.2 linux

3.0
open
nobody
5
2020-02-13
2020-02-09
No

Hi for all.

I am trying to use GenealogyJ and
receive the messages in attache file
genj.erro.txt. The installinformation
file is also here. The try was maded under
a slackware 14.2 and java oracle 13.0.2.
The uname -a output is:
Linux host 4.4.208 #1 SMP Wed Jan 8 15:23:19
CST 2020 x86_64 Intel(R) Core(TM) i7-4790K
CPU @ 4.00GHz GenuineIntel GNU/Linux

1 Attachments

Discussion

  • Jorge Barros de Abreu

    Here more information.

     
  • Nils Meier

    Nils Meier - 2020-02-12

    It looks like this is an issue with how GenJ used a non official Java feature for loading services (a registry of capabilities).

    As per Java 9 documentation

    There is an incompatible change in this area in JDK 9. From the JDK 9 release notes:

    Since Java SE 1.4, javax.imageio.spi.ServiceRegistry provided a facility roughly equivalent to the Java SE 1.6 java.util.ServiceLoader. This image i/o facility is now restricted to supporting SPIs defined as part of javax.imageio. Applications that use it for other purposes need to be re-coded to use ServiceLoader.

    We have work to move to ServiceLoader I think, have to check.

    Meanwhile, I would try Java 8.

    WARNING:System.err:Caused by: java.lang.IllegalArgumentException: genj.option.OptionProvider is not an ImageIO SPI class
    WARNING:System.err:at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
    WARNING:System.err:at java.desktop/javax.imageio.spi.ServiceRegistry.lookupProviders(ServiceRegistry.java:207)
    WARNING:System.err:at genj.option.OptionProvider.lookupProviders(Unknown Source)
    WARNING:System.err:at genj.option.OptionProvider.getAllOptions(Unknown Source)
    WARNING:System.err:... 7 more

     
  • Nils Meier

    Nils Meier - 2020-02-12

    Oh, I see jeffnik@ fixed that 22/09/18 - will try to create a build that includes latest changes by tkalliom@. That should then run on your system. Should be possible by eow.

     
  • Jorge Barros de Abreu

    Thanks Mr. Nils Meier.

     

Log in to post a comment.

MongoDB Logo MongoDB