No, we weren't aware of this.
I think you're right -- this is probably a JDK 9 bug. Could you please post the JE version and the stack trace so we can confirm?
Yes, using a newer version of JDK 9 sounds like a good idea, and please let us know if that solves it.
java.lang.IllegalStateException: java.lang.IllegalAccessException: class com.sleepycat.je.utilint.JVMSystemUtils cannot access class sun.management.BaseOperatingSystemImpl (in module java.management) because module java.management does not export sun.management to unnamed module @9816741
Version of BDB/je is
java -cp je.jar com.sleepycat.je.util.DbVerify -V
JVM is JDK-9-ea-121
Thanks. I did a little searching and it seems to be more of a JDK 9 feature than a bug. I found a couple possible solutions. I haven't tried them yet, and I will investigate further, but I wanted to let you know about the first one now, since it be a quick solution for you.
talks about adding this JVM command line option:
Hopefully this works for you.
A fix in NetBeans may provide a way to avoid having to add the JVM option. This would be better in the long term of course, if it works.
I'll look into doing this in JE.
Ah I see why. Yeah, that is a feature will you consider backporting the patch to the 5 series? There is 286 days before JDK9 is GA, so not in a hurry.
Did you try using -XaddExports? I think it would help others on the forum to know about this.
No, we won't be back-porting any fixes to the 5.0.x versions of JE unless a customer requires it. I strongly recommend upgrading to the latest version, because we can support you much better that way.
Yes the -XaddExports works like a charm. Unfortunately, a licensing conflict prevents us from upgrading and budgets as a non profit means we can't afford the commercial license. Understand about the 5.0.x decision. We might split the project into 2 so that we can live with these two conflicting licenses but have not done so yet.
Thanks for trying -XaddExports and letting us know.
FYI, we made a change that avoids having to add XaddExports. This will be in JE 7.2.