Examples

An application may be written in Java that is not only source-portable, but also binary portable. That is part of Java's compelling story. Let's belt out a quick Hello World program and run it on Windows XP and then on a Red Hat Linux 7.1 KDE desktop.

Compare Figure 8-24 with Figure 8-25. These panels resulted from running identical binary Java classes residing on a common file share. The important point is that this simple program runs without a rebuild on Windows XP and Red Hat Linux 7.1. It presents a fully responsive GUI to the user on each platform. Notice that the windows' appearances differ markedly. Part of the difference is a function of the Linux window manager, the Linux theme, the Linux desktop environment, and the Windows ...

Get Linux® and Windows® Interoperability Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.