An open API service indexing awesome lists of open source software.

https://github.com/squirreljme/squirreljme

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.
https://github.com/squirreljme/squirreljme

c compiler embedded iot j2me j2me-platform java java-me javame jvm libretro native ratufacoat retroarch squirreljme

Last synced: 8 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# SquirrelJME

**SquirrelJME** is a Java ME 8 Virtual Machine for embedded and Internet of
Things devices, it also is a platform for the _Software Preservation_ of
mobile Java ME devices. This includes Japanese Keitai software as well! It
has the ultimate goal of being _99.9%_ compatible with the Java ME standard.

**SquirrelJME**'s runtime library is written purely in Java with a simple
abstraction layer on top of native hardware, or otherwise. This allows the
runtime to be portable across various different systems along with
separation of concerns between software running in Java and the hardware. All
native access is performed via this abstraction layer and as such there are
no usages of `native` in any specific class, thus only the classes in the
abstraction layer require a native implementation.

There additionally is _NanoCoat_, which is an execution engine written in C
to allow for running SquirrelJME in a cross-platform way without a dependent
host virtual machine.

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-2025 Stephanie Gawroriski
* "SquirrelJME" and "Lex" are trademarked by Stephanie Gawroriski 2016-2025
* _Lex_ and The _SquirrelJME_ Logo were illustrated by...
* Kat Adam-MacEwen
* Kat@CMYKat Designs & Illustrations

Thank you to [Hit Save!](https://hitsave.org/) for sponsoring **SquirrelJME**!

Please support me on [Patreon](https://www.patreon.com/SquirrelJME)!

> Dedicated to _Emily_ (1998-2020), the developer
> of [Mu](https://github.com/meepingsnesroms/Mu), I valued our friendship
> greatly and all the time we would spend together nerding about technical
> stuff, programming, and random topics. I do miss when we would play SNES
> and NeoGeo games for hours, they were cherished moments. The times goofing
> about in Kirby's Dream Course (SNES) were some of the most fun times spent
> with you. We both loves PalmOS devices and I always loved to hear about the
> new odd and quirky things you discovered about them.
> -- You will not be forgotten, rest in peace.

And...

> Dedicated to _Near_ (1983-2021), the developer of Higan, Ares, etc. and
> otherwise. You were and still are one of the kindest and most caring person
> that I knew. You showed me lots of support and encouragement with my own
> preservation work, and also helped me find the right people to connect with
> to further that goal. I still do miss our daily conversations, even though
> it is ironic that we rarely if ever spoke about emulation development there
> were so many other topics of conversation to go through. Honestly without
> you, I would not be where I am today and to this day I am holding you close
> and true to my heart. I push forward for you while holding myself high, I
> know that you would be proud of where I am today.
> -- You will not be forgotten, rest in peace.

_SquirrelJME_ utilizes _Install4J_ for cross-platform installers, you can
read more about it and check out their product page at:

* [Install4J Multi-Platform Installer Builder](
https://www.ej-technologies.com/products/install4j/overview.html)

Badges:

* _Checks and Quality_
* [![CircleCI](
https://img.shields.io/circleci/build/github/SquirrelJME/SquirrelJME/trunk.svg?label=CircleCI%20Build)](
https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
* [![Code Climate Maintainability](
https://img.shields.io/codeclimate/maintainability-percentage/SquirrelJME/SquirrelJME)](
https://codeclimate.com/github/SquirrelJME/SquirrelJME)
[![Code Climate technical debt](
https://img.shields.io/codeclimate/tech-debt/SquirrelJME/SquirrelJME)](
https://codeclimate.com/github/SquirrelJME/SquirrelJME)
* [![Docker Build](
https://img.shields.io/docker/cloud/build/xerthesquirrel/squirreljme.svg?label=Docker%20Container)](
https://hub.docker.com/r/xerthesquirrel/squirreljme/builds)
* [![RetroArch Core](
https://git.libretro.com/libretro/SquirrelJME/badges/trunk/pipeline.svg?key_text=RetroArch%20Core&key_width=115)](
https://git.libretro.org/libretro/SquirrelJME)
* _Social and Community_
* [![Discord](https://img.shields.io/discord/278929900893634560.svg?label=Discord%20Server)](
https://discord.gg/9PkMMKt)
* _Downloads and Activity_
* ![Commit Activity](
https://img.shields.io/github/commit-activity/w/SquirrelJME/SquirrelJME.svg?label=Code%20Commits)
* [![Docker Pulls](
https://img.shields.io/docker/pulls/xerthesquirrel/squirreljme?label=Docker%20Pulls)](
https://hub.docker.com/r/xerthesquirrel/squirreljme)
* [![SourceForge Downloads](
https://img.shields.io/sourceforge/dm/squirreljme.svg?label=SourceForge%20Downloads)](
https://sourceforge.net/projects/squirreljme/files/)
* _Donations_
* [![Liberapay](
https://img.shields.io/liberapay/receives/xershadowtail.svg?logo=liberapay&label=LiberaPay)](
https://liberapay.com/xershadowtail)

Information:

* [User Guide](assets/user-guide/readme.mkd)
* [Code of Conduct](code-of-conduct.mkd)
* [License](license.mkd)
* _Source_: Mozilla Public License 2.0
* _Assets_: Creative Commons CC-BY-SA 4.0
* _Fonts_ : SIL Open Font License Version 1.1
* [Third Party Licenses](third-party.mkd)
* [RSS Feed](feed.rss)
* [Contributing to SquirrelJME](contributing.mkd)
* [Credits of Contributions](credits.mkd)
* [Test Writing](test-writing.mkd)
* _End-User Documents_
* [Building](building.mkd)
* [Changelog](changelog.mkd)
* [Compatibility](compatibility.mkd)
* [History](history.mkd)
* [Release Roadmap](route.mkd)
* _Developer Resources_
* [CircleCI Status](
https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
* [Developer Guide](developer-guide.mkd)
* [Developer Notes](assets/developer-notes/index.mkd)
* [Design Document](design.mkd)
* [Porting SquirrelJME](porting.mkd)
* [Project Scope](scope.mkd)
* [CLDC 1.8 API (docs.oracle.com)](
https://docs.oracle.com/javame/8.0/api/cldc/api/overview-summary.html)

## Repository

* [Online repository](http://squirreljme.cc/)
([HTTPS](https://squirreljme.cc/),
[Tor (A)](http://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/),
[Tor (B)](http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/))
* SquirrelJME uses `fossil` .
* 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://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/ squirreljme.fossil`
* `fossil clone -u http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/ squirreljme.fossil`
* `fossil clone -u http://squirrelmfbf2udn.onion/ squirreljme.fossil`
* `mkdir squirreljme`
* `cd squirreljme`
* `fossil open ../squirreljme.fossil`
* Alternatively via [GitHub](https://github.com/SquirrelJME/SquirrelJME):
* `git clone https://github.com/SquirrelJME/SquirrelJME`
* `cd SquirrelJME`
* Alternatively via [repo.or.cz](https://repo.or.cz/SquirrelJME.git):
* `git clone https://repo.or.cz/SquirrelJME.git`
* `cd SquirrelJME`
* Trunk Source Snapshot (Main website or `fossil serve` only):
* [TAR.GZ](/tarball/squirreljme-trunk.tar.gz?uuid=trunk)
* [ZIP](/zip/squirreljme-trunk.zip?uuid=trunk)

## Links

* [My Portfolio](https://shadowtail.dev/)
* [My Public PGP Key](public-key.gpg.mkd)
* [SquirrelJME BlueSky](https://bsky.app/profile/squirreljme.cc)
* [SquirrelJME Mastodon](https://mastodon.online/@SquirrelJME)
* Locations where you can get support:
* [Discord](https://discord.gg/9PkMMKt)
* _LiberaChat (IRC)_ (Bridged to _Discord_)
* [#squirreljme](ircs://irc.libera.chat:6697/squirreljme) -- Main Support
* [#squirreljme-softwares](ircs://irc.libera.chat:6697/squirreljme-software) -- Software channel
* [##squirreljme](ircs://irc.libera.chat:6697/#squirreljme) -- Off-Topic
* [Reddit](https://reddit.com/r/SquirrelJME)
* Front facing social media:
* [BlueSky](https://bsky.app/profile/squirreljme.cc)
* [Mastodon (mastodon.online)](https://mastodon.online/@SquirrelJME)
* [YouTube](https://www.youtube.com/channel/UCbmC7qQjeXUEUyE5XfDX5RA/)
* [Docker Hub](https://hub.docker.com/r/xerthesquirrel/squirreljme)
* [SourceForge](https://sourceforge.net/p/squirreljme/)
* Personal Accounts (If you wish to contact me this way)
* [GitHub](https://github.com/XerTheSquirrel/)
* [Keybase](https://keybase.io/xerthesquirrel)
* [LinkedIn](https://www.linkedin.com/in/xerthesquirrel/)
* [Mastodon (chitter.xyz)](https://chitter.xyz/@XerShadowTail)
* [BlueSky](https://bsky.app/profile/xershadowtail.bsky.social)
* [YouTube (Personal)](
https://www.youtube.com/channel/UCJ4QrvbDhjtd7u6EpfBQ__g)
* E-Mail:

## Goals

* _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_).

## Donations

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.

* Traditional
* [Ko-Fi](http://ko-fi.com/xerthesquirrel)
* [Patreon](https://www.patreon.com/SquirrelJME)
* [Liberapay](https://liberapay.com/xershadowtail)

## Important Statements

***JAVA AND ALL OTHER RELATED TRADEMARKS AND COPYRIGHTS ARE OWNED BY ORACLE
CORPORATION .***

***SQUIRRELJME IS NEITHER PRODUCED BY, ENDORSED BY, NOR SUPPORTED 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 (STEPHANIE GAWRORISKI) TO BE IN THE FAIR USE.***

***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).***