SquirrelJME is a Java ME 8 Virtual Machine for embedded and Internet of Things devices. It has the ultimate goal of being 99.9% compatible with the Java ME standard.
This project is purely written in Java, with a small secondary C project, and is very easy to port to different hardware. For running on native hardware, a compiler handles the conversion of Java byte code to machine code (in an intermediate format). Any system specific APIs are accessed via standardized system calls that handle the logic the compiler cannot provide. An execution engine which is written in C is available and it offers a lightweight method of code execution.
Additionally, there is a port of SquirrelJME to RetroArch which enables the ability to play older J2ME software and games designed for flip-phones.
- Copyright (C) 2013-2021 Stephanie Gawroriski firstname.lastname@example.org
- "SquirrelJME" and "Lex" are trademarked by Stephanie Gawroriski 2016-2020
- Lex and The SquirrelJME Logo were illustrated by...
- Kat Adam-MacEwen
- Kat@CMYKat Designs & Illustrations http://www.cmykat-designs.com/
Please support me on Patreon!
Dedicated to Emily (1998-2020), the developer of Mu, you will not be forgotten. Rest in peace.
- User Guide
- Code of Conduct
- Source: GNU General Public License, Version 3 or later
- Assets: Creative Commons CC-BY-SA 4.0
- Fonts : SIL Open Font License Version 1.1
- Third Party Licenses
- Contributing to SquirrelJME
- End-User Documents
- Developer Resources
- Online repository (HTTPS, Tor (A), Tor (B))
- SquirrelJME uses
- The repository may be cloned using Fossil:
- One of these commands:
fossil clone -u http://squirreljme.cc/ squirreljme.fossil
fossil clone -u https://squirreljme.cc/ squirreljme.fossil
fossil clone -u http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/ squirreljme.fossil
fossil clone -u http://squirrelmfbf2udn.onion/ squirreljme.fossil
fossil open ../squirreljme.fossil
- One of these commands:
- Alternatively via GitHub:
git clone https://github.com/SquirrelJME/SquirrelJME
- Alternatively via repo.or.cz:
git clone https://repo.or.cz/SquirrelJME.git
- Trunk Source Snapshot (Main website or
- My Portfolio
- My Public PGP Key
- SquirrelJME Twitter
- SquirrelJME Mastodon
- Locations where you can get support:
- Front facing social media:
- Docker Hub
- Personal Accounts (If you wish to contact me this way)
- To be small - Smaller programs are easier to maintain and are usually simpler.
- To be fast - With the potential of AOT/JIT, systems that do not normally have a port of an existing virtual machine will usually only have an interpreter.
- To be compatible - So that existing Java ME 8 applications can run on this virtual machine, along with J2ME applications when required. This has the added bonus of allowing one to use older software to catalog for preservation.
- To compile once and run anywhere - Current and up to date Java implementations are limited only to a few select systems (Solaris, Linux, BSD, Mac OS X, and Windows). Java ME 8 as of this writing only supports the FRDM-K64F (dropped), STM32429I-EVAL, Raspberry Pi, Intel Galileo Gen2 (preview), and STM 32F746G DISCOVERY (preview) all of which are either out of date or discontinued by their manufacturers. There are multitudes of devices that support J2ME, however that is horribly out of date when compared with the Java that is used today (J2ME is equal to Java 1.4 which was released in 2002).
You may donate to SquirrelJME to which would be used by the author to keep the web server online, the purchasing of new hardware/software, and for the purchasing of food items for consumption.
- BitCoin (BTC/XBT):
- BitCoin Cash (BCH):
- Ethereum (ETH):
- Ethereum Classic (ETC):
- LiteCoin (LTC):
- Stellar Lumens (XLM):
- XRP (XRP):
- ZCash (ZEC):
JAVA AND ALL OTHER RELATED TRADEMARKS AND COPYRIGHTS ARE OWNED BY ORACLE CORPORATION http://www.oracle.com/.
SQUIRRELJME IS NEITHER PRODUCED BY NOR ENDORSED BY ORACLE CORPORATION.
ALL SOURCE CODE IS WRITTEN BY MYSELF WITH FUNCTIONALITY DETERMINED BY THE DOCUMENTED APIS AND RUN-TIME BEHAVIOR. I HAVE NOT LOOKED AT THE SOURCE CODE FOR OTHER IMPLEMENTATIONS, NEITHER FREE SOFTWARE NOR PROPRIETARY IMPLEMENTATIONS. ESSENTIALLY SQUIRRELJME IS A CLEAN-ROOM IMPLEMENTATION OF THE DESIGN OF JAVA ME 8. THE IMPLEMENTATIONS OF THE JAVA ME 8 APIS AND ASSOCIATED JSRS/JEPS IS CONSIDERED BY MYSELF TO BE IN THE FAIR USE (AND IT ALSO HELPS THE JAVA ECOSYSTEM BY PERMITTING IT TO RUN IN MORE PLACES WHERE IT IS NOT SUPPORTED BY ORACLE).
THIS SOFTWARE IS INCOMPLETE AND IN ITS CURRENT STATE IS NOT CURRENTLY 100% COMPATIBLE WITH JAVA ME 8. THERE ARE CURRENTLY NO STABLE RELEASED VERSIONS OF THIS SOFTWARE. AS SUCH THE FIRST MAJOR VERSION RELEASE WILL BE WHEN IT IS COMPATIBLE SO AS TO NOT VIOLATE POTENTIAL LICENSES, AND IF POSSIBLE BE VERIFIED WITH ANY APPLICABLE TCKS (SO IT WOULD BE AN "OFFICIAL" IMPLEMENTATION).