- How to get Mac OSX to update Java (JVM) to 1.6
- kmo19
- hakuryuu
- kmo19
- GGJstudios
- Zortrium
- TKleek013
- ScoobyMcDoo
- Java Update On Mac has stopped working ? Quick Fix.
- Step By Step Procedure to Reproduce — Java Update On Mac ERROR
- # Resolving Java Update On Mac issue
- More details about this Bug in OpenJDK —
- Read Next :
- [macosx] Java update fails every time in MAC OS X 10.9
- Description
How to get Mac OSX to update Java (JVM) to 1.6
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.
kmo19
macrumors member
I have tried software update, I’ve tried downloading the update and installing it manually. no matter what I do, my machine is always running 1.5 when I need 1.6.
java -version java version "1.5.0_20" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315) Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)
hakuryuu
macrumors 6502
java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
I don’t know what you are running, but I am running Snow Leopard. And since Apple provides Java I think that is the only way to get it.
kmo19
macrumors member
Actually found a good link:
java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
However, I still get this error when trying to run apps that use java:
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
GGJstudios
macrumors Westmere
Apple Computer supplies their own version of Java. Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac.
If you have problems with downloading, installing or using Java on Mac, please contact Apple Computer Technical Support.
Zortrium
macrumors 6502
Assuming Java 1.6 is already installed, which it probably is, two things you need to do:
1. Open up Java Preferences (in /Applications/Utilities) and make sure the order has Java 6 above Java 5.
2. Set JAVA_HOME to /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home. E.g., my ~/.bashrc has this line:
Once you’ve done this, everything should default to using Java 6.
TKleek013
macrumors newbie
I’m running on 10.5.8 and I have this exact same problem even after dragging Java SE6 so that it’s above Java 5 in preferences. I’ve checked in terminal to see that I actually have 1.6, which I do, however my MacBook is still using 1.5.
I’m not very computer illiterate and this has been driving me mad for days so any help would do.
ScoobyMcDoo
macrumors 65816
To find out what you have installed and what is currently configured as your default, open terminal and cd to /System/Library/Frameworks/JavaVM.framework/Versions and type «ls -las». When I do this I see:
0 drwxr-xr-x 13 root wheel 442 Mar 8 20:03 .
0 drwxr-xr-x 12 root wheel 408 Mar 8 20:03 ..
8 lrwxr-xr-x 1 root wheel 5 Mar 8 20:02 1.3 -> 1.3.1
0 drwxr-xr-x 3 root wheel 102 Feb 11 2010 1.3.1
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.4 -> CurrentJDK
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.4.2 -> CurrentJDK
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.5 -> CurrentJDK
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.5.0 -> CurrentJDK
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.6 -> CurrentJDK
8 lrwxr-xr-x 1 root wheel 10 Mar 8 20:02 1.6.0 -> CurrentJDK
0 drwxr-xr-x 10 root wheel 340 Mar 8 20:03 A
8 lrwxr-xr-x 1 root wheel 1 Mar 8 20:02 Current -> A
8 lrwxr-xr-x 1 root wheel 59 Mar 8 20:02 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
To find out your current classpath, type
Java Update On Mac has stopped working ? Quick Fix.
Java Update On Mac fails on windows ?. Here are the step by step procedure on how to reproduce the issue with Java Update On Mac and fix the same.
Step By Step Procedure to Reproduce — Java Update On Mac ERROR
# Resolving Java Update On Mac issue
More details about this Bug in OpenJDK —
But the Java control panel under System Preferences says «Your current version is Java 8 Update 121. It is recommended that you update now to get the latest security fixes.»
ADDITIONAL OS VERSION INFORMATION :
Darwin saturne.local 13.4.0 Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
OSX comes with java 6. I manually installed Java 8. I installed the last update, Java 8 121 because already then the update failed.
A DESCRIPTION OF THE PROBLEM :
SInce I installed Java 8 the automatic java update fails.
A popup says «A new version of Java is available!». I have 121 build 13, the latest is 131 build 11.
I choose «Install Update».
A popup says «Updating Java, Downloading update. » with a progress bar and a text «XX MB of 67.0 MB».
When the progress bar reaches 67 MB, it waits there for maybe 30 seconds.
Then a new popup says «Update Error!» An error occurred while donwloading the update. Please try again later.» The only option is to cancel the update.
And it does this every time since I installed Java 8 JDK manually. I somehow expect the new version will fix the update process but it repeatedly doesn’t.
REGRESSION. Last worked in version 6u45
ADDITIONAL REGRESSION INFORMATION:
$ java -version
java version «1.6.0_65»
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
But the Java control panel under System Preferences says «Your current version is Java 8 Update 121. It is recommended that you update now to get the latest security fixes.»
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I suppose that if you take a Mac and install manually Java 8 over the OS’s Java 6, it will behave like that. I have seen another person reporting this on StackOverflow after installing the jre (I installed the jdk).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED —
The update should complete. The control panel should show the new version.
ACTUAL —
The update does not complete. The control panel still complains that I should update urgently.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
«Update Error!»
An error occurred while downloading the update.
Please try again later.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Download the whoel jdk manually from Oracle every time an update is relesed.
When checked with current MAC OS X 10.12.4 (Sierra), the update from 8u121 to 8u131 installed successfully.
This still need to be checked with reported MAC version, therefore keeping it open for further evaluation.Comment by Stephen Fitch [ 2017-05-02 ] Seen on 10.9.5 — now unsupported by Apple.
Read Next :
- Java is not recognized
- Java ERROR code 1603
- Procyon Java Decompiler
- Resultset has now rows. Quick Fix!
- Java Update on Mac
- Java Update check fails
- Java wont install on windows 10
- Java installation error code 80
- Windows does not recognize java
- Access Adobe programs Java
- Failed to install java update
- System breaks jdk8 javac command
- Java Uninstall Stops at Progress Bar
- Could not find java dll
- Eclipse Error code 13
[macosx] Java update fails every time in MAC OS X 10.9
Priority: P3
Description
FULL PRODUCT VERSION :
$ java -version
java version «1.6.0_65»
But the Java control panel under System Preferences says «Your current version is Java 8 Update 121. It is recommended that you update now to get the latest security fixes.»
ADDITIONAL OS VERSION INFORMATION :
Darwin saturne.local 13.4.0 Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
OSX comes with java 6. I manually installed Java 8. I installed the last update, Java 8 121 because already then the update failed.
A DESCRIPTION OF THE PROBLEM :
SInce I installed Java 8 the automatic java update fails.
A popup says «A new version of Java is available!». I have 121 build 13, the latest is 131 build 11.
I choose «Install Update».
A popup says «Updating Java, Downloading update. » with a progress bar and a text «XX MB of 67.0 MB».
When the progress bar reaches 67 MB, it waits there for maybe 30 seconds.
Then a new popup says «Update Error!» An error occurred while donwloading the update. Please try again later.» The only option is to cancel the update.
And it does this every time since I installed Java 8 JDK manually. I somehow expect the new version will fix the update process but it repeatedly doesn’t.
REGRESSION. Last worked in version 6u45
ADDITIONAL REGRESSION INFORMATION:
$ java -version
java version «1.6.0_65»
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
But the Java control panel under System Preferences says «Your current version is Java 8 Update 121. It is recommended that you update now to get the latest security fixes.»
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I suppose that if you take a Mac and install manually Java 8 over the OS’s Java 6, it will behave like that. I have seen another person reporting this on StackOverflow after installing the jre (I installed the jdk).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED —
The update should complete. The control panel should show the new version.
ACTUAL —
The update does not complete. The control panel still complains that I should update urgently.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
«Update Error!»
An error occurred while downloading the update.
Please try again later.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Download the whoel jdk manually from Oracle every time an update is relesed.