Install Java For Mac 10.7.5

admin
Install Java For Mac 10.7.5 Average ratng: 7,5/10 2166 reviews

Attention, Internet Explorer User Announcement: Oracle Community has discontinued support for Internet Explorer 7 and below. In order to provide the best platform for continued innovation, Oracle Community no longer supports Internet Explorer 7. Oracle Community will not function with this version of Internet Explorer. Please consider upgrading to a more recent version of Internet Explorer, or trying another browser such as Firefox, Safari, or Google Chrome. (Please remember to honor your company's IT policies before installing new software!) • • • •.

Since I already have Metasploit installed built from source (which I will document later when doing a clean build from scratch), i wanted to install the GUI called Armitage also but it needs Java 1.7. As such I followed this guide and adapted it to my needs Downloaded the binary archive from cd Downloads/ sudo chmod 777 openjdk7u2-macppc-fcs-2012-03-14.tar.bz2 sudo mv openjdk7u2-macppc-fcs-2012-03-14.tar.bz2 /usr/local/ cd /usr/local/ sudo tar -xvf openjdk7u2-macppc-fcs-2012-03-14.tar.bz2 cd openjdk7u2-macppc-fcs-2012-03-14 cd bin./java -version./javac -version Yippie, the binaries work!!!

Now to move them where the Apple Java version resides cd /System/Library/Frameworks/JavaVM.framework/Versions sudo mkdir 1.7.0 cd 1.7.0/ I opened Finder in Terminal with open. After /usr/local/openjdk7u2-macppc-fcs-2012 -03-14 and did the same for /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0 and moved everything from /usr/local/openjdk7u2-macppc-fcs-2012 to /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0 cd /System/Library/Frameworks/JavaVM.framework/Versions/1.7.0 sudo chown -R root:wheel. Unfortunately this doesn't help with my Armitage install since it crashes with: Exception in thread 'main' java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:202) at java.awt.Window.(Window.java:534) at java.awt.Frame.(Frame.java:420) at javax.swing.JFrame.(JFrame.java:224) at ui.MultiFrame.(MultiFrame.java:213) at armitage.ArmitageMain.main(ArmitageMain.java:200) Should I conclude that my openjdk install is headless? Is there a way to check this? Free ntfs on mac.

With Mac OS 10.7 (Lion) and later, the Java runtime is no longer installed automatically as part of the OS installation. Follow any of the methods below to install Java runtime.

I don't know Java so if anybody could give me pointers.