10/21
2017
05:20:04
0,
0
In
프로그래밍
OSX 자바버전 변경
$ /usr/libexec/java_home -V
Matching Java Virtual Machines (3):
9.0.1, x86_64: "Java SE 9.0.1" /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
9, x86_64: "Java SE 9" /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
1.8.0_152, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home
$ setjdk() {
export JAVA_HOME=$(/usr/libexec/java_home -v $1)
sudo ln -nsf ${JAVA_HOME%/*} /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
}
setjdk 1.8
--
자바9와 롬복, 인텔리제이 이슈덕분에 osx 자바버전 변경하는법 찾아 봄
https://github.com/mplushnikov/lombok-intellij-plugin/issues/421
--
아하~ Java SE 9.0.1 이렇게 버전 적용되는구나~ 처음에 9라고만 나와서... (9.0.0 을 기대했었는데..)
◀ 11/22 2017 00:33:10
언제부터 이런게 있었던거지?
10/20 2017 15:10:40 ▶
Java SE 9.0.1 이 나왔다!
Java SE