Easily install Java Runtime on OS X

From ezUnix
Jump to: navigation, search
                                    pdf_icon.png Download this article as a single PDF document 

Introduction

Java is often needed for online banking or different other applications written in that programming language.

It is recommended to avoid using Java on your Mac because most vulnerabilities found in Mac are related to Java Runtime Environment.
Not many websites and apps require using Java on OS X Mountain Lion so if you decide to install Java I recommend keeping it disabled for the most of the time to avoid viruses and malware.


Installation

Launch “Terminal” from /Applications/Utilities/ and write the following command in order to install Java:

# Java --version

Now hit return and you will notice message saying, “No Java runtime present, requesting install” and you will be prompted to install Java SE in order to open “Java” content.
Hit “Install” to get the latest version of Java. Java is installed from Apple website instead of Java.com because Apple checks each and every app which is installed on your Mac to avoid security breaches.


Cheers,
Marcin


<comments />

Arga said ...

<comment date="2013-01-10T07:55:21Z" name="Arga"> Hey OLD MAN. Didn't we aadelry have this ? Didn't we aadelry establish that your outmoded tendencies of grinding your own flour to bake a loaf of bread, looming your own fabric for a t-shirt, and managing your own memory references when programming run counter culture to the way the rest of us get things done every day? Do I need to spell it out to you in a null-terminated buffer of ASCII characters, lest you miss the end and I BLOW YOUR MIND?Seriously. OS hackers and computer scientists should know C and pointers and assembly and understand and the thousand other things that make System.out.println( Hello world! )' work under the covers. But for high school students and software engineers, managed languages are the way to go.As Joel points: Now, I freely admit that programming with pointers is not needed in 90% of the code written today, and in fact, it's downright dangerous in production code. OK. That's fine. And functional programming is just not used much in practice. Agreed. You teach the 90% first and the hardcore 10% remainder will find a way to learn the rest like they always do. Teaching C first is like trying to teach someone to ride a bike by putting them on a fixed gear and pointing them down a hill in San Francisco. It's too much too soon and it hides the real basics of what programming is about: flow control, algorithms, abstractions. Heck, I freely admit that even Java is too much too soon, but my colleagues here at UW who fret and worry about declining CS enrollment and do research about the best way to teach intro CS still pick Java before C.Also, get a haircut, you hippie. </comment>

Each said ...

<comment date="2013-01-10T10:23:45Z" name="Each"> hello,please suggest me some api stofware id U know abt..I have such a images having max 4 words(In bold letters)And some aplpha numeric code (at bottom of image(in normal size))I want to reconize this 2 things as a text please kindly suggest api,s/w,anything,u can mail me on given address.. </comment>