pah8J
pah8J

Reputation: 867

How can I make bazel depend on Oracle JDK instead of OpenJDK?

My platform is Ubuntu 18.04 LTS, and I have already installed JDK 1.8.0_172. However when I install bazel from .sh file, it request me to install openjdk. And when I install it from .deb file, it must to install openjdk from apt repo. Even if the space that open jdk take up is bearable, The conflict of java and javac command in bash window, and the other software which depend java are unavoidable. I am wondering if there is possibility to configure hotpot jdk as default.

How can I make it?

Here is the related website and files:

Bazel Release in Github

The .sh installer I used

The .deb package I used

Upvotes: 2

Views: 605

Answers (1)

Ittai
Ittai

Reputation: 5915

This isn’t an answer to your direct question but I think it might solve your problem (if you’re willing to pay the extra space). Use the installer with the jdk bundled inside and I’m fairly confident you shouldn’t have a conflict

Upvotes: 2

Related Questions