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


Groups > comp.lang.java.programmer > #38998 > unrolled thread

Running Java in OpenJDK

Started byEric Douglas <e.d.programmer@gmail.com>
First post2019-07-05 05:36 -0700
Last post2019-07-05 12:41 -0700
Articles 2 — 1 participant

Back to article view | Back to comp.lang.java.programmer


Contents

  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

#38998 — Running Java in OpenJDK

FromEric Douglas <e.d.programmer@gmail.com>
Date2019-07-05 05:36 -0700
SubjectRunning Java in OpenJDK
Message-ID<92e75b18-3968-4bff-9a19-24871ac6085c@googlegroups.com>
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.

[toc] | [next] | [standalone]


#39000

FromEric Douglas <e.d.programmer@gmail.com>
Date2019-07-05 12:41 -0700
Message-ID<c5e4230f-9266-43e8-bbaf-978c60f08d71@googlegroups.com>
In reply to#38998
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web