文獻管理軟件Jabref的4.x版本在MacOS上使用時會出現雙擊文獻條目響應緩慢的問題(屢次雙擊可能致使程序直接卡死),正常狀況下應是當即打開文獻條目編輯窗口。這多是MacOS上Java的問題。java
解決方法:用root權限修改/etc/hosts文件,添加以下兩行git
127.0.0.1 localhost mymac.local ::1 localhost mymac.local
其中mymac.local爲Mac的hostname,能夠在終端輸入hostname命令得到,如github
JaysonLin:etc jayson$ hostname JaysonLin.local
(參見https://github.com/JabRef/jabref/issues/3227, https://dzone.com/articles/macos-sierra-problems-with-javanetinetaddress-getl, https://stackoverflow.com/questions/39636792/jvm-takes-a-long-time-to-resolve-ip-address-for-localhost/39698914#39698914)macos