![]() ![]() ![]() That way no other apps outside of MPLAB X would have access to JRE 1.6 and the rest of the system can run whatever version it choses. Then change the MPLAB X launcher to use that jre and not the system one (if there even is one). To be honest, I don't understand why they don't just bundle a private copy of Java 1.6 with MPLAB X and install it along side the IDE in a subfolder. We need a clear and definitive statement from Microchip on what versions are required, and where to get them. In september/october when the World Dog downloads OS X 10.10 Yosemite, the update routines remove all java from the system. If your flash player is out of date then Apple will refuse to allow it to run. Do not be surprised if Apple do the same to Java as they have already done with Flash. It would be so much better if they just fixed the underlying problem with the IDE so that it can work with the latest JRE and JDK. KennyM Java 1.6 is so old now that it must be embarrassing for Microchip to have to keep asking people to re-install this. ![]() Java 1.6 is so old now that it must be embarrassing for Microchip to have to keep asking people to re-install this. If you have more than one JVM installed on your machine, you can locate each of them by executing these commands: /usr/libexec/java_home -v 1.6 In that case, see above to install Java 6. If Java is not installed, it will open a window with a message about Java missing. How to check your computer's Java versionIf you're not sure what version of Java is installed on your computer, open a Terminal (Applications -> Utilities -> Terminal.app) and type this at the shell prompt: java -version This will report which default version you have installed on your computer. The MPLAB X IDE installer will find and use Java 6 once it is installed. The default JVM used to run applications will continue to be Java 7 after the update is applied. Java 6 and 7 should be able to coexist on your machine. The download button for Java 6 is in the upper right corner of the page. If you have encountered a Java 6 issue during the MPLAB X installation, please follow these instructions if this applies to you: Your computer doesn't have Java installed or has Java 7 installed, but not Java 6.In this case, you need to download the update for Java 6 from Apple by visiting this Apple Knowledge Base article. If you have Mac OS X Lion, Mountain Lion or Mavericks (version 10.7, 10.8, or 10.9 respectively) or anything newer, you need Java 6 to run MPLAB X IDE. The alternative is to fuzz around with Apple's insane maze of hyperlinks, but honestly life is too short to bother.MPLAB X v2.XX: MacOSX 10.7 and above require JRE6 Then add that to your PATH: export PATH=$JAVA_HOME/bin:$PATH I also set my JAVA_HOME to point to where jdk_1.7.0_xx.jdk was installed: export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home" (copied here as it was mentioned that "above" may eventually not make sense as answers are re-sorted). System/Library/Frameworks/amework/Versions/CurrentJDK Regarding IntelliJ IDEA - that will still ask you to install Java 6 as it apparently needs an older class loader or something: just follow the instructions when the dialog pop-up appears and it will install the JDK 6 in the right place.Īfterwards, you will need to do the sudo ln -snf mentioned in the answer above: sudo ln -nsf /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents \ The right place to download the JDK for Java 7 is Java SE Downloads.Īll the other links provided above, as far as I can tell, either provide the JRE or Java 6 downloads (incidentally, if you want to run Eclipse or other IDEs, like IntelliJ IDEA, you will need the JDK, not the JRE).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |