Skip to main content

Test for Echo

Posted by editor on January 31, 2006 at 6:46 AM PST

Where did my System.out.println go?

Double-clickable JARs are what we have as a base-line for reliably launching Java applications across platforms, including as double-clickable icons on the desktop. It's not a perfect solution -- robust and reliable cross-platform deployment is a big Java SE problem -- but it's pretty useful as far as it goes.

Problem is, launching with a double-click wipes out your ability to work with the System class' "standard I/O" streams: System.out, System.err, and, and while the latter is not commonly used (especially in desktop apps), the first two are commonly used for logging and other purposes. In fact, even if you don't use System.out, there's a good chance that a library you use does.

So, if something breaks, you'd like to know about it, right?

In todays Feature Article, Sanjay Dasgupta introduces
A Console Terminal for JARs:

This article describes an open source project, a-jar-stdio-terminal, that provides console capability to such JARs. It does not require any change to the existing application code, and can, therefore, even be retrofitted onto existing JARs to magically restore lost console capabilities.

In Projects and

Sun is seeking regression reports in the Mustang Regressions Challenge. Every verified regression submitted between now and March 31 wins a t-shirt, and the best five (as judged by Sun engineering and QA) win a new Ultra 20 workstation. There's more information in the FAQ, a forum for discussing the challenge, and a blog about its goals in Announcing the Mustang regressions challenge.

One compelling use of Jini is presented in the article Dynamic Clustering with Jini Technology, which describes a high-availability, scalable clustering technique using Jini technology. "As a tool for dynamic networking, Jini technology found a niche as middleware in support of highly available and scalable enterprise systems that operate on clusters built on commodity hardware."

In Also in
Java Today
Ruby on Rails creator David Heinemeier Hansson is making a controversial call to Let Java retire from the spotlight of web applications in dignity. In an interview with, he claims that Java's popularity is in decline: "I definitely believe that the majority of new web-application development will leave Java in the coming years. Such is evolution. Java served as a very valuable link in that evolution taking business programming out of C++. Now its time to accept that there are more productive ways out there to achieve the same. Just as Java convinced people of that in the mid 90'es. I think 10 years is a great run."

Ready for Mustang? Not sure what it will do for you? Robert Eckstein's More Enhancements in Java SE 6 (Mustang) introduces some of the new features, including setting file and directory permissions, obtaining disk space, adding components to tabbed pane tabs, as well as the inclusion of the SwingWorker class. "Although these features are largely independent of each other, they represent the desire of the Mustang development team to address some of the smaller requests that the Java development community has made."

In today's Weblogs,
Scott Violet offers a Swing tutorial in
Architecting Applications 2: the Application class:
"This is the second blog in a series on architecting applications. In the first blog I discussed the application I'm going to develop, how it would be architected, and briefly went over the model. In this second article I'll motivate the need for an Application class that is suitable for typical Swing based Apps, as well as the functionality it should provide."

Kirill Grouchnikov shares
An unexpected bug report:
"Here is an unexpected by-product of the collaboration fostered by - a bug report filed completely in Chinese."

In Accessing Derby from Creator, Brian Leonard writes
"Yes, I'm a NetBeans guy, but since Creator 2's been released, I can't stop playing with it. Since I've also been playing with Derby a bit lately, and since Derby isn't one of the preconfigured database server types that ships with Creator, I thought a short blog entry might be in order."

In today's Forums,
amyatt sees value in certifications, adding to the
Re: Certifications? thread a little personal experience:
"Certifications are a useful tool. Yes they can be over-hyped, but as someone said above, if you are hiring and with 2 candidates have one person with no certifications and another with several, I might put more weight on the resume of the person with certifications. When evaluating whether to hire programmers it may also be useful to combine the certifications a programmer has with a technical field test."

amyatt is also wondering about
Getting Involved With the Java Community Process:
"Over the last few months I've been toying with the idea of trying to get our higher IT management interested in possibly participating with the JCP. Other than some of the obvious costs such as the membership fee and the time of staff dedicated to working on JSR's, etc. I haven't seen many negatives to involvement."

In today's
News Headlines

Registered users can submit news items for the href=""> News Page using our
news submission
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href=""> News RSS

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of it will be
archived along with other past issues in the href=""> Archive.

Where did my System.out.println go?