Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39000

Re: Running Java in OpenJDK

Newsgroups comp.lang.java.programmer
Date 2019-07-05 12:41 -0700
References <92e75b18-3968-4bff-9a19-24871ac6085c@googlegroups.com>
Message-ID <c5e4230f-9266-43e8-bbaf-978c60f08d71@googlegroups.com> (permalink)
Subject Re: Running Java in OpenJDK
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Friday, July 5, 2019 at 8:36:57 AM UTC-4, Eric Douglas wrote:
> I installed jdk-11.0.3.7-hotspot.
> I tried to run a test program the same way I did under Java SE 8.
> I get this error:
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module jdk.internal.vm.compiler not found, required by jdk.aot
> 
> What do they mean not found?  This is listed under 'Module Dependencies' on the project build path window.

weirdness.  I removed the JDK library from the build path and re-added it and it fixed that.  Then I got an error about some conflict with lucene, so I moved that from module path (where it placed it by default for some reason) to classpath.  Everything seems to be working in OpenJDK 11 just as it did in Java SE 8.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Running Java in OpenJDK Eric Douglas <e.d.programmer@gmail.com> - 2019-07-05 05:36 -0700
  Re: Running Java in OpenJDK Eric Douglas <e.d.programmer@gmail.com> - 2019-07-05 12:41 -0700

csiph-web