LWN.net Logo

It runs everywhere!

It runs everywhere!

Posted Aug 21, 2012 16:16 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)
In reply to: It runs everywhere! by pboddie
Parent article: Kamp: A Generation Lost in the Bazaar

> And the best retort to "install a JRE" is, of course, "which one?"
And the best retort to it is, of course, "the most recent one". Sun JVM is very backwards-compatible.


(Log in to post comments)

It runs everywhere!

Posted Aug 21, 2012 16:39 UTC (Tue) by man_ls (subscriber, #15091) [Link]

Sun JVM is no more; Oracle JVM comes with a very annoying binary license:
Unless enforcement is prohibited by applicable law, you may not modify, decompile, or reverse engineer Software.
Remember where we are writing: we may be forgiven for disliking these restrictions.

Besides, Oracle only distributes JVMs for a very limited set of 8 operating system and processor architecture combinations: Linux x86, Linux x64, Mac OS X, Solaris x86, Solaris SPARC, Solaris x64, Windows x86, Windows x64. Considering that ARM systems probably outnumber all these combined, it is a great limitation.

In all this discussion I haven't even brought out the most annoying point of Java development: its "native" graphical toolkits AWT and Swing, which are not integrated with any environments and look alien everywhere. Luckily there is SWT, but it does not precisely simplify the configuration management problem.

It runs everywhere!

Posted Aug 21, 2012 22:52 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link]

Just use OpenJDK. It's fully functional for 99% of applications.

It runs everywhere!

Posted Aug 22, 2012 9:21 UTC (Wed) by cortana (subscriber, #24596) [Link]

Or fully function for 99% _of_ an application. Like Wine. :)

It runs everywhere!

Posted Aug 22, 2012 14:54 UTC (Wed) by pboddie (subscriber, #50784) [Link]

Actually, I was impressed with Wine running a fairly old, but still 3D-based, game that I thought would be a migration show-stopper recently. Even the fancy joystick controller worked as intended.

Meanwhile, with Java runtime environments, if you don't want to run the Sun JRE or just can't, even if OpenJDK should do the job because of its common heritage and proximity to the Sun JRE, that's no guarantee it will work. As I noted, people in certain industries are great at touting the supposed openness of a technology while deploying something that only works with one vendor's specific product.

It also doesn't inspire confidence that Oracle as a vendor, ignoring the reputation currently enjoyed by the company after its recent behaviour, still lives on pre-Internet time with respect to security updates. That said, I do wonder how much attention any of the JREs get in comparison to widely-used open source projects.

It runs everywhere!

Posted Aug 22, 2012 15:07 UTC (Wed) by cortana (subscriber, #24596) [Link]

Unlike with most Java programs, which are only tested on the Sun^WOracle JRE, at least there is a large community of users who try out Windows programs on Wine, and file bugs/send patches to get things fixed. :)

It runs everywhere!

Posted Aug 22, 2012 1:07 UTC (Wed) by pflugstad (subscriber, #224) [Link]

FWIW, Sun/Oracle JVM is available on ARM (and PowerPC), but it's only free for trial use:

<http://www.oracle.com/technetwork/java/embedded/downloads...>

I've had a lot better luck with those than I have with the various IcedTea incantations on ARM/Linux.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds