Wrong commands to install openJDK
See original GitHub issueDescribe the bug Our quickstart says…
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk11
java -version
This isn’t valid syntax as of early 2021.
Furthermore, if you do brew install, openjdk does not become the default version of Java. There are instructions on how to do this, but they are presented as only being needed if you do not use homebrew at all.
Expected behavior The code block should probably be something like
brew tap AdoptOpenJDK/openjdk
brew install adoptopenjdk11
unset JAVA_HOME
export JAVA_HOME=`/usr/libexec/java_home -v 11`
java -version
┆Issue is synchronized with this Jira Story ┆friendlyId: DOCK-1925 ┆sprint: Sprint 74- Aquaman ┆taskType: Story
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:14 (4 by maintainers)
Top Results From Across the Web
can't install openjdk keeps giving me error - Ask Ubuntu
can't install openjdk keeps giving me error ... Here's the commands i have tried. ... Have you tried sudo apt-get install -f ?...
Read more >Chapter 2. Installing OpenJDK 11 on Red Hat Enterprise Linux
2.1. Installing a JRE on RHEL by using yum · Run the yum command, specifying the package you want to install: Copy. Copied!...
Read more >Install Java 11 OpenJDK on Windows (a system path issue)
To install Java without installer I, of course, had set my system settings PATH and JAVA HOME to the address of the folder...
Read more >javac: command not found" error after installing OpenJDK 1.7 ...
I have fixed this issue by executing the following command. I was not setting the PATH variable properly. I executed the following two ......
Read more >'Java Not Recognized' Error Fix - TheServerSide.com
Install or reinstall Java and the JDK on your computer · Add Java's bin directory to the computer's PATH · Restart the command...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Documentation written as an escaped Markdown string in a Javascript variable in a file deep in an application directory structure? Yuck.
Additionally, it seems that the instructions don’t put dockstore on the path permanently, and will keep making .bashrc larger and larger.