TweetFollow Us on Twitter

Java IDE Review
Volume Number:12
Issue Number:8
Column Tag:Javatech™

Two Java Environments Compared

It just started brewing so it might be a little weak

By Marty Wachter

Because developments in the Java world refuse to pause for us, with toolmakers rushing to get products into programmers’ hands with or without their full complement of functionalities, we are compelled to settle for an occasional description of the situation at some arbitrary moment, knowing full well that we’ll be overcome by the rush of events before we go to press. This review was written in mid-May, when, on the Metrowerks side, CodeWarrior 9 (with the corresponding DJ1 update to Discover Programming) had not yet appeared, and, on the Symantec side, neither had the DR2 update to Café - so we couldn’t take account of the important changes that those updates would bring. Meanwhile, Natural Intelligence’s Roaster DR2 was just on the point of release, and because it involved significant improvements we felt it best to wait for it rather than include Roaster DR1 in the present comparison. We need hardly tell our readers that the only reliable way to stay on top of events is to watch the Web. - man

http://www.symantec.com

http://www.metrowerks.com

http://www.natural.com

It’s about time! Java development tools from the familiar Mac development tool vendors, Metrowerks and Symantec, are finally here. Speculation about their arrival first started showing up in MacTech Magazine and the Internet newsgroups almost a year ago. Was it worth the wait? You can decide for yourself by the time you are finished reading this review, which deals with Metrowerks’ first release of Discover Programming with Java and Symantec’s DR1 release of Café.

Note that these are Java development tools; this article is not about the Java language. MacTech Magazine has been describing the language in detail for some time now; there was, for example, Richard Cardona’s “Writing Java 102” in the March 1996 issue ([12.3] 25-38), and, since May, Dave Mark has been devoting some “Getting Started” columns to Java. You will doubtless want to watch Sun’s Java Web site at http://java.sun.com, and the many other fine Java sites such as Elliotte Rusty Harold’s http://sunsite.unc.edu/javafaq.

Being the first commercial release, both products have numerous limitations that I will outline below; remember that by the time you read this, Metrowerks and Symantec will have updates to their tools available on their Web sites.

The best way for me to approach these products is to describe and compare both tool sets from installation to execution.

What You Get

Both products include source code editors with syntax coloring, a Sun-validated Java compiler, Java Applet Viewer, some form of class browser, support for code control, all of the Sun Java example projects converted to the appropriate environment, vendor-specific demo projects, Sun’s Java documentation in HTML format, and various other forms of documentation and utilities.

The MW product also includes the CodeWarrior Java IDE, which is the full version of their IDE, easily adapted to support Java via a plug-in compiler, linker, and preference panel. A big plus for the Metrowerks package is the inclusion of the MW Debugger, which supports the source-level debugging of .class files in the same way it supports debugging .SYM files for C and C++. Additional documentation is supplied as cool Apple Guide files and interactive help which is also linked to the Java HTML documentation via hypertext links in the Guide files. The entire tool set runs native on 68K and PowerPC platforms.

The Symantec product includes the Symantec Project Manager (which appears also to be the full version) for source editing and project management, and a very preliminary version of a visual GUI development tool called Café Studio .which is similar in concept to their Visual Architect tool, for creating java.awt GUI elements and generating the source code for the interface.

In addition to the documentation on the Metrowerks disk, they include an electronic copy of the book Learn Java on the Macintosh, by Barry Boone. Symantec strikes back with an electronic copy of their own “Intro To Java Programming”. Although both packages have ample documentation, I really would have preferred the Java API docs in either THINK Reference format and/or QuickView format.

What You Don’t Get

In their current releases, both products are missing the promised JIT (just-in-time) compilers that their respective documentation alludes to. I suspect that these compilers will greatly enhance the usability of both tool sets.

Other than the absence of a GUI tool for creating Java AWT interfaces, the Metrowerks product contains everything you need to start developing your own Java applets and applications. I don’t know if such a tool is planned, but extending their PowerPlant interface builder would be a welcome addition.

The Symantec tool, on the other hand, is missing two huge features in its DR1 release. If you don’t have a Power Mac, you’re out of luck until the 68K tools are available. The lack of any kind of source-level debugger will make this release very difficult to use for learning the language and for commercial Java development. JPEG support as well as sound support are also absent from this release.

Requirements

According to their documentation, the Metrowerks tools require the following minimum configuration:

• A Mac OS computer with an MC68020, MC68030, MC68040, or PowerPC processor

• 8 megabytes of RAM

• Mac OS System Software 7.1 or later (you’ll need 7.5 or the Apple Guide system if you want to use the Apple Guide documentation)

• A CD-ROM reader for installing the software

For optimum performance, Metrowerks suggests an MC68040 or PowerPC machine with 16 megabytes of RAM.

Symantec minimum requirements are as follows:

• Macintosh 68030 processor (or greater) or Power Macintosh (DR1 supports only PowerPC development)

• 16 megabytes of RAM

• CD-ROM reader for installation

The Symantec documentation did not offer any optimum configuration, but ultimately the only way I could get an applet up in the SPM and run it on my Power Mac 6100 (System 7.1.2) with 24 megs of RAM, was to turn off all extensions and turn on Ram Doubler to get it up to 48 megs.

Installation

So, here I am, about to install both products. They each ship on a CD-ROM and contain installers built by MindVision’s Installer Vise system, with options for Easy and Custom installations. Metrowerks’ recommended Easy Install option will need almost 51 megabytes of your disk. Thankfully, Metrowerks gives you the option of installing the tools, documentation, online books, and sample code separately. There is also the comforting Minimal Install option which will cost you under 11 megabytes of space.

The Symantec installer provides an Easy Install option, but it doesn’t tell me how much space it will cost me. Only after performing the installation will I learn that Easy Install requires about 35 megabytes of space (5 megs more than the required space according to the documentation). The Easy Install option does not install the full documentation, the extra utilities, or the Café Studio tool. To get around this, you are offered the option of installing the Café Tools, Café Studio, Java Demos, Goodies, and full documentation under the Custom Install choice. Selecting all of the Installation options under Custom Install reports that the full installation will require just under 28 megabytes of space - I’m confused!

I proceed with the Easy Installation options for both packages. The Metrowerks system installs everything into a “Discover Programming with Java” folder on my drive. The Symantec installer is a bit troublesome in that the default installation places the Café tools folders at the root level of my drive, so I have to do some cleaning up after the install. Sure, I forgot to select a directory in the “Select a Folder” menu under the Install Location option, but I was excited to get started. The Easy Install should be just that, easy. I then have to go back and do a Custom Install to get the Café Studio tool.

The Tools

OK, now that I finally have these tools on my Mac, it’s time to see what it’s all about. Generally speaking, both environments are extensions of their respective C/C++ products. This is fortunate because you don’t have to learn new tools to get started. To keep things even, I chose the Sun Animator demo applet, included with both packages, for my tests.

IDE Project Managers

As you would expect from any successful Macintosh tools vendor, both products contain a familiar project model for building Java applets and Java applications (applets are executed via the <applet> tag in HTML; applications are real Macintosh programs that execute when you double-click them). Symantec includes its standard Symantec Project Manager for managing your .java source files and your .html files; Metrowerks uses their CodeWarrior Integrated Development Environment for the same purpose.

Editors

Both products include editors built into their IDEs, which support function markers, syntax coloring, drag-and-drop editing, and split panes.

Class Browsers

Both products also contain class browsers which are extremely helpful for viewing and editing any object-oriented source code. The Symantec product includes a graphical mode which shows you a left-to-right graphical tree of the project’s files. This is a cool tool, but I was easily able to cause a few problems while testing it out. Aside from a few cosmetic bugs like list selections extending beyond the bounding panel, I found that if I double-clicked on a Java library class function the SPM reports that the file can’t be found. I tried removing the project’s object code, and reset the project paths, but this caused a total system crash. After rebooting, I tried again and this time crashed the SPM by holding the mouse down over one of the graphical leaves in the class browser. Oh, well; it looks like a cool feature. On to the rest of the tools.

Compilers

As I mentioned before, the JIT compilers are not available in either release. Metrowerks currently offers only one compiler, the Sun-validated “MW Compiler” which is essentially the same compiler code that the Sun Mac JDK (beta 1) uses. Symantec offers the standard Sun compiler and a faster Symantec Java Compiler that seems to outperform the Sun compilers as far as time to compile is concerned.

Interface Builders

Metrowerks doesn’t include any sort of interface builder with this release; Symantec, however, has included a preview release of their Café Studio application (which is also PowerPC-only code). This tool reportedly allows you to draw the java.awt interface components with a MacDraw-like tool palette. You can the generate the Java code to create the actual interface in your project. You still have to do some manual work on the resulting code, and several of the java.awt components are not supported. There is also no way of subclassing any of the java.awt classes using this tool. I also found out that there is no documentation for Café Studio on the DR1 disk. You had to visit Symantec’s password-protected Café Web site, armed with your user ID and password (which comes on a paper insert to the CD’s jewel box) just to get to the Café Studio update, which I found to contain the missing documentation to Café Studio, in Adobe PDF format.

Figure 1. The Café Studio environment

Applet Viewers (The Java Virtual Machine)

Both Metrowerks and Symantec include a modified version of the Sun Applet Viewer. Once your Java source code is compiled into bytecodes, you run your code with the Applet Viewer. The Metrowerks version, called “Metrowerks Java”, is a bit farther along in that it supports sound. The Symantec version doesn’t support sound yet.

I have found that the overall performance of both Applet Viewers is lacking. I sincerely hope that the next release of both products will pay more attention to the performance of Java on the Mac platform. In particular, the graphics drawing implementations are very slow. I have some custom graph-paper code (similar to the Graphing Calculator that came with the Power Macs) which I wrote on a Sparc 4 under Sun’s Solaris JDK, that flies when run with the Sun JDK, but is painfully slow even on a Power Mac 9500/132!

Debuggers

This part of the review was the easiest. The current release of Café doesn’t have one and the Metrowerks debugger is the exact same “MW Debug” that you use with any other language. You just treat your .class files that the MW compiler spits out as if they were .SYM files. Having a real Mac-based source-level debugger for Java code is the one thing that I have really wanted since I started doing Java development last year with the Sun JDK alpha 3 tools. This tool alone is worth the entire cost of the Metrowerks tool set!

[Incoming Editor-in-Chief Will Iverson adds: “As of this writing, all three vendors have shipped debuggers. However, all of these debuggers have severe limitations with regard to multi-threaded debugging, variable display, stepping in and out of code, and multi-language display (e.g. debugging C/C++ and Java code). Consider yourself warned...”]

Figure 2. The Metrowerks debugger

Support

The support you get with both products differs a bit. Metrowerks and Symantec both offer some type of phone support, fax support, and internet support. The big differences are that Symantec offers a 60-day money-back guarantee and 90 days (from the date of your first call) of unlimited phone support for installation, configuration, and general use (which in my opinion you’ll definitely need), after which you’ve got to pay, while Metrowerks offers their standard unlimited phone support. The other thing, which I mentioned earlier, is that you’ll need your password and user ID to access Symantec’s Café Web site for updates, while Metrowerks’ Web site is accessible without a password or ID.

Conclusion

Table 1 shows a summary of the features sets of the two environments.

Table 1. Comparative feature sets

It’s nice to finally have some options for Java development on the Mac platform. Finally the Internet world will get to see what interesting and useful Java software will look like from the Mac developer’s perspective. Your choice of Java tools might come down to going with whatever environment you are more comfortable with, just to ease the learning curve, but in the early innings of this game the smaller hardware requirements, 68K support, and the excellent source-level debugger make Metrowerks’ “Discover Programming with Java” the clear choice for getting started with Java development on the Mac. However, if you are planning to do any serious Java development, and especially if you require use of Java’s awt.graphics system, you’ll want to get yourself a Sparc station.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Dropbox 193.4.5594 - Cloud backup and sy...
Dropbox is a file hosting service that provides cloud storage, file synchronization, personal cloud, and client software. It is a modern workspace that allows you to get to all of your files, manage... Read more
Google Chrome 122.0.6261.57 - Modern and...
Google Chrome is a Web browser by Google, created to be a modern platform for Web pages and applications. It utilizes very fast loading of Web pages and has a V8 engine, which is a custom built... Read more
Skype 8.113.0.210 - Voice-over-internet...
Skype is a telecommunications app that provides HD video calls, instant messaging, calling to any phone number or landline, and Skype for Business for productive cooperation on the projects. This... Read more
Tor Browser 13.0.10 - Anonymize Web brow...
Using Tor Browser you can protect yourself against tracking, surveillance, and censorship. Tor was originally designed, implemented, and deployed as a third-generation onion-routing project of the U.... Read more
Deeper 3.0.4 - Enable hidden features in...
Deeper is a personalization utility for macOS which allows you to enable and disable the hidden functions of the Finder, Dock, QuickTime, Safari, iTunes, login window, Spotlight, and many of Apple's... Read more
OnyX 4.5.5 - Maintenance and optimizatio...
OnyX is a multifunction utility that you can use to verify the startup disk and the structure of its system files, to run miscellaneous maintenance and cleaning tasks, to configure parameters in the... Read more

Latest Forum Discussions

See All

Zenless Zone Zero opens entries for its...
miHoYo, aka HoYoverse, has become such a big name in mobile gaming that it's hard to believe that arguably their flagship title, Genshin Impact, is only three and a half years old. Now, they continue the road to the next title in their world, with... | Read more »
Live, Playdate, Live! – The TouchArcade...
In this week’s episode of The TouchArcade Show we kick things off by talking about all the games I splurged on during the recent Playdate Catalog one-year anniversary sale, including the new Lucas Pope jam Mars After Midnight. We haven’t played any... | Read more »
TouchArcade Game of the Week: ‘Vroomies’
So here’s a thing: Vroomies from developer Alex Taber aka Unordered Games is the Game of the Week! Except… Vroomies came out an entire month ago. It wasn’t on my radar until this week, which is why I included it in our weekly new games round-up, but... | Read more »
SwitchArcade Round-Up: ‘MLB The Show 24’...
Hello gentle readers, and welcome to the SwitchArcade Round-Up for March 15th, 2024. We’re closing out the week with a bunch of new games, with Sony’s baseball franchise MLB The Show up to bat yet again. There are several other interesting games to... | Read more »
Steam Deck Weekly: WWE 2K24 and Summerho...
Welcome to this week’s edition of the Steam Deck Weekly. The busy season has begun with games we’ve been looking forward to playing including Dragon’s Dogma 2, Horizon Forbidden West Complete Edition, and also console exclusives like Rise of the... | Read more »
Steam Spring Sale 2024 – The 10 Best Ste...
The Steam Spring Sale 2024 began last night, and while it isn’t as big of a deal as say the Steam Winter Sale, you may as well take advantage of it to save money on some games you were planning to buy. I obviously recommend checking out your own... | Read more »
New ‘SaGa Emerald Beyond’ Gameplay Showc...
Last month, Square Enix posted a Let’s Play video featuring SaGa Localization Director Neil Broadley who showcased the worlds, companions, and more from the upcoming and highly-anticipated RPG SaGa Emerald Beyond. | Read more »
Choose Your Side in the Latest ‘Marvel S...
Last month, Marvel Snap (Free) held its very first “imbalance" event in honor of Valentine’s Day. For a limited time, certain well-known couples were given special boosts when conditions were right. It must have gone over well, because we’ve got a... | Read more »
Warframe welcomes the arrival of a new s...
As a Warframe player one of the best things about it launching on iOS, despite it being arguably the best way to play the game if you have a controller, is that I can now be paid to talk about it. To whit, we are gearing up to receive the first... | Read more »
Apple Arcade Weekly Round-Up: Updates an...
Following the new releases earlier in the month and April 2024’s games being revealed by Apple, this week has seen some notable game updates and events go live for Apple Arcade. What The Golf? has an April Fool’s Day celebration event going live “... | Read more »

Price Scanner via MacPrices.net

Apple Education is offering $100 discounts on...
If you’re a student, teacher, or staff member at any educational institution, you can use your .edu email address when ordering at Apple Education to take $100 off the price of a new M3 MacBook Air.... Read more
Apple Watch Ultra 2 with Blood Oxygen feature...
Best Buy is offering Apple Watch Ultra 2 models for $50 off MSRP on their online store this week. Sale prices available for online orders only, in-store prices may vary. Order online, and choose... Read more
New promo at Sams Club: Apple HomePods for $2...
Sams Club has Apple HomePods on sale for $259 through March 31, 2024. Their price is $40 off Apple’s MSRP, and both Space Gray and White colors are available. Sale price is for online orders only, in... Read more
Get Apple’s 2nd generation Apple Pencil for $...
Apple’s Pencil (2nd generation) works with the 12″ iPad Pro (3rd, 4th, 5th, and 6th generation), 11″ iPad Pro (1st, 2nd, 3rd, and 4th generation), iPad Air (4th and 5th generation), and iPad mini (... Read more
10th generation Apple iPads on sale for $100...
Best Buy has Apple’s 10th-generation WiFi iPads back on sale for $100 off MSRP on their online store, starting at only $349. With the discount, Best Buy’s prices are the lowest currently available... Read more
iPad Airs on sale again starting at $449 on B...
Best Buy has 10.9″ M1 WiFi iPad Airs on record-low sale prices again for $150 off Apple’s MSRP, starting at $449. Sale prices for online orders only, in-store price may vary. Order online, and choose... Read more
Best Buy is blowing out clearance 13-inch M1...
Best Buy is blowing out clearance Apple 13″ M1 MacBook Airs this weekend for only $649.99, or $350 off Apple’s original MSRP. Sale prices for online orders only, in-store prices may vary. Order... Read more
Low price alert! You can now get a 13-inch M1...
Walmart has, for the first time, begun offering new Apple MacBooks for sale on their online store, albeit clearance previous-generation models. They now have the 13″ M1 MacBook Air (8GB RAM, 256GB... Read more
Best Apple MacBook deal this weekend: Get the...
Apple has 13″ M2 MacBook Airs available for only $849 today in their Certified Refurbished store. These are the cheapest M2-powered MacBooks for sale at Apple. Apple’s one-year warranty is included,... Read more
New 15-inch M3 MacBook Air (Midnight) on sale...
Amazon has the new 15″ M3 MacBook Air (8GB RAM/256GB SSD/Midnight) in stock and on sale today for $1249.99 including free shipping. Their price is $50 off MSRP, and it’s the lowest price currently... Read more

Jobs Board

Early Preschool Teacher - Glenda Drive/ *Appl...
Early Preschool Teacher - Glenda Drive/ Apple ValleyTeacher Share by Email Share on LinkedIn Share on Twitter Read more
Senior Software Engineer - *Apple* Fundamen...
…center of Microsoft's efforts to empower our users to do more. The Apple Fundamentals team focused on defining and improving the end-to-end developer experience in Read more
Relationship Banker *Apple* Valley Main - W...
…Alcohol Policy to learn more. **Company:** WELLS FARGO BANK **Req Number:** R-350696 **Updated:** Mon Mar 11 00:00:00 UTC 2024 **Location:** APPLE VALLEY,California Read more
Medical Assistant - Surgical Oncology- *Apple...
Medical Assistant - Surgical Oncology- Apple Hill WellSpan Medical Group, York, PA | Nursing | Nursing Support | FTE: 1 | Regular | Tracking Code: 200555 Apply Now Read more
Early Preschool Teacher - Glenda Drive/ *Appl...
Early Preschool Teacher - Glenda Drive/ Apple ValleyTeacher Share by Email Share on LinkedIn Share on Twitter Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.