JudyJiang
JudyJiang

Reputation: 2227

Unable to install Java Runtime (6) on Mac

I'm having a problem of installing java SE runtime 6 on mac, without that, I can't open my eclipse or install Intellij. However, I download the .dmg through an Apple - Java link, but it just doesn't install!

And there's no error message, just the page of falling installation.

enter image description here

I really don't know how to solve it.

This is kind of an update of my problem... I used to have Java SE runtime 6 and tried to install jdk 1.8 and failed. Same picture appeared. Just said failed installing with no error messages. I guessed might be a conflicts? and deleted Java 6 and basically can't run eclipse & Intellij (this solved thought) I still have java 1.7 here.

I just can't figure out why I can't install (or reinstall) java 1.6 or java 1.8. What could be the problem?

Some system updates: if I do: "which java":

/usr/bin/java

if "echo $JAVA_HOME":

/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home

if java -version:

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

What could be possibly wrong?!!!???? God

Upvotes: 0

Views: 794

Answers (1)

Haywood Slap
Haywood Slap

Reputation: 752

You need to get Java directly from Oracle (http://www.oracle.com/technetwork/java/javase/downloads/index.html) as Apple stopped supporting Java some time ago. Unless you have pressing reasons for using Java 6 I suggest also installing at least Java 7, although you can have all three versions installed and select the appropriate version for the app you want to run/develop.

Edit Also, if you want to use Eclipse or IntelliJ (go for IntelliJ) you want to get the JDK and not the "runtime" (JRE).

Upvotes: 1

Related Questions