[JAVA] 맥북 자바 완적 삭제

2023. 3. 27. 21:24백엔드/JAVA

728x90
aui-MacBook-Pro:~ $ sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
Password:
aui-MacBook-Pro:~ $ sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefPane
aui-MacBook-Pro:~ $ sudo rm -fr ~/Library/Application\ Support/Oracle/Java
aui-MacBook-Pro:~ $ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
aui-MacBook-Pro:~ $ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
    1.8.0_191, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home
#자바 완전삭제 #
aui-MacBook-Pro:~ $ sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
aui-MacBook-Pro:~ $ sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefPan
aui-MacBook-Pro:~ $ sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk
aui-MacBook-Pro:~ $ /usr/libexec/java_home -V
728x90

'백엔드 > JAVA' 카테고리의 다른 글

[JAVA] Stream_ map() 과 flatMap() 차이  (0) 2023.11.29
[JAVA] Stream_ (1) Stream 생성  (2) 2023.11.28
[설치] JDK 버전 변경 방법  (0) 2023.03.08
[설치] JAVA 11 설치방법  (0) 2023.03.07
[설치] JAVA 1.8 설치방법  (0) 2021.02.06