I am trying to create a new JavaFX project. I have 1.8 installed which I believe includes the javafx packages. Running javac -version
in the terminal shows javac 1.8.0_121
. I installed from here
When I go to File -> Project Structure -> Project
the selected version is 1.6
. There is no 1.8
version in the list. If I select add new, and navigate to /System/Library/Frameworks/JavaVM.framework/Versions
I see:
1.4
1.4.2
1.5
1.5.0
1.6
1.6.0
There is no 1.8
version.
How can I update IntelliJ to user version 1.8
?
/System/Library/Frameworks/JavaVM.framework/Versions
does not sound like the path of the JDK./System/Library/Java/JavaVirtualMachines/
sounds like the place to look./System/Library/Java/JavaVirtualMachines
directory. I'm on El Capitan if that helps. How can I find out where it's stored?