Frage

I just downloaded Java 7 for my Mac OS X through Oracle's site. When I go to System Preferences>Java>Java Control Panel>Update -- The control panel says that I'm updated and have Java 7 installed(also the Update Now button is disabled). Then if I open terminal and type "java -version" it lists that I have 'java version "1.6.0_65"' What's going on here? I need to have Java 7 because Oracle SQLDeveloper will not run correctly without it, at least that's what the program start message says.(Haven't actually tried SQLDev on my current Java 1.6)

War es hilfreich?

Lösung

That's the Java Runtime Environment (JRE) in the System Preferences you're seeing.

You'll want to install the Java SE Development Kit (JDK) and install it:

JDK 1.7.0 • jdk-7u51-macosx-x64.dmg

JDK 1.8.0 • jdk-8-macosx-x64.dmg

They don't exactly make it clear that what is here, is not that same as here.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top