question

Upvotes
Accepted
1 0 3 9

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?

rfajava
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.5k 16 7 10

Hello @chris.xiao

I suggest you contact the RDC support team via the Contact Premium Support to verify this JDK compatibility issue.

rfa-java-support.png


rfa-java-support.png (110.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
1.5k 3 5 7

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 3 9

@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)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 3 9

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea