Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rachinc

macrumors newbie
Original poster
Jul 17, 2008
13
0
Whenever I restart my computer, this comes up:

To use the "java" command-line tool you need to install a JDK

I want to get rid of it, so I googled it and everyone tells me to install javaforosx.dmg, or jdk-9.0.4_osx-x64_bin.dmg, or jre-8u161-macosx-x64.dmg, etc.... When I double click on one of them, it takes a long time for that thin bar "verifying" to appear. (it's almost as if when I double click the dmg, nothing happens. that's how long i'm waiting for it show up). The bar takes a while. I don't even think the bar reaches the end of verifying and it disappears. It never reaches the stage where it says ok time to install the PKG. Thus, I never get to fully install legacy java to remedy this stupid pop up.

(On the new apple computers, I bet you don’t get a java warning. So why am i? I don’t want to use java just like the new computers aren’t using them. So how do I make the pop up go away? Forums say the only way to make it go away is to install the java legacy 6 plugin. But how can I make the pop up go away without installing this old java legacy? So annoying)

So I guess I'm forced to install it but i'm having trouble installing it. it wont get to that point.

in order to make the download get past the verification stage, I've tried:
  • I've tried disk utility's first aid. no help.
  • I've tried to update my computer. I'm running the latest OS: macOS High Sierra 10.13.2 (I have a late 2013 iMac). There are no updates available at this point
  • I've tried command lines that don't seem to work
  • I've tried going into system preferences, then going to the Java Control Panel. Under update it says your system has the recommended version of Java. Java 8 Update 161.
  • I've tried running sophos anti virus scan
  • I've tried restarting.
Any suggestions?
 
Whenever I restart my computer, this comes up:

To use the "java" command-line tool you need to install a JDK

I want to get rid of it, so I googled it and everyone tells me to install javaforosx.dmg, or jdk-9.0.4_osx-x64_bin.dmg, or jre-8u161-macosx-x64.dmg, etc.... When I double click on one of them, it takes a long time for that thin bar "verifying" to appear. (it's almost as if when I double click the dmg, nothing happens. that's how long i'm waiting for it show up). The bar takes a while. I don't even think the bar reaches the end of verifying and it disappears. It never reaches the stage where it says ok time to install the PKG. Thus, I never get to fully install legacy java to remedy this stupid pop up.

(On the new apple computers, I bet you don’t get a java warning. So why am i? I don’t want to use java just like the new computers aren’t using them. So how do I make the pop up go away? Forums say the only way to make it go away is to install the java legacy 6 plugin. But how can I make the pop up go away without installing this old java legacy? So annoying)

So I guess I'm forced to install it but i'm having trouble installing it. it wont get to that point.

in order to make the download get past the verification stage, I've tried:
  • I've tried disk utility's first aid. no help.
  • I've tried to update my computer. I'm running the latest OS: macOS High Sierra 10.13.2 (I have a late 2013 iMac). There are no updates available at this point
  • I've tried command lines that don't seem to work
  • I've tried going into system preferences, then going to the Java Control Panel. Under update it says your system has the recommended version of Java. Java 8 Update 161.
  • I've tried running sophos anti virus scan
  • I've tried restarting.
Any suggestions?
You have some third party software installed which uses Java, macOS does not use Java. That software is using a java command line command, most likely to check for installed versions. You currently have the Java JRE installed which does not include the command line commands. The third party software is not smart enough to handle a JRE environment.

At this point you have three options: Ignore the message, Remove the offending third party software or Install the JDK.

If you select option 3, try downloading the Java 8 SDK from http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk
I don't know if this will fix your install issues.

DS
 
  • Like
Reactions: rachinc
Here is my post about this issue from two years ago:

I had this popup for a long time. Something is asking for Legacy Java, but installing oracle Java will not work. It is looking for an older version that use to be put out by Apple.

It drove me nuts for several OS upgrades, it always asked for the Apple Java install. Each time I would have to go online and find the specific update needed. Here is the one for Lion through El Capitan:

https://support.apple.com/kb/dl1572?locale=en_US


After a few OS upgrades over the years, a few months ago I decided I either needed to reformat the computer, or track down and kill the app that had been asking for this Legacy Java program once and for all.

In my case, It turned out a very old obsolete program called t-mobile bobsled (it use to give free telephone calls) that launched a daemon helper app at every startup up that used the old apple Java. I finally figured it out by going into several system folders until I found the offending program. Here is an article that shows some places to look:

http://www.macworld.com/article/2047747/take-control-of-startup-and-login-items.html

I would recommend trying to find the offending app/ process by checking the library & daemon folders above, as whenever the nextmajor OS revision you will have the same problem again.
 
  • Like
Reactions: rachinc
A day or two later I upgraded to 10.13.3. I was then able to successfully reach the PKG stage of installing jdk-9.0.4_osx-x64_bin.dmg and javaforosx.dmg.... restarted the computer annnnndddd SOLVED
[doublepost=1516819335][/doublepost]
Here is my post about this issue from two years ago:

I had this popup for a long time. Something is asking for Legacy Java, but installing oracle Java will not work. It is looking for an older version that use to be put out by Apple.

It drove me nuts for several OS upgrades, it always asked for the Apple Java install. Each time I would have to go online and find the specific update needed. Here is the one for Lion through El Capitan:

https://support.apple.com/kb/dl1572?locale=en_US


After a few OS upgrades over the years, a few months ago I decided I either needed to reformat the computer, or track down and kill the app that had been asking for this Legacy Java program once and for all.

In my case, It turned out a very old obsolete program called t-mobile bobsled (it use to give free telephone calls) that launched a daemon helper app at every startup up that used the old apple Java. I finally figured it out by going into several system folders until I found the offending program. Here is an article that shows some places to look:

http://www.macworld.com/article/2047747/take-control-of-startup-and-login-items.html

I would recommend trying to find the offending app/ process by checking the library & daemon folders above, as whenever the nextmajor OS revision you will have the same problem again.

wow
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.