home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-09-02 | 10.7 KB | 277 lines | [TEXT/CWIE] |
- ========================================================================
- Metrowerks Java StandAlone Release Notes
- ========================================================================
-
- Version: 1.5
- Date: 9-2-98
- Authors: Greg Bolsinga, Michael C. Stricklin, Scott Kovatch,
- Marcus Jager, Tim Freehill
- ========================================================================
-
- StandAlone Java is an application that hosts Java Virtual Machines on
- the Macintosh. It supports Apple's MRJ and Metrowerks' JVM. It creates
- double-clickable MacOS java applications.
-
-
- ========================================================================
- How To Use
- ========================================================================
-
- Metrowerks Java StandAlone encapsulates the JVM interface with the
- user's java code. The JVM will be found in the usual places:
-
- MRJ: In the default Extensions folder installation, or next to the
- StandAlone MacOS application, if the user wants to use newer
- versions of MRJ.
-
- MW JVM: The same folder as the generated StandAlone _only_.
-
- Use the Java MacOS Post Linker and set it to MW Standalone.
-
- If the JVM is set to 'Metrowerks' or 'Metrowerks - JIT', the file
- 'Metrowerks VM' & the folders 'Classes' & 'Lib' _must_ be in the same
- folder as the StandAlone MacOS application. If they aren't, StandAlone
- will look for MRJ.
-
- The settings in for MW Standalone control whether a Console window is
- made available and the behavior desired when files are dropped onto
- the resulting StandAlone MacOS application.
-
- The console window won't display itself until it is needed, check or
- uncheck "Has Console Window" to set.
-
- The behavior of the resulting StandAlone MacOS application in relation
- to files dropped onto it can also be modified. In previous versions of
- StandAlone, every file dropped onto the StandAlone MacOS application
- would create a new JVM instance with the filename as an argument added
- to the end of the list. Now there are four options:
-
- 1. No dropped files allowed. No files dropped onto the StandAlone MacOS
- application will ever be added to the java application's argument
- list. It can be started up by a dropped file, but the file is
- ignored. All subsequent dropped files are ignored. This only allows
- one instance of the JVM to be created during the StandAlone MacOS
- application's lifetime.
-
- 2. First dropped file only. Only the first file dropped onto the
- StandAlone MacOS application will be added to the command line
- arguments for the java application. If the StandAlone MacOS
- application is started up without a file dropped upon it, it will
- ignore any more dropped files. This only allows one instance of the
- JVM to be created during the StandAlone MacOS application's lifetime.
-
- 3. Multiple files can be dropped, one JVM. All files dropped onto the
- StandAlone MacOS application will be added added the command line
- arguments for a new java application instance. This allows only one
- instance of the JVM to exist at one time during the StandAlone MacOS
- application's lifetime. It will kill the current instance of the JVM
- whenever a new file is dropped on the StandAlone MacOS application.
-
- 4. Multiple files can be dropped, many JVMs. All files dropped onto the
- StandAlone MacOS application will be added added the command line
- arguments for a new java application instance. This allows many
- instances of the JVM to exist at one time during the StandAlone MacOS
- application's lifetime. This was the previous behavior of the
- StandAlone MacOS application.
-
-
- ========================================================================
- Released Versions
- ========================================================================
-
- 1.5 CWPro4
- 1.2 CWPro3
- '10-21-97' CWPro2
-
-
- ========================================================================
- New Features since CWPro3
- ========================================================================
-
- * MW Standalone now builds without stationery and editing MacOS
- resources. It's options are settable in the Java MacOS Post Linker.
-
- * Apple MRJ 2.0 is now better supported, since StandAlone Java now uses
- JManager 2.0. (For example: windows won't be shoved in the corner,
- moving windows works, zooming windows works. Command line args are
- used.)
-
- * The StandAlone Java w/ Embedded JVM has been dropped. This only
- supported a special build of the MV JVM, which isn't the default JVM
- anymore.
-
- * The MacOS version number of the JVMs used by StandAlone Java is shown
- in the about box. This makes support easier for StandAlone Java.
-
-
- ========================================================================
- Bugs Fixed since CWPro3
- ========================================================================
-
- * Fix a bug that would draw windows incorrectly once they were moved or
- resized. (partial MW09157)
-
- * Fix a little leak when running applications. (Since 1.5b7)
-
- 1.5b7:
-
- * Fix a bug when searching for the MRJ Code Fragment. It now uses CFM
- always. Clean up some MRJ callbacks.
-
- * Fix a bug that would manifest itself in crashes when running Swing
- when a JMenu that was taller than its JFrame would be shown & crash
- when its hidden. (Since 1.5b1) (Part of MW08510)
-
- * Fix a bug where MRJ wasn't told that a java window had been moved by
- the user. This would be especially obvious when using Swing menus.
- (since 1.5b1) (Part of MW08510)
-
- * Clean up the MRJ JManager 2.0 JNI code again. Thanks to Pedro Larios.
- (Since 1.5b6) (MW08640)
-
- * The console window won't always come to the front when text is written
- to it. It also won't show up for the first time in front of a java
- virtual machine window.
-
- 1.5b6:
-
- * Fix memory leak when running java applications with MRJ. A JNI global
- reference to the main() arguments was being 'lost'. (Since 1.5b1)
-
- 1.5b5:
-
- * Fix bug where the cursor wasn't always at the end of the text in the
- console window. (Since 1.5b4)
-
- 1.5b4:
-
- * The console window now uses the WASTE text engine. This means it can
- hold more text. The console window now also draws more clearly.
-
- * System.in works from the MW Java Console window now if MRJ 2.1 or the
- MW JVM is being used. See below for a note about MRJ 2.0.
-
- * Fix a bug with MRJ StandAlone. System.exit() wouldn't quit the
- StandAlone MacOS application.
-
- 1.5b3:
-
- * Fix a bug in regulating the behavior of files dropped onto the
- StandAlone MacOS application. It now does exactly what it says it will
- do in the How To section.
-
- 1.5b2:
-
- * The working directory is always set to the directory that the
- StandAlone MacOS application is in.
-
- * The JVM now only loads once it's needed! Also the JVM loading code is
- smarter, so MW Java won't idle & do nothing when a JVM wanted is
- missing. (since 1.2.1) (MW07139)
-
- * Fix a sometimes crasher when attempting to display the 'Loading
- JVM...' dialog box.
-
- 1.5b1:
-
- * There's now a way to specify what should occur when a file is dropped
- onto the resulting StandAlone MacOS application. See 'How To Use'
- above for information.
-
- * Editing of the 'MW Java StandAlone.lib' isn't necessary to change the
- behavior for a given project. See 'How To Use' above for information.
- (Obsolete w/ Java MacOS Post Linker)
-
- * The Finder icon has been fixed. There was a problem w/ the BNDL
- resource. (since 1.2)
-
- * Removed Mercutio code & resources since it was unused.
-
- * Fix the password field in the Authentication Dialog box. (since 1.2)
-
- * Greatly reduced the executable size. (since 1.2)
-
- * If the Metrowerks JVM wasn't in the same folder as StandAlone Java,
- CFM would look in the System folder, and MS JVM would be identified as
- MW JVM, due to MS JVM's & MW JVM's common ancestry. StandAlone Java
- will now _absolutely_ look for MW JVM in the same folder as itself.
- (since 1.2)
-
- * The zoom button for MW JVM windows now does something. (since 1.2)
-
- * Arguments are now passed to MRJ without crashing the JVM. (MW05872,
- MW05900)
-
- * MRJ is now found using CFM routines. This way different versions of
- MRJ can be used & tested. CFM attempts to find dll's in the same
- directory as the executable first, then looks in the System folder.
- (since 1.2)
-
- * Passes key release events to MRJ (but not to MW JVM). (since 1.2)
-
- * Fully qualified main class names are acceptable if '.' delimited or
- '/' delimited.
-
- * Fixed bug where the working directory setting wasn't being passed to
- MRJ.
-
- * Fixed modal dialogs with MRJ 2.0 in StandAlone Java.
-
-
- ========================================================================
- Known Bugs and Incompatibilities
- ========================================================================
-
- * MRJ 2.0 & MRJ 2.1ea1 have some problems when quitting MW Java in rare
- circumstances, but it is fixed in MRJ 2.1ea2. (Part of MW08510)
-
- * Right now, System.in doesn't work with MW Java's Console window if the
- JVM selected is MRJ 2.0. Hopefully this will be fixed soon. Please run
- com.mw.SystemInput before any java application that requires System.in
- when using MRJ 2.0. It is present in the classes.zip used by the MW
- JVM. MW JVM's classes.zip could be added to the class path so
- SystemInput could be found. Or you can take it out of MW JVM's
- classes.zip with Class Wrangler. Or, you could compile it into your
- output. MRJ 2.1 fixes this problem.
-
- * Either MRJ or the Metrowerks JVM may crash StandAlone Java if their
- respective class libraries are not found in their proper places.
-
-
- ========================================================================
- Additional Notes
- ========================================================================
-
- * To use this version of StandAlone Java, the files Metrowerks Java
- JVM, and the Classes and Lib folder must reside in the same folder as
- StandAlone Java. Or MRJ must be properly installed. If you'd like to
- use a newer version of MRJ & keep around an old one, place an alias
- to "MRJLib" next to StandAlone Java. It will find and load the MRJ in
- the application's folder before any installed in the Extensions
- folder.
-
- * The new .cab support in the MW appletviewer (only in the MW JVM) now
- creates a folder called "Retrieved Files" in the same folder as the
- application. This folder is used to store temporary files for the cab
- decompression engine.
-
-
- ========================================================================
- Contacting Metrowerks
- ========================================================================
-
- For bug reports, technical questions, and suggestions, please use the
- forms in the Release Notes folder on the CD, and send them to
-
- support@metrowerks.com
-
- See the CodeWarrior on the Nets document in the Release Notes folder for
- more contact information, including a list of Internet newsgroups,
- online services, and patch and update sites.
-
-
- ========================================================================
-
- Greg Bolsinga
- Metrowerks Corporation
-