Write once, run anywhere (Java)

This is an interesting reading from Wikipedia. "Write once, run anywhere" (WORA), or sometimes write once, run everywhere (WORE), is a slogan created by Sun Microsystems to illustrate the cross-platform benefits of the Java language. Ideally, this means Java can be developed on any device, compiled into a standard bytecode and be expected to run … Continue reading Write once, run anywhere (Java)

A note on Java compilation on Windows, Ubuntu, and Raspberry Pi (Debian)

Here is some basic info for these three platforms (in particular, Java environment). A side note - I tried Geany, Netbeans, and BlueJ on Raspberry Pi. It seems that none of these IDE's is fast enough to do the work. The most efficient way to compile the Java source code probably is through command lines. … Continue reading A note on Java compilation on Windows, Ubuntu, and Raspberry Pi (Debian)

Java classpath and external library (with some personal notes as well)

The majority of this post is from Wikipedia. Classpath is a parameter—set either on the command-line, or through an environment variable—that tells the Java Virtual Machine or the Java compiler where to look for user-defined classes and packages. Contents 1 Overview and architecture 2 Setting the path to execute Java programs 2.1 Supplying as application … Continue reading Java classpath and external library (with some personal notes as well)