activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ and Java 9
Date Wed, 14 Feb 2018 19:50:37 GMT
On 02/14/2018 02:10 PM, nbhc wrote:
> Does ActiveMQ work with Java 9? I tried v5.15.2 and JDK9.0.4, activemq fails
> to start with exception like below:
>
> java.io.IOException: java.lang.IllegalAccessException: class
> org.iq80.leveldb.util.ByteBufferSupport cannot access class
> jdk.internal.ref.Cleaner (in module java.base) because module java.base does
> not export jdk.internal.ref to unnamed module
>
> I checked Java 9 doc, and found that most internal APIs (from Java 8 &
> earlier) will be encapsulated in Java 9 and inaccessible by default (based
> on JEP 260), so these internal APIs, which are mostly sun.* APIs, will NOT
> be supported any more, and should not be used.
>
> But activemq.jar uses one of the internal APIs, sun.misc.Cleaner, which is
> not supported in Java 9.
>
> Anyone knows if ActiveMQ supports Java 9 or any workaround for above issue?
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>
LevelDB is deprecated and you should switch to the default KahaDB store 
and see if that works instead.

-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message