remove eclipse folder and folowings:
~/.eclipse (folder);
~/Library/Saved Application/org.eclipse.eclipse.savedState;
~/Library/Preferences/org.eclipse.eclipse.plist;
~/Library/Caches/org.eclipse.eclipse;
… and of course the eclipse install folder

Comment and share

1
2
3
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Comment and share

homebrew指令筆記

in mac

安裝

homebrew會裝到/usr/local/

1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

指令

1
2
3
4
5
6
#homebrew檢查
brew doctor
#homebrew更新
brew update
#列出安裝的module
brew list
1
2
3
4
5
6
7
8
9
10
11
12
#module會裝到/usr/local/opt/xxx
#安裝xxx模組
brew install xxx
brew uninstall xxx
#更新xxx模組
brew upgrade xxx
#homebrew在執行upgrade後不會自動將舊版本刪掉[避免某些軟體用絕對路徑相依導致不能使用],需要手動執行以下
#列出cleanup會刪除的formula
brew cleanup -n
#刪除舊版本
brew cleanup [xxx]

Comment and share

Cwza

Hello everyone.
I’m cwza.
Welcome to my blog.


Software Engineer


Taiwan/Taipei