7 ms·
I wish to God that Oracle would simply deprecate and discontinue browser-side Java applet support. Whenever people see a headline like "Java Vulnerability Foun
by StevePerkins 11y ago
I wish to God that Oracle would simply deprecate and discontinue browser-side Java applet support.
Whenever people see a headline like "Java Vulnerability Found!", it is virtually always referring to the client-side applet plugin. Yet 99% of readers don't understand that, and think that Java is insecure in general.
Whenever people see snark about Java installing the "Ask.com Toolbar", it is referring to the client-side JRE installer (i.e. applet plugin). That's virtually irrelevant to developers, because we install the full SDK which contains no crapware and never has. Yet 99% of readers don't understand that, and think that being a Java developer means dodging malware with every upgrade.
Java applets are basically the non-Microsoft business world's answer to ActiveX. A dead 1990's technology that no one has cared about in 15 years or more, which only still exists to support backwards-compatibility for some horrible crusty shops still running on XP or even NT/2000. No contemporary Java developer gives a fuck about applets, and by "contemporary" I mean "any greenfield development done since 9/11". However, we're all sick to death of having to defend our ecosystem against constant FUD, due to this horrible piece of obsolete legacy cruft.
Just kill it. Seriously.
- 1ris 11y agoI need java support in the Browser. Have you ever tried to use it? You have to do no less then 10 clicks with lots of warnings and restart the browser in order to activate it, and that's only for one site. And you have to repeat that for every website that uses java-applets. It's a way easier to download a binary and execute that. It's dead for the end-user for every meaningful definition of "dead". Also ActiveX was the MS answer to Java, not the other way round.
- philbarr 11y ago> It's dead for the end-user for every meaningful definition of "dead". Unfortunately not, there are MANY institutions that still rely on Java Applets.
- 1ris 11y agoYes, that's way I said "end-user". If you don't know what java is, this does not affect you.
- philbarr 11y agoI don't understand - there are end-users in those institutions using java applets. They have to use java applets because their institutions mandate their use for anything from bug tracking software (yes really, I've seen it with my own eyes) to expenses software.
- 1ris 11y agoBut almost all of these end-users have admins. People that activated java in the browser form them. And these can take care of the updates.
- philbarr 11y agoI'm still not sure what you're getting at here. It's a zero-day exploit. Updates won't help with that.
- 1ris 11y agoJava-applets in the internet are not used anymore as i explained. And if quite a few poeple use it in their intranets they don't care particular for a 0day. If their intranet is used to deploy these, everything is already lost. Even if the webbrowser that displays the intranet applets is used to surf the internet it's not a attac surface as you have to whitelist every site that's able to use applets.
- izacus 11y agoThe only way to file a (mandatory under penalty of huge fines) monthly tax report for a business here where I live is a web service that requires Java (or ActiveX) to do a digital signature for filed documents. There is currently no alternative (JavaScript APIs for that do not exist). Same goes for all other digital banking - requests have to be cryptographically signed and Java is pretty much the only widely portable way to do it. Is that "end-user" enough for you? All busness owners in the country and all other general population doing eGovernment?
- deleted 11y ago[deleted]
- yuhong 11y agoYea, this is exactly because of the security problems.
- pjmlp 11y ago> Also ActiveX was the MS answer to Java, not the other way round. Except ActiveX goes back to Windows 3.1 and OLE 2.0.
- xbryanx 11y agoOne of those crufty little shops is ADP, one of the biggest payroll processors around. I hate that I have to use their applet crapstack, but it's not so simple to just turn it off.
- StevePerkins 11y agoVery true, but Step #1 is to declare it deprecated. Look, Microsoft is still struggling to retire Windows XP, a 14-year old operating system that was end-of-life'd over six years ago. However, at least they've been TRYING... and sending clear signals that support won't extend indefinitely. Oracle, however, hasn't even begun the official process of winding down applet support. So why should ADP, or any other "captive-audience", "bare-minimum" crapshop even consider putting migration plans on their long-term timeline? Just say it's deprecated. You don't even have to commit to a fixed end-of-life date yet. Just start the ball rolling with a signal that remaining on applets into the 2030's won't be a viable long-term vision. It might well take a decade or more to fully wind it down, but the first step is simply signaling your intention to eventually do so. At this point, it's hard to argue that benefit of perpetual applet support isn't outweighed by the harm that it inflicts on public mindshare for the rest of your platform. At least start signalling that this cruft is going away eventually, to change the narrative about Java overall being cruft in general.
- jsprogrammer 11y agoWhy would Oracle voluntarily cut into their support revenue?
- StevePerkins 11y agoAs I just indicated above, they should do so because the support revenue stemming from applets is surely outweighed by the damage to their brand overall. However, given that Oracle still pushes the Ask.com toolbar in their consumer-facing installer, it does seem clear that they are not yet concerned about that calculus. Perhaps if Microsoft's open-source, cross-platform changes to .NET makes them a more significant threat in a few years... or if maybe some newer emerging non-JVM language starts to gain traction in the enterprise... then Oracle will be pressed to drop its complacency. That is indeed a very slow-moving world, but Oracle practically radiates a "We Couldn't Care Less" vibe, and that would seem to make it vulnerable to disruption at some point.
- MichaelGG 11y agoYou can't. Plenty of expensive software runs a Java UI, browser hosted. Though, they often need older JVM versions as they don't run with the latest update. I don't think Java is enabled by default in any install, is it? So what's the risk?
- giancarlostoro 11y agoIt usually is, at least that's been my experience on Windows. I have to usually disable it myself after installing the JRE, because I know where that game is going (usually ends up being disabled by Firefox automatically eventually).
- mcdougle 11y agoMy company just transitioned to a Java applet-based time clocking/PTO/etc. management application. The first time I opened it and it brought up the little Java prompt, I was like, "Really?"
- kyllo 11y agoI wish to God that Oracle would simply deprecate and discontinue browser-side Java applet support. Oracle's flagship ERP product is Applet-based, so I doubt that's going to happen anytime soon.
- JupiterMoon 11y agoIn some countries banks seemingly used to have to use Java for online banking (may not be the case anymore).
- fernandotakai 11y agomy bank in brazil still uses a java applet for "security measures". i complained about a thousand times but they still think it's more secure to use a java applet than using nothing.
- Istof 11y agoPlain java software can also have exploits made for them but they are not as widespread so it is not as common or not worth the trouble
- rm_-rf_slash 11y agoUgh, how I envy your reason. Unfortunately, I work in higher education, where things move at an agonizing pace. As such, I end up having to use a lot of Java applets just for the sake of compatibility with the framework the college has been using for over a decade (Adobe ColdFusion). So, as much as I'd love to kill Java applets, I still rely on them. Sadly, this is a case where culture will have to change before tech will get its chance.
- deleted 11y ago[deleted]
- ScootyPuff4000 11y agoWow! You are an apologist, aren't you.
- pkolaczk 11y agoKilling it might be hard as long as companies like Cisco base their products on it. We tried a dozen of teleconferencing programs and none was able to beat Cisco Webex Java applet. Ugly? Maybe. Slow to start up? Indeed. But just works on anything (Windows/Max/Linux/Android etc.) and doesn't spin up the fans in my laptop to 100% like Google Hangout does.
- krzyk 11y agoNope, Webex it doesn't work on: * Android (tested 4.4.4, app opens chrome on a page that asks to install the same app, when opening with firefox it says that it is not supported) - why app would open a browser is beyond me * Linux 64bit - screen shared by others is not visible
- colechristensen 11y agoA _lot_ of really shitty "web interfaces" which are actively supported/created/updated for enterprise products use java applets. They are universally pretty terrible (as are, in my opinion/experience _most_ user interfaces running on any JVM). Lots of companies and lots of developers give lots of fucks about Java web UIs. Because Java programmers are commodity programmers. Everyone knows the language and inexperienced programmers can be productive in it without any great risks. (Not to say that there should be any strong association between knowledge and usage of JVM tech and competence, it's just anything that reaches that depth of adoption is bound to have lots of ... mediocrity)
- jebblue 11y ago>> They are universally pretty terrible (as are, in my opinion/experience _most_ user interfaces running on any JVM). Including web or just client side? If the same UI's that you consider terrible on the JVM were ported to say, well pick any language/platform and ported exactly but using your preferred language and platform features; would the interfaces now be better since they are implemented on your desired language/platform?
- bcg1 11y agoYou're probably right... at the very least, they should re-brand the applet container because it does create massive amounts of FUD. As others have noted this is really a Windows issue, not an inherent flaw in Java. And as you note it seems to be a problem in the applet plugin, not necessarily the standalone J2SE runtime. It should be possible/obvious/necessary to install the two separately on Windows. With the advent of things like NaCl, Emscripten, and WebAssembly these things should not be necessary anymore. Undoubtedly these new technologies will be able to properly sandbox untrusted obfuscated compiled code perfectly and should immediately supplant things like applets.
- boobsbr 11y agoOne of the companies I worked for used an applet to load data from a webapp and insert it into an Access 1.0 DB file in the users hard drive. After exporting the data, the user would have to run a really old gov't program (to which the Access DB file belonged) to upload the data to a legacy server, over X.25 (click an icon on the desktop). The most important requirement is to use the DB file installed in the user's hard drive (always same directory, no way to change it): can't generate new ones because the gov't program stores some cryptic arcane data in it, and even though we could reverse engineer it, we wouldn't be legally covered if we sent the wrong cryptic data. Second requirement is: users are ignorant, don't know how to save files and how to navigate directory trees, 'computers = magic' to them. How would you address this situation?
- tokenizerrr 11y agoHave them download and run a desktop program. You could even write it in Java and also bundle a jre within an exe for actually better overall experience for windows users. The Web only goes so far.
- boobsbr 11y ago> Have them download and run a desktop program. You could even write it in Java and also bundle a jre within an exe for actually better overall experience for windows users. Yeah, it would work. Could even have used Java Web Start. The webapp would have to be developed as a web service with a desktop client (and maybe a web client as well), as the data created by different users, with different roles, and in different office buildings, had to be shared. Is it OK to bundle the JRE in a closed-source program, though?
- astrange 11y agoIt is not only OK but expected to distribute the JRE with your apps.
- bmir-alum-007 11y ago
- z3t4 11y agoIt's absurd that the official Java runtime for Windows comes with crapware and spyware ... Ohh, your program requires me to install Java? Then I think I'll pass. Just include the runtime (around 140mb) and your customers won't know or care that they are using Java!
- jebblue 11y agoCookies are the hidden spyware far worse then ticking a checkbox that asks if you want to install something.
- bsder 11y ago> some horrible crusty shops still running on XP Um, some shops still running on XP have a good reason to do so--generally some piece of hardware that the vendor never found worth the time to update the device driver. The fact that Vista and later broke device driver compatibility with XP is THE single thing preventing those of us who would like to upgrade to a newer OS from doing so. Microsoft thought that breaking compatibility with things like Visual Basic 6 and XP device drivers would force people to upgrade. Instead, it caused people to put a stake into the ground and never upgrade ever again.