Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Switch Java and JDK version on Mac #50

Closed
tango4567 opened this issue Nov 1, 2022 · 1 comment
Closed

How to Switch Java and JDK version on Mac #50

tango4567 opened this issue Nov 1, 2022 · 1 comment
Labels

Comments

@tango4567
Copy link
Owner

No description provided.

@tango4567 tango4567 added the mac label Nov 1, 2022
@tango4567
Copy link
Owner Author

I'm using bash

Open bash Profile
sudo nano ~/.bash_profile

Add the following line
export JAVA_HOME=$(/usr/libexec/java_home -v11)

Then runsource ~/.bash_profile

Video Solution by Seho Lim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant