Author Topic: Deleting everything JAVA  (Read 4333 times)

Offline Jack W

  • TS Addict
  • *****
  • Posts: 2597
    • View Profile
Deleting everything JAVA
« on: November 22, 2016, 07:47:36 AM »
I am having minor problems with java in Snow Leopard.

EtreCheck reports some crashes that have java references.

To my knowledge I do not use any apps that require java.

Java was installed back when I was running Tiger.
Then when I migrated to SL, the java migrated over also.
Some updates were made to java over the years in SL.

I would like to eliminate java from my SL install.

• Is it possible to do?
• Why shouldn't I do it?
• Why should I do it?
• What are the caveats?

Any other input - pro or con would be appreciated.

Thanks,
Jack
Good to be Here.

My Macs: 2010 27" alum iMac 2.8GHz, Snow Leopard 10.6.8/Mavericks 10.9.5, 4GB SDRAM (Workhorse),
13” Late 2010 MacBook Pro 2.4GHz, 10.6.8, 2GB SDRAM,
(2) External HD - Firewire/USB Macally Enclosures  with 1TB Hitachi Drives,
Time Machine external drive - ditto above - 1/2 TimeMac

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Deleting everything JAVA
« Reply #1 on: November 22, 2016, 08:07:21 AM »
I'd suggest first simply Disabling Java through the Java Control Panel which is accessed from System Prefs. If you don't see a "Java" icon in System Prefs, use the View menu to enable its showing in the Prefs window. <How do I disable Java in my web browser?, Oracle>

After running a few weeks, you should discover anything that actually uses Java. I'd say there are very few apps still using it in most consumer Macs. You're most likely to run across its use at some web site, often a financial one.

Most have found it easier to remove the "JavaAppletPlugin.plugin.", butI don't think that actually remove the Java files/code, it simply prevents a web site from using it.

DO NOT simply remove stuff from the System without considering what it might be used for. <Command line method of removal., Oracle>

Additional details: <Mac Observer>
« Last Edit: November 22, 2016, 08:09:06 AM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline Jack W

  • TS Addict
  • *****
  • Posts: 2597
    • View Profile
Deleting everything JAVA
« Reply #2 on: November 22, 2016, 12:47:18 PM »
Jim,

I don't have a Java Control Panel in SysPrefs

I am running Snow Leopard v10.6.8

Here's my prefs:

[attachment=3332:Sys_Prefs.jpg]

Per your response, I moved JavaAppletPlugin.plugin to my Disabled Plugins folder.

We'll see if that solves the problem.

Thanks,

Jack
Good to be Here.

My Macs: 2010 27" alum iMac 2.8GHz, Snow Leopard 10.6.8/Mavericks 10.9.5, 4GB SDRAM (Workhorse),
13” Late 2010 MacBook Pro 2.4GHz, 10.6.8, 2GB SDRAM,
(2) External HD - Firewire/USB Macally Enclosures  with 1TB Hitachi Drives,
Time Machine external drive - ditto above - 1/2 TimeMac

Offline Jack W

  • TS Addict
  • *****
  • Posts: 2597
    • View Profile
Deleting everything JAVA
« Reply #3 on: November 22, 2016, 02:45:56 PM »
Moving the java applet

Now I am going to move the /library/java to the desktop
Good to be Here.

My Macs: 2010 27" alum iMac 2.8GHz, Snow Leopard 10.6.8/Mavericks 10.9.5, 4GB SDRAM (Workhorse),
13” Late 2010 MacBook Pro 2.4GHz, 10.6.8, 2GB SDRAM,
(2) External HD - Firewire/USB Macally Enclosures  with 1TB Hitachi Drives,
Time Machine external drive - ditto above - 1/2 TimeMac

Offline Jack W

  • TS Addict
  • *****
  • Posts: 2597
    • View Profile
Deleting everything JAVA
« Reply #4 on: November 22, 2016, 03:03:15 PM »
No joy yet

So I did what I should have done already.

I booted up in another vanilla account and ran EtreCheck again - problem disappeared - so it's in my primary account.

Good to be Here.

My Macs: 2010 27" alum iMac 2.8GHz, Snow Leopard 10.6.8/Mavericks 10.9.5, 4GB SDRAM (Workhorse),
13” Late 2010 MacBook Pro 2.4GHz, 10.6.8, 2GB SDRAM,
(2) External HD - Firewire/USB Macally Enclosures  with 1TB Hitachi Drives,
Time Machine external drive - ditto above - 1/2 TimeMac

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Deleting everything JAVA
« Reply #5 on: November 22, 2016, 03:08:31 PM »
Ive kept Java, as these kind of sites require it.
This weather map, and many others which I like,
need it.
This map is in motion. I just took a screenshot of it.
The velocity of the wind here on Cape Cod was awful yesterday.

I guess its OK to keep it on my Macs?

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Deleting everything JAVA
« Reply #6 on: November 22, 2016, 03:53:42 PM »
Things have changed since Snow Leopard. That was the last OS in which Apple supported Java, so the location of things changed with the next OS.

Things may have also changed in System Prefs. When you have that app open, do you have a "View" menu?

This System Pref pref lets you hide un-needed/seldom used Prefs.
This may be a change after SL. dntknw.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Deleting everything JAVA
« Reply #7 on: November 22, 2016, 05:01:51 PM »
Yes, this is certainly interesting, as I need it, I think? For my weather stuff.
And way back in an HTML class we used Java to make some very interesting things out of flowers.
I would have to dig into my old class stuff on my site to find them, but they were total fun to do.

Thanks, this is something I dont know much about. So I sure will be watching for your further instructions and info.
Your screen shot was great!

Offline Jack W

  • TS Addict
  • *****
  • Posts: 2597
    • View Profile
Deleting everything JAVA
« Reply #8 on: November 23, 2016, 05:53:16 AM »
Jim,

JAVA does not show -

[attachment=3334:Screen_s...50.40_AM.jpg]
Good to be Here.

My Macs: 2010 27" alum iMac 2.8GHz, Snow Leopard 10.6.8/Mavericks 10.9.5, 4GB SDRAM (Workhorse),
13” Late 2010 MacBook Pro 2.4GHz, 10.6.8, 2GB SDRAM,
(2) External HD - Firewire/USB Macally Enclosures  with 1TB Hitachi Drives,
Time Machine external drive - ditto above - 1/2 TimeMac

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Deleting everything JAVA
« Reply #9 on: November 23, 2016, 06:56:51 AM »
Here is mine, but Ive left everything as is, as I dont really understand it much. All I did was to put in a few sites which I want it to work on.

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Deleting everything JAVA
« Reply #10 on: November 23, 2016, 11:29:51 AM »
QUOTE
JAVA does not show -
Could be a difference in SL or maybe the results of your house cleaning. wink.gif As long as you don't see any problems in the next few weeks/months, who cares? thumbup.gif laugh.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline kimmer

  • Administrator
  • TS Addict
  • *****
  • Posts: 9086
    • View Profile
Deleting everything JAVA
« Reply #11 on: November 23, 2016, 01:04:57 PM »
Stealing a bit of attention here wink.gif ... which is the evil one: Java or JavaScript? I know one is more prone to security issues and I can't remember which one I'm not really supposed to be using.
« Last Edit: November 23, 2016, 01:05:31 PM by kimmer »

Offline jcarter

  • TS Addict
  • *****
  • Posts: 5808
    • View Profile
    • http://www.jcarter.net/ourdogs/muffinpage.html
Deleting everything JAVA
« Reply #12 on: November 23, 2016, 01:32:54 PM »
JavaScript is code that we use when we make websites. I can do fine with HTML and pretty good with CSS, but JS is very difficult to learn.  But its worth the trouble, just the few basic things with JS code can help us make slide shows and stuff like that.

Java is something else that I know very little about, though it did come up in some of our earlier classes, and we made some very odd pictures with it. You can take a flower and make it wobble and look like its reflected in a dish of water and stuff like that. I didn't use it much at all. But it does make these weather pages where you get the whirling motion with wind directions and more.
I dont understand much about Flash either, nor did we get it in class.

Somebody here will explain it much better than I ever can.


Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Deleting everything JAVA
« Reply #13 on: November 23, 2016, 06:07:24 PM »
Java is a compiled language (like C, Fortran, etc.). it can run in most any OS. It is now supported by Oracle. It does have security problems. But it is now used almost exclusively in well protected, closed systems, often not even connected to the web. Last major use I know of was in some games.

javascript is, by definition, a "scripting" language (like AppleScript, PHP, Python, etc.). It is used (and abused) on the web to do things that plain html cannot. It is also a major vector for malware and accessing things on your computer, behind your back, of course. It must have a browser to allow it to run. Thankfully, CSS3+ and HTML5 are making it less needed. It's the main reason I keep ad blockers running.

The two things are completely different 'animals'. I usually use a lowercase "j" for javascript to imply my disdain for it as opposed to a capital "J" since it is a commercial product. laughhard.gif

Handy things javascript can do: Transmitting information about the user's reading habits and browsing activities to various websites. Web pages frequently do this for Web analytics, ad tracking, personalization or other purposes. See the "Security" section on <this Wikipedia page>. Additional, simpler explanations at <WhatIsMyBrowser.com>.
« Last Edit: November 23, 2016, 06:19:31 PM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline kimmer

  • Administrator
  • TS Addict
  • *****
  • Posts: 9086
    • View Profile
Deleting everything JAVA
« Reply #14 on: November 23, 2016, 06:54:26 PM »
Thanks, xABD. I'll make sure I have javascript off unless requested. smile.gif