Index.前言‎ > ‎My MacOS X‎ > ‎

JDK/JRE



Download DMG

  • Oracle JDK/JRE 7+
  • PATH
    • /Library/Java/JavaVirtualMachines/*

Settings
kuochaoyi@kuruwateki-MacBook-Air Home$ pwd
/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home


To run a different version of Java, either specify the full path, or use the java_home tool: 
/usr/libexec/java_home -v 1.7.0_06 --exec javac -version

http://stackoverflow.com/questions/10352715/how-do-i-run-eclipse-using-oracles-new-1-7-jdk-for-the-mac


Eclipse

serch: jre

Comments