![]() ![]() If output of step 1.4 doesn’t contains Information about JavaVirtualMachines, you might also need to check if there are folder inside path /Library/Java/JavaVirtualMachines. ![]() sudo rm -fr /Users/yourUserName/Library/Java/JavaVirtualMachines/adopt-openjdk-1.8.0_275 sudo rm -fr /Users/yourUserName/Library/Java/JavaVirtualMachines/corretto-17.0.3 If the output contains information about JavaVirtualMachines, then you need to delete the folder inside JavaVirtualMachines like the example followed.ġ7.0.3 (x86_64) “ Inc.” - “Amazon Corretto 17” /Users/yourUserName/Library/Java/JavaVirtualMachines/corretto-17.0.3/Contents/Homeġ.8.0_275 (x86_64) “AdoptOpenJDK” - “OpenJDK 8” /Users/yourUserName/Library/Java/JavaVirtualMachines/adopt-openjdk-1.8.0_275/Contents/Home # Delete the folder inside JavaVirtualMachines cd /Users/yourUserName/Library/Java/JavaVirtualMachines/ ls #Remove all subfolder under your JavaVirtualMachines folder. If the output of step 1.1 doesn’t contain Information about Homebrew, please then execute command below. # In case the openjdk 8 was found via "java -version" brew uninstall Deinstall Java manuelly “OpenJDK Runtime Environment Homebrew”), you can deinstall Java use brew, then go to step 2 “Install OpenJDK 11 via brew”. In case that the output of step 1.1 shows the version of Java and the output contains information about Homebrew (e.g. ![]() Unable to locate a Java Runtime.ġ.3 Deinstall Java use brew. You can then jump to step 2 “Install OpenJDK 11 via brew”. If the output of step 1.1 is something like the text followed, it means that there is no JDK installed in your system. 1.1 Firstly, execute followed command in Terminal to check if Java is installed on your laptop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |