6/21/2023 0 Comments Update alternatives javaNeither did sym linking the javac inside /usr/bin to the javac in my jdk folder.Īny ideas how to get javac to use my 1.8 version ? ![]() Sym linking the CurrentJDK folder in "/System/Library/Frameworks/amework/Versions/" to the jdk folder in Library didn't change anything. I have the 1.8 jdk installed under "/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk", but even when I run /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/javac -version it gives me "javac 1.6.0_29". When I run javac -version it gives me "javac 1.6.0_29". ![]() I'm trying to compile a jar on my mac using 1.8 as a target release, but javac fails with the message "invalid target release".
0 Comments
Leave a Reply. |