Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to tell which apps use Java?

Is there way to tell which apps use Java, similiar to checking System Information?


With the fury about the Flashback Trojan, I would like to turn off Java. Unfortunately, my password safe app uses Java. I would like to see how many apps I might have to replace to be Java-free.

Mac OS X (10.7.3), iPhone 3GS, iOS 5+

Posted on Apr 7, 2012 12:15 PM

Reply
Question marked as Best reply

Posted on Sep 7, 2017 3:59 AM

Yes Thank you Linc.. Works for me too. Terminal told me that I have the following Apps that have Java or JRE components:


CyberDuck • Apple Compressor • Adobe Dreamweaver CC 2017 • Mag2Go


That's it.. I will keep it but I turned off the browser plug-ins when I first had to install JRE when Dreamweaver I think, asked for it.


Good Look

29 replies

Apr 8, 2012 1:55 PM in response to njun

njun,


I just tried it in 10.5.8 and they both work. The results should be the path to the item that is found.


The short command gives you a long path to each component within the apps that use Java.


The long command gives you a short path to each application that uses Java.


Try copying and pasting the commands. the second one that Linc gave is partially hidden so click onit select all and then copy. Then paste it into terminal.


If the commands are not exactly correct, they won't work.


Message was edited by: MacinNW_Brent

Apr 8, 2012 7:21 PM in response to Kappy

Perhaps you are forgetting that MacDefender was most commonly downloaded through what appeared to be legit images in Google Images - a legit site. Sites can be compromised to carry unintended content. All it would take is a malicious ad or SEO exploit, plus an unpatched version of Java, and the user may have malicious code executing on their system without ever knowing it. Even if you believe that a novice user can always reliably tell what sites are trustworthy, you can't predict what trustworthy sites may be compromised to help spred this malware.

Apr 9, 2012 8:50 AM in response to MacinNW_Brent

From what I have determined via all the chatter about

this malware/trojan is that a simple solution is to turn

off Java in the web browser. Without Java enabled,

the malicious site cannot executed the download.

If sites you visit require Java then:

a. Install the Java update

b. To be as safe as possible, only enable Java

when visiting "trusted" web sites.


I suggest "b" because the creators of such trojans/malware

will sooner or later find yet another workaround.


Normal applications on the Mac that require Java

(Adobe Suite, Eclipse developer tools, etc.) can still

happily run as they should.

Apr 9, 2012 11:50 AM in response to woodmeister50

I'm the OP of this thread.


The Trojan is not the only reason I want to move away from Java. Apple is moving away from Java as they announced in 2010. Java is no longer installed with the OS by default. Who know what will happen when 10.8 comes out.


I have 6 applications that use Java. Most I can do without, but Callpod Keeper, my password safe, requires Java. I recently purchased Evernote, and its one Java component does not seem critical. I use Stanza only occassionally. And the remainder are all replacements for MS Office, but I have chosen to go with Numbers and Pages, instead.


What I am seeing from other lists is that many people have 6 or fewer apps that use Java. Some have apps that only use Java for plugins and sdks. And not all of Adobe software uses Java.


So what I am trying to do is to get ahead of the curve, avoid purchasing software that may become inoperable with future OS, and remove a persistent security risk.

Apr 10, 2012 3:33 AM in response to njun

njun wrote:


Neither of the suggested terminal commands work for me and I know that I have some applications that use Java. I get either 'unmatched' or 'no match'. I'm running Leopard 10.5.8 on an old G-4. Is there a command that will work for this system?

Make sure you are using bash as your shell and not something else like tcsh. If you have a "% " prompt and it says "tcsh" or "csh" in the title bar of the window, then type "bash" to get the "$ " prompt and it should work.


Bash has been the default shell since OS X 10.3, but if you upgraded to 10.3 then it left you with your previous choice. The default can be permanently changed in Terminal Preferences, probably by selecting the Login option, or by entering /bin/bash in the lower box.

Jun 19, 2015 12:13 PM in response to MacinNW_Brent

Be careful about looking for java applications.


Link provided the correct answer for finding applications that use Java, but one should be aware that not all java applications are created equal.


For example, when I run his find, I discover that CrashPlan; TurboTax; and Xcode all return *.jar files.


These run just fine without installing java from Oracle.


I want to install Java to participate in a couple of chat rooms. I have not been successful and have removed java using the instructions from Oracle before making an attempt to do it again.


https://www.java.com/en/download/help/mac_uninstall_java.xml


sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane

How to tell which apps use Java?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.