Return to site

Do I Need To Download Java For Mac Os X

broken image


I had a recent customer, ask a question on a website I make supplemental income, as a computer technician. This platform has the ability for us technicians to provide remote support. However, their integrated remote support software requires Java, for customers that use Apple Macintosh operating systems.

  1. Do I Need To Download Java For Mac
  2. Do I Need To Download Java For Mac Os X High Sierra
  3. Java For Mac Os 10.12
  4. Do I Need Java For Mac

You need to get an IDE if you plan to code on your computer (Mac). I recommend Eclipse. You should also download the JDK If you want to run a program; just get the JDK and you should be OK. I just purchased a new MAC. I had one before so I thought it would be easy but there are several applications I can not open because it says I need MAC OS X 10.5. I have 10.4 at the moment and I have tried checking updates for new software but the computer keeps saying that I have the latest and there are no updates at this time. I went to the apple website to download it and after downloading. The installer installs and configures a Java programming environment, including OpenJDK 11 and IntelliJ IDEA, Community Edition 2020.1. Log in to the user account in which you will be programming. Your account must have Administrator privileges. Download the Mac OS X installer lift-java.pkg.

This customer was using an Apple Macintosh and was having difficulty installing Java. Below are detailed instructions on how you can install Java on your Apple Macintosh computer. Do you happen to know what version of MAC OS X is installed?

Java

I checked Java.com and you would need MAC OS X 10.7.3 or newer. You can find out what version of MAC operating system is installed by clicking on the Apple icon and choosing 'About this MAC'. Also, you could try to just download and install Java for Apple Macintosh from this direct Java download for MAC link.

Need Online Computer Technical Support? Ask a Computer Technician and Solve Your Computer Problem Now.

Macintosh OS 10.7.3 is also referred to as Macintosh OS X Lion. This individual was able to successfully install Java from the download link I provided. Now they were able to obtain remote support from one of the technicians available.

How to update java on mac

I am NOT a big fan of Oracle's Java. However, quite a few applications require it. Also, there is some confusion as to how and where to obtain this software.

I went directly to Oracle's Java websites' downloads section and found out that at the time of this blog post creation, you must have Apple Macintosh 10.7.3 or newer installed. There could still be a few Apple Macintosh computers with older OS X operating systems installed. You could possibly find an older archived version of Java to download or install.

Also, you could try to upgrade your Macintosh OS X operating system to a newer version that will support Java. Java run time environment is used in applications ranging from games to remote technical support.

Question or issue on macOS:

I want to install a specific JDK (the latest for example). For this, I went to the JDK download homepage: http://java.sun.com/javase/downloads/index.jsp.
I looked for a Mac version, but I'm a bit surprised to only see downloadable versions for Linux, Windows and Solaris…

Mac

Here's the message for Mac:

Insufficient permissions ,cant download to usb macbook air. OK BUT… when I update Java with Mac I have a JRE and not a JDK…

I don't understand why a JDK version doesn't exist that is easily downloadable/installable (like a jar to unzip?) for Mac…

How to solve this problem?

Solution no. 1:

In a comment under @Thilo's answer, @mobibob asked how to set JAVA_HOME in your .bash_profile on a Mac. Answer:

This will dynamically assign to JAVA_HOME the location of the first JDK listed in the 'General' tab of 'Java Preferences' utility.

See Apple Technical Q&A 1170: https://developer.apple.com/library/content/qa/qa1170/_index.html

EDIT:

If you prefer parentheses to backticks for command substitution, this also works:

Solution no. 2:

As the message says, you have to go to Apple, not Sun, for Java on the Mac. As far as I know, Apple JDK 6 is installed by default on Mac OS X 10.6 (Snow Leopard). Maybe you need to install the developer tools from your Mac OS X installation DVD (the dev tools are an optional install from the OS DVD).

See: http://developer.apple.com/java/

NOTE This answer from 16 Oct 2009 is now outdated; you can get the JDK for Mac OS X from the regular JDK download page on Oracle's website now.

Solution no. 3:

For people using any LION OS X 10.7.X

They uploaded Java SE 6 version 1.6.0_26 available here

Solution no. 4:

Os x install java

I bought a MacBook Pro yesterday (Mac OS X v10.8 (Mountain Lion)) and there is no JDK installed by default…

As well as javac, I also found it didn't have packages such as SVN installed. It turns out you can get everything from the Apple developer page (you will need to register with your AppleID). SVN is part of the 'Command Line Tools' package.

This is what happens on a fresh MacBook:

Hopefully this will help out other newbies like me 😉

Browse and download free screensavers for the Apple Mac OS X operating system. Search by keyword or price to quickly find the screensavers you want. Free mac screensavers downloads.

Solution no. 5:

Mac comes with the JDK, for more information check:

Solution no. 6:

The explanation is that JDK is a bit specific and does not contain the library tools.jar. For my development, I need this library and Mac's JDK doesn't provide it:

(Cf. http://developer.apple.com/mac/library/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html)


tools.jar does not exist. Classes usually located here are instead included in classes.jar. Scripts that rely on the existence of tools.jar need to be rewritten accordingly.

It sucks!

Solution no. 7:

The easiest way is to use Homebrew.
Install Homebrew and then:

You can list all available versions using the following command:
brew cask search java

Solution no. 8:

Compiling with -source 1.5 -target 1.5 (in a JDK 6 environment) will honor only language elements that were in 1.5 and prior. Great. But there were no language changes in 6 anyway. Problem with this approach (on Mac with 1.6) is that using classes that came AFTER 1.5 will still compile because they exist in the rt.jar. So one could run in a 1.5 env and get a class not found exception with no prior warning when compiling. I found this out the hard way with javax.swing.event.RowSorterEvent/Listener. Both entered 'Since 1.6' but are not caught with -source 1.5

Do I Need To Download Java For Mac

Solution no. 9:

If you installed brew, cmd below will be helpful:


brew cask install java

Mac

I checked Java.com and you would need MAC OS X 10.7.3 or newer. You can find out what version of MAC operating system is installed by clicking on the Apple icon and choosing 'About this MAC'. Also, you could try to just download and install Java for Apple Macintosh from this direct Java download for MAC link.

Need Online Computer Technical Support? Ask a Computer Technician and Solve Your Computer Problem Now.

Macintosh OS 10.7.3 is also referred to as Macintosh OS X Lion. This individual was able to successfully install Java from the download link I provided. Now they were able to obtain remote support from one of the technicians available.

I am NOT a big fan of Oracle's Java. However, quite a few applications require it. Also, there is some confusion as to how and where to obtain this software.

I went directly to Oracle's Java websites' downloads section and found out that at the time of this blog post creation, you must have Apple Macintosh 10.7.3 or newer installed. There could still be a few Apple Macintosh computers with older OS X operating systems installed. You could possibly find an older archived version of Java to download or install.

Also, you could try to upgrade your Macintosh OS X operating system to a newer version that will support Java. Java run time environment is used in applications ranging from games to remote technical support.

Question or issue on macOS:

I want to install a specific JDK (the latest for example). For this, I went to the JDK download homepage: http://java.sun.com/javase/downloads/index.jsp.
I looked for a Mac version, but I'm a bit surprised to only see downloadable versions for Linux, Windows and Solaris…

Here's the message for Mac:

Insufficient permissions ,cant download to usb macbook air. OK BUT… when I update Java with Mac I have a JRE and not a JDK…

I don't understand why a JDK version doesn't exist that is easily downloadable/installable (like a jar to unzip?) for Mac…

How to solve this problem?

Solution no. 1:

In a comment under @Thilo's answer, @mobibob asked how to set JAVA_HOME in your .bash_profile on a Mac. Answer:

This will dynamically assign to JAVA_HOME the location of the first JDK listed in the 'General' tab of 'Java Preferences' utility.

See Apple Technical Q&A 1170: https://developer.apple.com/library/content/qa/qa1170/_index.html

EDIT:

If you prefer parentheses to backticks for command substitution, this also works:

Solution no. 2:

As the message says, you have to go to Apple, not Sun, for Java on the Mac. As far as I know, Apple JDK 6 is installed by default on Mac OS X 10.6 (Snow Leopard). Maybe you need to install the developer tools from your Mac OS X installation DVD (the dev tools are an optional install from the OS DVD).

See: http://developer.apple.com/java/

NOTE This answer from 16 Oct 2009 is now outdated; you can get the JDK for Mac OS X from the regular JDK download page on Oracle's website now.

Solution no. 3:

For people using any LION OS X 10.7.X

They uploaded Java SE 6 version 1.6.0_26 available here

Solution no. 4:

I bought a MacBook Pro yesterday (Mac OS X v10.8 (Mountain Lion)) and there is no JDK installed by default…

As well as javac, I also found it didn't have packages such as SVN installed. It turns out you can get everything from the Apple developer page (you will need to register with your AppleID). SVN is part of the 'Command Line Tools' package.

This is what happens on a fresh MacBook:

Hopefully this will help out other newbies like me 😉

Browse and download free screensavers for the Apple Mac OS X operating system. Search by keyword or price to quickly find the screensavers you want. Free mac screensavers downloads.

Solution no. 5:

Mac comes with the JDK, for more information check:

Solution no. 6:

The explanation is that JDK is a bit specific and does not contain the library tools.jar. For my development, I need this library and Mac's JDK doesn't provide it:

(Cf. http://developer.apple.com/mac/library/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html)


tools.jar does not exist. Classes usually located here are instead included in classes.jar. Scripts that rely on the existence of tools.jar need to be rewritten accordingly.

It sucks!

Solution no. 7:

The easiest way is to use Homebrew.
Install Homebrew and then:

You can list all available versions using the following command:
brew cask search java

Solution no. 8:

Compiling with -source 1.5 -target 1.5 (in a JDK 6 environment) will honor only language elements that were in 1.5 and prior. Great. But there were no language changes in 6 anyway. Problem with this approach (on Mac with 1.6) is that using classes that came AFTER 1.5 will still compile because they exist in the rt.jar. So one could run in a 1.5 env and get a class not found exception with no prior warning when compiling. I found this out the hard way with javax.swing.event.RowSorterEvent/Listener. Both entered 'Since 1.6' but are not caught with -source 1.5

Do I Need To Download Java For Mac

Solution no. 9:

If you installed brew, cmd below will be helpful:


brew cask install java

Solution no. 10:

Do I Need To Download Java For Mac Os X High Sierra

As of Mac OS X v10.6 (Snow Leopard), you can run Java 6 in 32-bit mode on either 32-bit or 64-bit Intel processor equipped Macs.

Java For Mac Os 10.12

If you cannot upgrade to Snow Leopard, Soy Latte is a pre-compiled version of Java 6 for Intel 32-bit.

Do I Need Java For Mac

Hope this helps!





broken image