I don't know what This means When I Typed cd /Libary/Java/JavaVirtualMachines/. all that pops up is "No such file or directory: /Libary/Java/JavaVirtualMachines/
Please use below command to find the java home java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home' Also if it is old mac then the location can be "/Library/Java/Home". It may be worth checking "/Library/Internet Plug-Ins/" in case JRE is installed instead of JDK in your laptop.
I did all that you said for SK Launcher (For some reason I thought I had to remove it) And now that I want Java back, I tried to download the JDKs but it is showing error while opening Tlauncher - The operation could not be completed. Failed to execute /Library/Java/JavaVirtualMachines/jdk-16.0.1.jdk/COntents/Home/bin/jav: No such file or directory Please help! I need Java back and I need to be able to run this!
When I put the sudo commands in it says it wants a password? I can't type anything really because like a second after it pops up it just says "sorry, try again" and if I press enter three times it says I got the password wrong three times?? I don't know what to do
Thanks for reaching out... I am afraid that if we don't have password, we can't do much while using sudo. Have you checked without sudo in case if you have admin access?
I am very new to the Mac Apple world. I don't know how to get to decoding screen that you are demonstrating I know how to get to it in windows but not on a MacBook. So I can't enter the code did you show because I don't know how to get to that screen
its very easy. go to the dock on the bottom row where all the apps are. then go further to the launchpad. you can search "terminal" there and you only need to press it and poof you're there :) I hope this helped.
hi thanks for your steps Actually, I have tried all steps and it worked but in my MacBook terminal when I launch the command java -version, it still shows the result of v18 what should I do?
I followed all the steps and got to eliminate the files on JavaVirtualMachines directory but still when I type java -version it shows me this; openjdk version "15.0.6" 2022-01-18 OpenJDK Runtime Environment Zulu15.38+17-CA (build 15.0.6+5-MTS) OpenJDK 64-Bit Server VM Zulu15.38+17-CA (build 15.0.6+5-MTS, mixed mode, sharing) please help
i did the same steps for deleting it completely , but then i've closed the terminal , re open it and typed Java -version , and it shows that it was not deleted:(
Please use below command to find the java home java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home' Also if it is old mac then the location can be "/Library/Java/Home". It may be worth checking "/Library/Internet Plug-Ins/" in case JRE is installed instead of JDK in your laptop.
I don't know what This means When I Typed cd /Libary/Java/JavaVirtualMachines/.
all that pops up is "No such file or directory: /Libary/Java/JavaVirtualMachines/
Thanks Terron. It seems Java is not installed or you may not have admin access. If you run java -version in terminal what are you getting?
@@SrcCodes the version is 15.0.1 on java
Please use below command to find the java home
java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home'
Also if it is old mac then the location can be "/Library/Java/Home". It may be worth checking "/Library/Internet Plug-Ins/" in case JRE is installed instead of JDK in your laptop.
Basically idea here is we need to find the directory and manually remove as there is no uninstaller available to do this cleanup activity.
@@SrcCodes its a 2017 mac but i bought it 4 months ago
Awesome, this is exactly what I've been looking for and no blog post out there could explain properly!!
Glad it helped! 🙏
worked just fine for me , thanks abhishek
This worked and thankyou !
Thanks for letting me know
when i do the command 1s, it shows command not found
finnally! Thank you!!!
Thank you, my friend !
Thanks 👍
Thank you
When i do ls nothing shows inside the folder PreferencePanes, Internet Plug-Ins
Then probably plugins are not installed. But that's ok.
thank you!
Thanks!!
How did u enter password ?
Becz it is not allow me to type password in terminal on mine MacBook Pro 2016
How to do? Plzz guide me
thank you very much for macbook pro m1 ! so i just use first macbook !
:)
I did all that you said for SK Launcher (For some reason I thought I had to remove it) And now that I want Java back, I tried to download the JDKs but it is showing error while opening Tlauncher -
The operation could not be completed. Failed to execute /Library/Java/JavaVirtualMachines/jdk-16.0.1.jdk/COntents/Home/bin/jav: No such file or directory
Please help! I need Java back and I need to be able to run this!
Really sorry to hear that. Would you please check this for java installation th-cam.com/video/SgI8Voz1Qnc/w-d-xo.html
Thanks
When I put the sudo commands in it says it wants a password? I can't type anything really because like a second after it pops up it just says "sorry, try again" and if I press enter three times it says I got the password wrong three times?? I don't know what to do
Thanks for reaching out... I am afraid that if we don't have password, we can't do much while using sudo. Have you checked without sudo in case if you have admin access?
for me it says permission denied. but my user is the ONLY user.
Thanks for reaching out. Please try using sudo
when I write "ls" it doesn't tell me anything, so?
Thanks. Do you mean "ls" in Java virtual machines directory?
I am very new to the Mac Apple world. I don't know how to get to decoding screen that you are demonstrating I know how to get to it in windows but not on a MacBook. So I can't enter the code did you show because I don't know how to get to that screen
its very easy. go to the dock on the bottom row where all the apps are. then go further to the launchpad. you can search "terminal" there and you only need to press it and poof you're there :) I hope this helped.
perfect
hi thanks for your steps
Actually, I have tried all steps and it worked but in my MacBook terminal when I launch the command java -version, it still shows the result of v18
what should I do?
Same issues facing..Did you get any solution?
I followed all the steps and got to eliminate the files on JavaVirtualMachines directory but still when I type java -version it shows me this;
openjdk version "15.0.6" 2022-01-18
OpenJDK Runtime Environment Zulu15.38+17-CA (build 15.0.6+5-MTS)
OpenJDK 64-Bit Server VM Zulu15.38+17-CA (build 15.0.6+5-MTS, mixed mode, sharing)
please help
Same here...got any solution ?
i did the same steps for deleting it completely , but then i've closed the terminal , re open it and typed Java -version , and it shows that it was not deleted:(
Are you seeing any JDK in "/Library/Java/JavaVirtualMachines/" ?
@@SrcCodes same thing, and in /Library/Java there's only Extensions folder
Please use below command to find the java home
java -XshowSettings:properties -version 2>&1 > /dev/null | grep 'java.home'
Also if it is old mac then the location can be "/Library/Java/Home". It may be worth checking "/Library/Internet Plug-Ins/" in case JRE is installed instead of JDK in your laptop.
@@SrcCodes i've noticed that it was an OpenJDK, I've used this commands to delete it :
cd /Users/user1/Library/Java/
sudo rm -fr JavaVirtualMachines/*
Awesome! Thanks for sharing the solution.
La ringrazio 🙏
@SrcCodes i need help can you help me deleting java i pay you money
greeeeat
Thanks.