Last updated 1998 July 23 by Roedy Green ©1996-1998 Canadian Mind Products.
Stuck in a frame? Click here to break out.Option | effect |
---|---|
-help | print out info on options |
-version | print out the build version. |
-v -verbose | turn on verbose mode. |
-debug | enable remote JAVA debugging. |
-noasyncgc | don't allow asynchronous garbage collection. |
-verbosegc | print a message when garbage collection occurs. |
-noclassgc | disable class garbage collection. |
-ss 64000 | set the maximum native stack size for any thread, in bytes. |
-oss 300000 | set the maximum Java stack size for any thread, in bytes. |
-ms 4000000 | set the initial Java heap size, in bytes. |
-mx 20000000 | set the maximum Java heap size, in bytes. |
-classpath .;C:\java\classes.zip ... | list directories in which to look for classes. |
-prof:java.prof | output profiling data to .\java.prof. |
-verify | verify all classes when read in. |
-verifyremote | verify classes read in over the network. |
-noverify | do not verify any class. |
I lied to you. Life is actually a little more complicated. If you feel ready for the whole truth, here is how it really works:
-g | ? |
-o | ? |
-debug | add information to class files to aid in debugging. |
-depend | ? |
-nowarn | suppress warning messages. |
-verbose | long version of error messages. |
-classpath /mydir:myCollection.jar:/jdk/classes.zip | overriding CLASSPATH, colon separated. |
-nowrite | don't actually generate code, just check the syntax. |
-deprecation | warn of any use of any deprecated methods. |
-d targetDir | Place the output class files in this directory rather than the usual same directory as source. |
-J runtimeflag |
/** * @(#)FormattedTextField.java 1.34 98/01/27 * @author Roedy Green * @version 1.34 1998 January 18 * @deprecated No replacement * @deprecated Replaced by otherMethod(int) * @see otherMethod * @see #otherMethod * @see java.awt.Component#repaint * @see <a href="http://mindprod.com/gloss.html">Java glossary</A> * @see "Design Patterns by Gamma et. al" * @param x >B<pixels>/B< right of the origin. * @return number of oranges. * @exception java.beans.PropertyVetoException when mask is invalid * @since JDK1.1 */You can generate the HTML with javadoc MyClass.java. If you want private methods also documented use:
Note, Sun's install instructions say to hit download software. There is no such button. Hit continue instead. This package optionally upgrades your Winsock. Undo with C:\WINDOWS\WS2BACKUP\WS2BACKUP.BAT or remove/reinstall Win95 dialup networking. The new socket software did not work for me and for a few other people I talked to. Plan your recovery before you install. Without a working Winsock you won't be able to ask for help or go searching the net for a solution. See this more friendly uninstaller.
The new features include printing, persistence, remote procedure calls, internationalisation, signed applets, a whole new way of handling events, JavaBean components, BigInteger and BigDecimal for arbitrary precision arithmentic and reflection. For a complete list of classes, see the JDK 1.1 class hierarchy. Addison Wesley has a draft of their book on the JDK 1.1 online. You cannot distribute the JDK with your program. You must distribute the stripped down JRE instead. See JDE, JRE.
I know of only one book that covers the JVM and the binary codes, the classfile format etc. It is known as the goldfish bowl book because of its cover, but is officially called The Java Virtual Machine by Jon Meyer and Troy Downing, O'Reilly ISBN 1-56592-194-1. If you purchase it online via this link to Amazon.com I get a 15% commission.
The book is frustrating because it spends so much time with the irrelevant Jasmin assembler and its syntax. You are interested in generating byte codes directly, not assembler. It leaves out much you must discover by experiment looking at generated class files, such as whether offsets are signed or absolute, where the base is etc. In its next revision, it should set the Jasmin aside in an appendix, and include examples and more precise documentation on the binary formats. The book is still valuable because it gives a fair bit of background exposition you will not find in the vmspec itself. You would use this book to understand the VM, then the vmspec to actually write code that generated or modified class files.
See Mach J, JIT, IDE, JSpring.
![]() |
![]() |
![]() |
|
Canadian Mind Products | The Mining Company's Focus on Java Best of the Net Award |
You can get an updated copy of this page from http://mindprod.com/jglossj.html |