Java: Linux’s New Best Friend?

Java once promised “Write Once, Run Everywhere.” Why, it might just happen, and that would be great for Linux.

Magazine writers, particularly computer magazine writers, are the most vain sort of creature. Most of us don’t write for big consumer periodicals or do mass-market features because we’re too nerdy and have antisocial tendencies. Still, we love to see our names in print, and even more so, we love it when readers write in with compliments. You have no idea how nice it feels to receive an email from a Linux Magazine, telling me that an article really helped or that they’d like to talk to me to get more information. At the end of the day, a computer industry writer just wants to be loved.

So I was overjoyed recently when I got a letter from a reader, thanking me for the articles I’d written about multimedia software and browser extensions in Linux. The letter went on to ask if I could comment on a product idea, a Linux-based, kiosk-format application for airports and other public places. I said, “Sure. Here’s my business phone number. Ring me up.”

As it turns out, the endeavor aims to create a web-browsing and Internet access booth capable of playing any sort of multimedia content that you’d come across on the Web. The founder asked me if it was technically possible to realize the product in Linux. I said, “Yes, it’s technically possible. But whether it’s legal is another matter entirely.”

The lack of ability to legally play Web-based multimedia content is probably one of the greatest obstacles to mass-adoption of desktop Linux. Sure, we’re making great strides with applications like OpenOffice; open source email applications are quite robust; the browsers are very good; and our desktop user interfaces are beginning to look polished. Further, I’d venture to say that the Linux desktop is as technically sophisticated as Windows Vista and Mac OS X, particularly with the 3D technology that the newer Linux distributions can use.

But at the end of the day, besides productivity applications and email, people want to view the news clips at Yahoo News and CNN.com, watch a TV show at CBS.com, and catch the latest movie trailers on the Apple Quicktime site. Unfortunately, many times, all that Linux can muster is an empty box or a mysterious “plugin missing” message. And while you can get this stuff to run on Linux, most of it isn’t legal, and if it is, it’s probably dependent on a binary-only plugin that a sole, third-party software company distributes.

As of this writing, Macromedia Flash 9 was recently released for Linux, and it goes a long way to improve the Web experience for desktop Linux users. However, it’s binary-only, and it runs only on 32-bit Intel architectures. It’s also limited to ALSA sound, which is a newer standard than most distributions support.

But Flash is only the tip of the iceberg. So many more codecs and plugins are needed to support the breadth of media found on the Web. There’s Microsoft Windows Media (not legal), Quicktime (not legal), RealPlayer (open source, but the Linux implementation isn’t identical to the Windows version), and a host of other minor but prevalent multimedia formats that need local software and a browser extension to play.

How are we going to solve this problem? Some companies, like Fluendo want to license the actual media formats in a legal fashion and provide binary-only codecs to end-users and Linux distributors. While it’s good that some of these formats are indeed licensable, it’s not cheap — you can expect to add $50-$100 to the cost of each Linux distribution to be strictly legal.

What’s the community to do, then? Well, there’s no question that we need to push more and more multimedia content providers to use open standards, and we need to encourage the proprietary codec creators to create open source versions of their players, or to open the standards to allow open source players to be built by the community. But I also think we should look to the future and think about how we can get multimedia content to display on all sorts of Linux-based devices, not just desktops.

Recently, Sun Microsystems answered many of our prayers when the company opened Java under the GPL3 license. Currently, Java isn’t used as the basis for displaying a lot of multimedia content on the Web, but that could very easily change, especially with a Java Virtual Machine re-write by the community to optimize it for multimedia content, and some tweaking of the Sun Java Web Start code. If the codecs ran under an open source JVM and could be licensed legally, a lot of the media problems would be solved. Audio and video codecs would download on-the-fly, and the JVM would handle all of the work required to set up the environment and play the content.

Not only that, but a licensing model could be established by which codecs are paid for by the content supplier on a per-use basis. For sites like Yahoo News and CNN, who pay for their content with advertising, this is a no-brainer business model and lifts the burden from the end-user.

This solution may be from the Outer Limits and may be too good to be true, but Web Start technology is already proven in the industry with enterprise J2EE applications. It’s exactly the sort of thing Java is meant for, and with today’s broadband, the ability to deliver executable code dynamically to the browser is a reality. Microsoft tried this with ActiveX and for the most part failed, but largely because it was proprietary. With an open, Java-based plugins, all sorts of multimedia platforms, be they Windows, Macintosh, Linux, or embedded device, can join in on the fun.

I never thought I’d say it, but Java might be Linux’s new best friend.

Comments on "Java: Linux’s New Best Friend?"


Java has been Linux friend for a long time at least for enterprise applications.

It doesn’t need any technical changes, openjdk or not, this won’t make any difference (except to GPL extremists). The multimedia side is quite mature on Java… There just need to be content providers and users.

Microsoft Silverlight might have a future on linux for this purpose… The mono team got some impressive results so far.


I honestly believe the next twenty years will have a big show of computer development in ways and formats that we may not even have now. China is the single, foremost country in the world to develop, market and bring to the forefront an operating system with software and hardware support that would make China really revolutionary with respect to computers. This is no joke as Microsoft walks softly, speaks carefully, gives freely and leaves it’s big sticks and threatening ways at home when it goes to visit.
MS is more than aware that China’s government uses some form of linux, if the government instructs it’s population to become educated, develop and market PC software and hardware based on a new OS or some version of Linux, MS will become nothing more than a flash in the pan of computer history


Rob, I agree that China could have a major impact on computing based on their mass alone. (The Government uses it, Motorola’s first Linux-based phone was sold in China, &c.) However, they don’t really contribute a lot to Linux development in what would be considered an “open” fashion.

I think your statement, “if the government instructs it’s population…” is pretty interesting. If such a thing is possible — and it may be, I don’t really understand how China works — then what you’re describing is really no different than any other form of technology monopoly. It’s not Open. It’s not choice. And it certainly wouldn’t be adopted by the rest of the world in any way that would greatly impact Microsoft’s business.


I agree with the author but the statement he makes remains to be seen:

“If the codecs ran under an open source JVM and could be licensed legally”

This may very well be a case of making it work, and then they will come. Need some proof of concept first, though.

As for China, “if the government instructs the population” is a dictatorial comment.

This reflects the classic conflict of ancient Greece between Sparta (dictatorship with lots of slaves) and Athens (democracy). But instead of swords and spears, computer programming will be the weapon. My view is that free intellectuals in a free market economy will always prevail over enslaved intellect in a dictatorship.
Freedom, intellect, capitalism and the generation of wealth go hand-in-hand.
China cannot change that, since chinese people are human too…


“If the codecs ran under an open source JVM and could be licensed legally”

I still don’t see the motivation a designer will have to do so, other than the Java moto “Write once, run every where”. As some one stated the fact the JVM is open was not the point, no cost JVM has been available for many year on many plataforms, and still we don’t see to many codes on java.

I’m with Linux since 95 and only on Linux since 99, but we have to realize that the non Windows desktop uses are still a small minority. But a growing one ;-)



I agree that linux is moving very quick. Let us rember that what makes linux awesome is that it is used by the GNU and its important to rember that the GNU is most of the OS most of the time. Let us support GNU more and more and not linux per se’. The next few years is going to show more and more weaknesses in the Linux model. We must keep strong for the puposes stated in the GNU user agreement! Do not sell our the soul of GNU if you will for exceptiance that would be counter productive!


> The next few years is going to show more and more weaknesses in the Linux model

Interesting … Can you list and describe some of the linux weaknesses as you see them leading away from the GNU? It’s not thread wandering because I see java and .net to be the _first_ really useful/practical implemenations of RPC! RPC cannot truely mature until security and bandwidth is the norm. Once that happens, the dream of Java to provide what I call “Tollware” comes true. Then the licensing and ‘codec’ issues will fall to the wayside. If China figures out how to adopt this first, the GNU had better be translated into Mandarin!


As for China instructing its people to use Linux. I don’t see this as much different than the current administration and proprietary codecs continuing the MS monopoly. Even states trying to use an open document format is blocked by the courts. When MS feels is monopoly is threatened, it doesn’t fight back with better products or prices, it goes to court. Do we really think we have much choice here?

Hello.This article was extremely interesting, particularly since I was searching for thoughts on this subject last Tuesday.

Hey just wanted to give you a brief heads up and let you know a few of the images aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same outcome.

Very good written information. It will be useful to anyone who usess it, as well as yours truly :). Keep doing what you are doing – i will definitely read more posts.

This is the correct weblog for anyone who wants to seek out out about this topic. You realize so much its almost arduous to argue with you (not that I truly would want…HaHa). You undoubtedly put a new spin on a topic thats been written about for years. Great stuff, just nice!

Great site you have here but I was wanting to know if you knew of any user discussion forums that cover the same topics discussed in this article? I’d really love to be a part of group where I can get feedback from other knowledgeable individuals that share the same interest. If you have any recommendations, please let me know. Appreciate it!

Hi there, I found your blog via Google while searching for a related topic, your site came up, it looks great. I’ve bookmarked it in my google bookmarks.

Wow, awesome blog layout! How lengthy have you ever been running a blog for? you made blogging glance easy. The entire look of your site is fantastic, as well as the content!

Hi, Neat post. There’s a problem with your web site in internet explorer, would check this… IE still is the market leader and a huge portion of people will miss your fantastic writing due to this problem.

Hi there! Would you mind if I share your blog with my zynga group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Thank you

You really make it appear so easy along with your presentation however I find this matter to be actually one thing which I believe I’d by no means understand. It kind of feels too complicated and extremely vast for me. I am looking forward for your next post, I’ll try to get the dangle of it!

Real clear internet site, regards for this post.

very good post, i actually love this website, keep on it

What’s up, just wanted to mention, I liked this blog post. It was practical. Keep on posting!|

Hello my friend! I wish to say that this article is amazing, great written and include almost all important infos. I¦d like to see extra posts like this .

Excellent post. I used to be checking continuously this weblog and I’m inspired! Very useful information particularly the last section :) I deal with such information a lot. I used to be looking for this certain info for a very lengthy time. Thanks and best of luck.

I simply want to say I am newbie to blogging and site-building and definitely liked this page. Probably I’m want to bookmark your blog . You really have superb articles and reviews. Appreciate it for revealing your web site.

Leave a Reply