Basic HTML version of Foils prepared Sept 21 1998

Foil 33 Java Features -- It's Portable

From Introduction to Java Tutorial Aimed at Scientific Users NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox


1 Java language offers a uniform abstract (virtual) machine model which is identical for all platforms.
2 SUN owns the Java Virtual Machine (see online report) -- it is universal while classes can be added by any user
3 Unlike in C/C++ where various integers match the architecture of a physical machine at hand, Java byte, char short, int and long are always of the same size, equal to 8, 16, 16(unicode), 32 and 64 bits, respectively.
  • No header files, preprocessors,#define etc.
  • floating point is always IEEE 754
4 Differences between vendor specific windowing environments (X Windows, MS Windows, Macintosh) are removed in terms of the Abstract Windowing Toolkit (AWT) metaphor.
5 AWT is given by ~60 Java classes (alpha) which offer a universal GUI programming model, portable between UNIX, PC and Mac, and translated automatically to native windowing systems on individual platforms by Java interpreters.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 11 1999