Will RFAJ 8.2.1.L3 work with Java 11?

My initial try is to install Zulu OpenJDK (v11.43) but it does not work with my eclipse. But I do hear my coworkers have newer eclipse version working but has call error

com.reuters.rfa.session.Session.acquire(String sessionName) that fails

with error ExceptionInInitializerError


Is there any recommendation in using RFA in Java 11?

Tagged:

Best Answer

Answers

  • It should indeed work with JDK 11 according to the README file distributed with the RFA SDK.

    For your ExceptionInInitializerError problem:
    Isn't there a "Caused by" in your stacktrace? Please share full stacktrace.

    Btw: If the problem occurs in class com.reuters.rfa.session.Session then I doubt it has to do with what IDE you're using. Try to reproduce the problem from the command line, for example by doing mvn package command .. or whatever build system you use.

  • @Lars-at-Addicticks

    ushal Hakani 9:42 AM


    java.lang.ExceptionInInitializerError

    at rfa@8.2.1.L3/com.reuters.rfa.internal.common.ContextImpl.<clinit>(Unknown Source)

    at rfa@8.2.1.L3/com.reuters.rfa.internal.rwf.OMMPoolInt.<clinit>(Unknown Source)

    at rfa@8.2.1.L3/com.reuters.rfa.omm.OMMPool.create(Unknown Source)

    at com.rbccm.rdps.reuters/com.rbccm.rdps.reuters.client.OmmSession.<clinit>(OmmSession.java:32)

  • once in eclipse right click -> configure -> Create module-info.java and change compliance to Java 11, the issue would come up. At this point, we just not make it true java 11