r/shittyprogramming • • Feb 03 '17

[low effort] 3 billion devices run Java

But none of them the same version.

492 Upvotes

18 comments sorted by

192

u/rabidbunnygopoop Feb 03 '17

Security through diversification. You might be able to come up with an exploit that works on 1 or 2 devices, but the more versions there are, the smaller the pool of devices that it works on. Survival of the fittest, dude. Natural selection in an artificial ecosystem.

14

u/JPaulMora Feb 03 '17

True.. except the same can be said in reverse: write a virus in java and 3billion devices support it.

Also, if you find a bug in v1.8 for all 64bit systems, most likely all versions pre-1.8 will have it too. So you can exploit all java in 64bit systems, which is a lot.

7

u/royisabau5 Feb 13 '17

That's why I only run java in 128 bit systems

56

u/caseycityhall Feb 03 '17

And hopefully none of them installed the Yahoo browser toolbar

15

u/gellis12 Feb 03 '17

That's actually only a thing on the windows version of Oracle java. No other platform has that problem.

39

u/TheHast Feb 03 '17

I hope one day I can get the yahoo toolbar on a parking meter or DVD player.

17

u/Blieque Feb 03 '17

🙌 top kek 👌👌 dank stuff 🍉

2

u/[deleted] Feb 03 '17

This would've been an even better post with just the title ;p

4

u/ticklemegiddy Feb 03 '17

Can someone explain to me what this post means?

33

u/whatIsThisBullCrap Feb 03 '17

Java is notorious for having a fuckton of different version and constant updates

15

u/[deleted] Feb 03 '17 edited Dec 12 '20

[deleted]

7

u/[deleted] Feb 03 '17

Go nuts, and that's just Java 8 SE.

3

u/berlinbrown Feb 03 '17

Not seeing your point

18

u/TheInfra Feb 03 '17

Java installations are notorious for having that annoying auto updater, which notifies even about small patches. Also, most users just ignore it and never update their Java runtimes, since they don't know what it's for or are fearful of breaking whatever it's using it.

-2

u/jantari Feb 03 '17

I wonder how many of those perform properly

18

u/ndm250 Feb 03 '17

Java is pretty stable, so all of them?

-6

u/nakilon Feb 03 '17

It is stable in stopping working because of no more memory to allocate.

13

u/ThanksInReverse Feb 03 '17

Just download more RAM.