DEV Community

raquezha
raquezha

Posted on

Sharing is only supported for boot loader classes because bootstrap classpath has been appended.

Alt Text

I've encountered this error when I set Gradle JDK 16, downgrading to Java Version 11 seems to fix the issue.

If downgrading is not an issue for you then this will fix it.

Alt Text

--
Here's what I'm using

  1. Android Studio Arctic Fox | 2020.3.1 Canary 15
  2. Gradle 7.0
  3. Amazon Correto 16.0.1 (bug)
  4. Java Version 11.0.1 (fix)

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay