This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: "Squawk virtual machine" – news · newspapers · books · scholar · JSTOR (March 2024)
Developer(s)Sun Microsystems
Initial releaseApril 2002; 22 years ago (2002-04)
Written inC and Java
Operating systemCross-platform
TypeJava virtual machine
LicenseGNU General Public License Edit this on Wikidata
Visual comparison with HotSpot

Squawk is a Java micro edition virtual machine for embedded system and small devices. Most virtual machines for the Java platform are written in low level native languages such as C/C++ and assembler; what makes Squawk different is that Squawk's core is mostly written in Java (this is called a meta-circular interpreter). A Java implementation provides ease of portability, and integration of virtual machine and application resources such as objects, threads, and operating-system interfaces.

The Squawk Virtual Machine figure can be simplified as:

The research project was inspired by Squeak. Squawk has a Java ME heritage and features a small memory footprint.[1] It was developed to be simple with minimal external dependencies. Its simplicity made it portable and easy to debug and maintain. Squawk also provides an isolated mechanism by which an application is represented as an object. In Squawk, one or more applications can run in the single JVM. Conceptually, each application is completely isolated from all other applications.

See also