Installing Java on OS X 10.9 (Mavericks)
The new Mavericks (10.9) showed me the "Requesting install", but nothing happened.
The solution was to manually download and install the official Java package for OS X, which is in Java for OS X 2013-005.
Update: As mentioned in the comments below, there is a newer version of this same package:
Java for OS X 2014-001
Java for OS X 2014-001 (Correcting dead line above)
Java for OS X 2014-001 includes installation improvements, and supersedes all previous versions of Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005.
installing Java source code on OS X 10.9 Mavericks
I suggest that you download and install the latest JDK 7 version from Oracle. On Mountain Lion, the source code is available in the /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/src.zip
after the installation (if you have installed JDK 7u45).
How do I install JDK for Java 1.6 SE on OS X 10.9.1 Mavericks
The OS/X Mavericks ships with Java 1.6, but in case you've installed another version, you can get back with 1.6 if you download a bundle of Java SE 1.6.0_65 from Apple.
If you've installed a later version of Java, e.g. 1.7, for all users, installing the bundle mentioned above will most likely break your existing newer installation.
Multiple Java installations in Mac OS X Mavericks
It seems like that the oracle JDK can be just removed. For eclipse, I could add Installation A as a default JRE from Java Build Path -> JRE System Library -> Installed JRES -> Add ...
How do I install new Java Development Kit (JDK) on MAC OSX Mavericks?
In case anyone is installing Maven on a 64-bit Mac running Mac OSX 'Mavericks'. I was trying to follow this, which failed because the location of the java_home has changed on Mavericks:
http://maven.apache.org/download.cgi
I found this website, which recommends you Install homebrew and follow the instructions on this page: http://techspunky.blogspot.in/2013/10/how-to-install-maven-on-mac-osx-109.html
once complete, don't panic when $ maven -version doesn't work, instead use $mvn --version as maven.apache.org/download.cgi recommended.
It worked, but then I noticed the Java SDK Maven was using was Java version: 1.6.0_65, which is not the latest SDK I installed on the system.
Once I set the JAVA_HOME=/usr/libexec/java_home
It was using the correct SDK:
Maven home: /usr/local/Cellar/maven/3.1.1/libexec
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9", arch: "x86_64", family: "mac"
Success!
but wait...
next time I opened the terminal it went back to java version 1.6. WTH!
its some sort of supposed bug from what I read use:
echo JAVA_HOME=/usr/libexec/java_home -v 1.7
| sudo tee -a /etc/mavenrc
and now:
Maven home: /usr/local/Cellar/maven/3.1.1/libexec
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9", arch: "x86_64", family: "mac"
Closed terminal re-opened and success!
OS X 10.9 Mavericks does not show a menu bar
It looks like there's a new version that fixes it, refer this page: http://www.aptana.com/news
The actual download link didn't work for me, I found it here:
http://preview.appcelerator.com/studio/
Eclipse Kepler for OS X Mavericks request Java SE 6
This is in part due to Oracle's missing definitions of the JRE8 VM capabilities.
In case you don't want to install JRE6 at all and simply use JRE8 without symlinking it to the JRE6 either you can do the following:
Copy the Info.plist located at the path named below to e.g. ~/Downloads/:
/Library/Java/JavaVirtualMachines/jdk.1.8.<…>/Contents/
and then replace
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
with the following:
<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>CommandLine</string>
</array>
Afterwards copy the file back to its original location (you need administrator rights). For this change to take effect you need to log out of your account (and back in) or restart your computer. The dialog for Java 6 should shouldn't appear anymore and Eclipse should launch just fine using JRE8 (or JRE7). The same holds true for any other application that initially asks for Java, e.g. Adobe's Creative Suite.
On a related note it appears that this plist change sticks even after updates done through the Java Preference Panel in the System Preferences.
If it still doesn't work. You might need to add some folders and a symlink (details):
sudo mkdir -p /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/bundle/Libraries
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0_*.jdk/Contents/Home/bundle/Libraries/
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
Related Topics
Eclipse Will Not Open Due to Environment Variables
Integer VS Int: with Regard to Memory
Write a File in Utf-8 Using Filewriter (Java)
How to Pass a JSON Array as a Parameter in Url
How to Autowire Bean of Generic Type <T> in Spring
Declaring Floats, Why Default Type Double
Found Shared References to a Collection Org.Hibernate.Hibernateexception
Is 1/0 a Legal Java Expression
Why Does the New Java 8 Date Time API Not Have Nanosecond Precision
Java's Virtual MAChine's Endianness
Block()/Blockfirst()/Blocklast() Are Blocking Error When Calling Bodytomono After Exchange()
Add Multiple Items to an Already Initialized Arraylist in Java
How to Make Hashmap Work with Arrays as Key
Transactional Saves Without Calling Update Method