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

richayden

macrumors newbie
Original poster
Jun 9, 2015
3
1
Hey, spent the day with El Capitan and have it running pretty well, one project was to rid my 2009 iMac of Java. I did all the usual things that are posted all over the web but am left with this pop up alert at startup and at other seemingly random moments it also appears. There are certain things I could not get rid of, i.e., System/Library/Java - don't know if this is what is causing this or not. Any ideas are welcome and appreciated. More info just leads to Java download...

Screen Shot 2015-06-09 at 8.08.20 PM.png
 
  • Like
Reactions: ericmschwanke

NetoBullet

macrumors newbie
Apr 3, 2013
5
1
After many attemps, this solved the JAVA issue here:
1. Install Netbeans Java from here:
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
(make sure to download netbeans version!)
2. After installing, go to /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents
3. Open Info.plist and edit it as follow:
Change:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
To:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
<string>JNI</string>
<string>BundledApp</string>
</array>

That's it
 

richayden

macrumors newbie
Original poster
Jun 9, 2015
3
1
Were you getting the same notification? Or is this just to get java working with El Capitan?
 

ibrad33

macrumors newbie
Oct 2, 2015
4
0
Hey, spent the day with El Capitan and have it running pretty well, one project was to rid my 2009 iMac of Java. I did all the usual things that are posted all over the web but am left with this pop up alert at startup and at other seemingly random moments it also appears. There are certain things I could not get rid of, i.e., System/Library/Java - don't know if this is what is causing this or not. Any ideas are welcome and appreciated. More info just leads to Java download...

View attachment 560120
I have this issue too!
 

dugbug

macrumors 68000
Aug 23, 2008
1,929
2,147
Somewhere in Florida
You can just disable rootless and use the apple Java install package. I avoid Java in system area but if you need to do it like in Mavericks there is a way.
 

Phil A.

Moderator emeritus
Apr 2, 2006
5,800
3,100
Shropshire, UK
It sounds like you have something running at startup that needs java - that prompt is telling you where to go to download it. Have a look at your startup items first and if there's nothing obvious there it could be a service that needs Java
 

sportsnapper

macrumors member
Mar 21, 2011
76
3
UK
I tried to install the latest version of Java from Oracle so I could install Eclipse. Just wouldn't work, no error message, nothing. Disabling SIP (rootless) let the instal run properly, an I now have a Java pane in system config. Terminal is still stubbornly saying that I only have 1.6 - though the system pane is saying 1.8 as I would expect. Path issue I think?
 

pureout

macrumors newbie
Apr 7, 2011
1
0
Anoka County, MN
After many attemps, this solved the JAVA issue here:
1. Install Netbeans Java from here:
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
(make sure to download netbeans version!)
2. After installing, go to /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents
3. Open Info.plist and edit it as follow:
Change:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
</array>
To:
<key>JVMCapabilities</key>
<array>
<string>CommandLine</string>
<string>JNI</string>
<string>BundledApp</string>
</array>

That's it
[doublepost=1548772128][/doublepost]I wish I could do as you have delineated here, but I can't tell which download is the Netbeans download. Help me out with this. Thanks very much.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.