Skip to content

Shared JDK for Users #604

Answered by karianna
DMATVON asked this question in Q&A
Apr 10, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Having multiple users share a single installation of the Java Development Kit (JDK) or Java Runtime Environment (JRE) can lead to several disadvantages and potential issues:

  1. Configuration Conflicts: Different projects or users may require different JDK or JRE settings. Shared configurations can lead to conflicts, such as differences in environmental variables like JAVA_HOME or PATH. Adjustments by one user can inadvertently affect others, leading to build failures or runtime errors.

  2. Versioning Issues: If a project needs a specific version of the JDK or JRE that is different from what another project uses, it can lead to compatibility issues. While tools like SDKMAN or containerization…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@karianna
Comment options

@DMATVON
Comment options

Answer selected by karianna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants