The following release notes are applicable to the above version of the Taurus Java Virtual Machive. The copyright notice is applicable to any version of the VM unless stated otherwise.
The Taurus Java Virtual Machine has been produced, as a "clean room" implementation, in accordance with Sun Microsystems, Inc.'s (SUN) licence agreement for "The Java Virtual Machine" specification. In accordance with this agreement the virtual machine distribution does NOT, to the author's knowledge, contain ANY material which is copyrighted by SUN. As such the class files relied upon by the virtual machine must be obtained separately, directly from SUN. The use of this specifcation does not in any way imply that the software conforms to it, nor does it imply that it will ever wholey do so. The Taurus Java Virtual Machine does not, and will not, ever pretend to be "Java compliant", it will always remain as closer approximation as time and money will allow. Users of this software do so at their own risk. Developers of any Java software should NEVER use this as a reference platform.
Taurus Java Virtual Machine is a trademark of Taurus Software. Sun, Sun Microsystems, the Sun logo, Java, JavaSoft are all trademarks or registered trademarks of Sun Microsystems, Inc. All other product names mentioned herein are the trademarks of their respective owners.
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRIGEMENT. TAURUS SOFTWARE ACCEPTS NO RESPONSIBILTY FOR ANY DAMANGE, OF ANY KIND, CAUSED BY THE USE, OR MIS-USE OF THIS SOFTWARE. BY USING THIS SOFTWARE YOU AGREE TO THE LICENCING TERMS HEREIN.
TAURUS SOFTWARE RESERVES THE RIGHT TO REVOKE THIS LICENCE AT ANY TIME, FOR ANY REASON. THE "FREE" STATUS OF THIS SOFTWARE IS TEMPORARY, DUE TO THE TIME AND EFFORT DEVOTED TO THIS PROJECT IT IS LIKELY TO BECOME "SHAREWARE", BUT IS UNLIKELY TO BE MADE INTO A COMMERCIAL PRODUCT.
All references to Taurus Software directly refer to the non-profit freeware/shareware software development unit run from the UK by myself. Any conflict with names of companies inside or outside of the UK is unintentional and should be disregarded.
Hello.cla
..cla
(NOT .class
)CLASSPATH
are ignored - all files are loaded from the same directoryC:\JavaVM
). The VM executable is called javavm.com
and
the classes it loads are in the subdirectory classes
. Run the VM from
this directory (it looks for the classes directory relative to where you start it!).
C:\Temp
). The VM executable is called javavm.img
, in
the subdirectory img, and the Java classes it loads are in the subdirectory
classes
.
Copy the executable into the IMG
directory on the Psion (create one
if you don't have one). Copy the classes into a new directory called
CLASSES
on your Psion. Note that the VM uses the absolute path to
find classes, so CLASSES
must be created on the RamDisk (M:
).
To start the VM you need to use RunImg
(install it from the standard
applications if you haven't already done so).
java.lang.Object | as all classes derive from it, either directly or indirectly. |
The classes provided with the VM implement some very basic functionality:
Object.cla | java.lang.Object | empty, it just needs to exist! |
System.cla | java.lang.System | one static field, out ,
for System.out calls |
PrintStr.cla | java.lang.PrintStream | one native method,
println( String ) |
To make your own environment, you need to implement a set of Java classes similar to those
provided by Sun. The main reason for doing this on a small platform is the amount of crap
that gets loaded before any of your classes. I am currently looking at the Personal Java
and Embedded Java specifications for some ideas on how to shrink the VM -
System.out
loads an awful lot of classes!
Memory and diskspace requirements are as follows:
Description | SIBO | DOS |
---|---|---|
Executable (disk) | 24 Kbytes | 34 Kbytes |
Class files (disk) | 844 bytes | 844 bytes |
Runtime (memory) Screen Code Static area Data |
45 Kb 10 Kb ? Kb ? Kb 2144 bytes |
? Kb ? Kb ? Kb ? Kb 2144 bytes |
Missing features, bugs etc. will be fixed as part of the porting procedure, so keep checking the website for updates.
Please feel free to send any CONSTRUCTIVE comments to support@tsac.co.uk .
nop | ldc (String) | aload | aload_0/1/2/3 |
dup | return | getstatic | putstatic |
invokevirtual | invokespecial | invokestatic | new |
All other instructions will cause the VM to exit and report the error
"unknown instruction
". The DOS version will report both the name
and number of the offending instruction.