Compile Java code without the JDK
Each Java Tips installment will present short, helpful tips and tricks to help you caffeinate your Java code. We will explore the many facets of this wonderful technology, one bean at a time.
We would also like to pass on your Java tips to the rest of the Java world. Start writing up your coolest tips and tricks now so that you can send them in โ and be eligible for JavaWorldโs โJava Tip of the Weekโ contest.
If your Java tip is chosen as JavaWorldโs Java Tip of the Week, youโll be awarded a prized JavaWorld T-shirt and 10,080 minutes of fame and prestige. Send your Java tips and tricks to javatips@javaworld.com.
The tip-off
This regular column will soon discuss the nitty-gritty details that many crave, but we decided weโd better ease into things, so we begin our quest with pointers to some of the prime resources that already exist to help expand our understanding of the world of Java.
There are a lot of resources available to help us learn about Java, starting with Sunโs Java Home Page. This is the official Sun Microsystems access point for all Java-related information. You can find everything from Sunโs Latest Java Announcements to Sunโs Online Java Documentation to Sunโs Java Development Tools.
Sun keeps the Java site fairly up to date. However, some of the language documentation has been allowed to get rather stale at times. Hopefully, with the release of the The Java 1.0 Developers Kit, out-of-date docs will become a thing of the past.
Be sure to read these pages with a Java-enabled browser so you can enjoy a steaming cup of Java (courtesy of a Java Animator applet).
For those who just want to download stuff, the attendant anonymous FTP site is Sunโs Java FTP server. Though do note that Sunโs Java servers are all heavily loaded pretty much all of the time.
Online discussion about Java is mainly conducted on the Java Newsgroup comp.lang.java. It is inundated by a huge number of posts (so I hope you have a good, threaded newsreader). The HotJava Alt Newsgroup also has a fair bit of discussion. It is less busy than the Java newsgroup but it gets a lot of non-HotJava related posts. The JavaScript Newsgroup was recently created for discussion of JavaScript issues. The traffic seems pretty light so far and seems to be staying focused on JavaScript.
There are also some Java-related mailing lists. Sunโs Java mailing lists are mostly holdovers from the days before the Java newsgroup was created. The Linux Java mailing lists are about porting Sunโs Java Development Kit to the Linux platform. There is also a (wonderfully low traffic) mailing list discussing the development of a โreal-timeโ version of Java at real-time-java-request@iastate.edu. Some of the lists are quite technical. The announcement mailing keep you informed of new releases. Unfortunately, the Sun Java announcement mailing list gets very little traffic.
Digital Espresso (once known as โJ*** Notesโ) was created to distill the flood of information from the Java newsgroups and mailing lists into a concise summary. Digital Espressoโs team slogs through all of the comp.lang.java posts and distills the important information into a relatively short weekly report. This is a great resource to keep abreast of the major flow of comp.lang.java but is not, of course, a substitute for active newsgroup participation. Since Digital Espresso tracks all of the Java-related announcements, it is a great substitute for general announcement mailing lists.
There are a number of other folks who have put together various informational posts and Web pages. John Decemberโs Java Online Information Sources is a wonderfully clean springboard to world of Java. Elliotte Rusty Haroldโs โCafe au Laitโ is another good launching point. I was a bit disappointed that the Java Training section lists only Sun Educationโs offerings, but the book area contains a nice section on upcoming books. JavaWorld is building JavaWorldโs Java Jumps, yet another list of worthwhile Java-related resources.
In parting, remember that if you happen to spill Java on your keyboard, take it into the bathroom and use a hair/blow dryer to get rid of the evidence.


