OpenJDK supported?

#1

I successfully installed OrientDB 3.0.18 using Oracle Java 12.

However in light of Oracle’s changes to the license agreement I want to get OrientDB running under OpenJDK, which fails on server start up with a ClassNotFoundException: javax.activation.Datasource.

Can anyone shed light on how to start the server on Open JDK and/or confirm whether Open JDK is supported by OrientDB?

Thanks
Ian

0 Likes

#2

Hi @Ian

this must be related to some JDK classes that were deprecated in v 11 and removed in v 12. I’ll check it ASAP, probably it only needs an additional dependency

Thanks

Luigi

0 Likes

#3

Hi Luigi,

Any news on this?

Ian

0 Likes

#4

Hi @luigidellaquila, just to confirm I experience the same problem as Ian. I’ve tried with OpenJDK 12 and 11.0.2.

Thanks, Rob.

0 Likes

#5

Hi @RobG

I just pushed a fix on 3.0.x branch, the 3.0.19-SNAPSHOT is already available for download https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/3.0.19-SNAPSHOT/

Thanks

Luigi

0 Likes

#6

Thanks Luigi, I can confirm that’s resolved the errors for my installation.

0 Likes

#7

Hi Rob,

can you please let me know how did you set up your linux machine. I am getting an exception (Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource) and i am not sure what i am doing wrong. Is it because of config file or …?
Java version: openjdk 10.0.2 and i have tried to install https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/3.0.19-SNAPSHOT/orientdb-community-3.0.19-20190404.160626-10.tar.gz

Thank you,

0 Likes