• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Why is the Mac asking if I want to install Java 6?  RSS feed

 
Author
Posts: 133
10
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've experienced the following behavior on a Mac (newly updated to Mavericks):
1. Without any version of Java installed, I download the latest Eclipse, and try to launch Eclipse. I get a message (which I expect to get) asking me if I want to install Java.
2. I close the message and on my own, I visit java.oracle.com and download/install the JRE for Mac OS.
3. After installing the JRE, I try to launch Eclipse again, and again I get a message asking if I want to install Java. (This time, I'm somewhat surprised.)
4. I close the newest message and on my own, I visit java.oracle.com again and I download/install the JDK for Mac OS.
5. After installing the JDK, I successfully launch Eclipse without getting a message about Java.
6. "Self," I say, "this means that the Mac is checking for Oracle's JDK, and not for the plain old JRE when you try to launch Eclipse."
7. Later in the week I visit developers.android.com and I download the ADT Bundle which includes a customized version of Eclipse.
8. After installing the customized version of Eclipse, I try to launch the customized version and (with the JDK still installed) I get a message asking me if I want to install Java. When I dismiss the message, Eclipse fails to launch. (And at this point I'm really confused.)
9. I try to launch the customized Eclipse again, and this time I accept the suggestion to install Java, which it does. (This is Apple's Java 6, I thing.)
10. After following the suggestion to install Java, the customized Eclipse runs.

I know how to check for /Libraries/Java ... and /System/Libraries/Java ... and I don't think I'm missing any details about which versions of Java are, or are not, installed. Can anyone explain this behavior to me?
Thanks.
 
author & internet detective
Posts: 39283
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic question: have you checked your PATH? Which version of Java is in it? Also is your JAVA_HOME set to anything?
 
I am mighty! And this is a mighty small ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!