3 **SquirrelJME** is a Java ME 8 Virtual Machine for embedded and Internet of
4 Things devices. It has the ultimate goal of being 99.9% compatible with the
7 This project is purely written in Java, with a small secondary C project, and
8 is very easy to port to different hardware. For running on native hardware, a
9 compiler handles the conversion of Java byte code to machine code (in an
10 intermediate format). Any system specific APIs are accessed via standardized
11 system calls that handle the logic the compiler cannot provide. An execution
12 engine which is written in C, it offers a lightweight method of code
15 Additionally, there is a port of SquirrelJME to RetroArch which enables the
16 ability to play older J2ME software and games designed for flip-phones.
18 * Copyright (C) 2013-2022 Stephanie Gawroriski <xer@multiphasicapps.net>
19 * "SquirrelJME" and "Lex" are trademarked by Stephanie Gawroriski 2016-2022
20 * _Lex_ and The _SquirrelJME_ Logo were illustrated by...
22 * Kat@CMYKat Designs & Illustrations <http://www.cmykat-designs.com/>
24 Please support me on [Patreon](https://www.patreon.com/SquirrelJME)!
26 Dedicated to _Emily_ (1998-2020), the developer of
27 [Mu](https://github.com/meepingsnesroms/Mu), you will not be forgotten.
30 Dedicated to _Near_ (1983-2021), the developer of Higan, Ares, etc., may
31 your soul rest in peace. You will not be forgotten.
35 * _Checks and Quality_
37 https://img.shields.io/circleci/build/github/SquirrelJME/SquirrelJME/trunk.svg?label=CircleCI%20Build)](
38 https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
39 * [![Code Climate Maintainability](
40 https://img.shields.io/codeclimate/maintainability-percentage/SquirrelJME/SquirrelJME)](
41 https://codeclimate.com/github/SquirrelJME/SquirrelJME)
42 [![Code Climate technical debt](
43 https://img.shields.io/codeclimate/tech-debt/SquirrelJME/SquirrelJME)](
44 https://codeclimate.com/github/SquirrelJME/SquirrelJME)
46 https://img.shields.io/docker/cloud/build/xerthesquirrel/squirreljme.svg?label=Docker%20Container)](
47 https://hub.docker.com/r/xerthesquirrel/squirreljme/builds)
49 https://git.libretro.com/libretro/SquirrelJME/badges/trunk/pipeline.svg?key_text=RetroArch%20Core&key_width=115)](
50 https://git.libretro.org/libretro/SquirrelJME)
51 * _Social and Community_
52 * [![Discord](https://img.shields.io/discord/278929900893634560.svg?label=Discord%20Server)](
53 https://discord.gg/9PkMMKt)
55 https://img.shields.io/twitter/follow/SquirrelJME.svg?label=Follow%20on%20Twitter)](
56 https://twitter.com/SquirrelJME)
57 * _Downloads and Activity_
59 https://img.shields.io/github/commit-activity/w/SquirrelJME/SquirrelJME.svg?label=Code%20Commits)
61 https://img.shields.io/docker/pulls/xerthesquirrel/squirreljme?label=Docker%20Pulls)](
62 https://hub.docker.com/r/xerthesquirrel/squirreljme)
63 * [![SourceForge Downloads](
64 https://img.shields.io/sourceforge/dm/squirreljme.svg?label=SourceForge%20Downloads)](
65 https://sourceforge.net/projects/squirreljme/files/)
68 https://img.shields.io/liberapay/receives/xershadowtail.svg?logo=liberapay&label=LiberaPay)](
69 https://liberapay.com/xershadowtail)
73 * [User Guide](assets/user-guide/readme.mkd)
74 * [Code of Conduct](code-of-conduct.mkd)
75 * [License](license.mkd)
76 * _Source_: GNU General Public License, Version 3 or later
77 * _Assets_: Creative Commons CC-BY-SA 4.0
78 * _Fonts_ : SIL Open Font License Version 1.1
79 * [Third Party Licenses](third-party.mkd)
80 * [Contributing to SquirrelJME](contributing.mkd)
81 * _End-User Documents_
82 * [Building](building.mkd)
83 * [Changelog](changelog.mkd)
84 * [Compatibility](compatibility.mkd)
85 * [History](history.mkd)
86 * [Release Roadmap](route.mkd)
87 * _Developer Resources_
89 https://circleci.com/gh/SquirrelJME/SquirrelJME/tree/trunk)
90 * [Developer Guide](developer-guide.mkd)
91 * [Developer Notes](assets/developer-notes/index.mkd)
92 * [Design Document](design.mkd)
93 * [Porting SquirrelJME](porting.mkd)
94 * [Project Scope](scope.mkd)
95 * [CLDC 1.8 API (docs.oracle.com)](
96 https://docs.oracle.com/javame/8.0/api/cldc/api/overview-summary.html)
100 * [Online repository](http://squirreljme.cc/)
101 ([HTTPS](https://squirreljme.cc/),
102 [Tor (A)](http://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/),
103 [Tor (B)](http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/))
104 * SquirrelJME uses `fossil` <http://fossil-scm.org/>.
105 * The repository may be cloned using Fossil:
106 * One of these commands:
107 * `fossil clone -u http://squirreljme.cc/ squirreljme.fossil`
108 * `fossil clone -u https://squirreljme.cc/ squirreljme.fossil`
109 * `fossil clone -u http://vzwveldr7djnlpg7ujslaqre632htbl3unkmfbltpgumevw63jn47dad.onion/ squirreljme.fossil`
110 * `fossil clone -u http://hrkzpyi33og6j5z3anfpjuqkawvkw4kxyasrp64elg3i6dffihmdhxad.onion/ squirreljme.fossil`
111 * `fossil clone -u http://squirrelmfbf2udn.onion/ squirreljme.fossil`
112 * `mkdir squirreljme`
114 * `fossil open ../squirreljme.fossil`
115 * Alternatively via [GitHub](https://github.com/SquirrelJME/SquirrelJME):
116 * `git clone https://github.com/SquirrelJME/SquirrelJME`
118 * Alternatively via [repo.or.cz](https://repo.or.cz/SquirrelJME.git):
119 * `git clone https://repo.or.cz/SquirrelJME.git`
121 * Trunk Source Snapshot (Main website or `fossil serve` only):
122 * [TAR.GZ](/tarball/squirreljme-trunk.tar.gz?uuid=trunk)
123 * [ZIP](/zip/squirreljme-trunk.zip?uuid=trunk)
127 * [My Portfolio](https://shadowtail.dev/)
128 * [My Public PGP Key](public-key.gpg.mkd)
129 * [SquirrelJME Twitter](https://twitter.com/SquirrelJME)
130 * [SquirrelJME Mastodon](https://mastodon.online/@SquirrelJME)
131 * Locations where you can get support:
132 * [Discord](https://discord.gg/9PkMMKt)
133 * _LiberaChat (IRC)_ (Bridged to _Discord_)
134 * [#squirreljme](ircs://irc.libera.chat:6697/squirreljme) -- Main Support
135 * [#squirreljme-softwares](ircs://irc.libera.chat:6697/squirreljme-software) -- Software channel
136 * [##squirreljme](ircs://irc.libera.chat:6697/#squirreljme) -- Off-Topic
137 * [Reddit](https://reddit.com/r/SquirrelJME)
138 * Front facing social media:
139 * [YouTube](https://www.youtube.com/channel/UCbmC7qQjeXUEUyE5XfDX5RA/)
140 * [Twitter](https://twitter.com/SquirrelJME)
141 * [Docker Hub](https://hub.docker.com/r/xerthesquirrel/squirreljme)
142 * [SourceForge](https://sourceforge.net/p/squirreljme/)
143 * Personal Accounts (If you wish to contact me this way)
144 * [GitHub](https://github.com/XerTheSquirrel/)
145 * [Keybase](https://keybase.io/xerthesquirrel)
146 * [LinkedIn](https://www.linkedin.com/in/xerthesquirrel/)
147 * [Mastodon (awoo.space)](https://awoo.space/@XerTheSquirrel)
148 * [Twitter](https://twitter.com/XerShadowTail)
149 * [YouTube (Personal)](
150 https://www.youtube.com/channel/UCJ4QrvbDhjtd7u6EpfBQ__g)
151 * E-Mail: <xer@multiphasicapps.net>
155 * _To be small_ - Smaller programs are easier to maintain and are usually
157 * _To be fast_ - With the potential of AOT/JIT, systems that do not normally
158 have a port of an existing virtual machine will usually only have an
160 * _To be compatible_ - So that existing Java ME 8 applications can run on this
161 virtual machine, along with J2ME applications when required. This has the
162 added bonus of allowing one to use older software to catalog for
164 * _To compile once and run anywhere_ - Current and up to date Java
165 implementations are limited only to a few select systems (_Solaris_,
166 _Linux_, _BSD_, _Mac OS X_, and _Windows_). Java ME 8 as of this writing
167 only supports the *FRDM-K64F* (dropped), *STM32429I-EVAL*, *Raspberry Pi*,
168 *Intel Galileo Gen2* (preview), and *STM 32F746G DISCOVERY* (preview) all
169 of which are either out of date or discontinued by their manufacturers.
170 There are multitudes of devices that support **J2ME**, however that is
171 horribly out of date when compared with the Java that is used today
172 (**J2ME** is equal to Java 1.4 which was released in _2002_).
176 You may donate to SquirrelJME to which would be used by the author to keep the
177 web server online, the purchasing of new hardware/software, and for the
178 purchasing of food items for consumption.
181 * [Ko-Fi](http://ko-fi.com/xerthesquirrel)
182 * [Patreon](https://www.patreon.com/SquirrelJME)
183 * [Liberapay](https://liberapay.com/xershadowtail)
185 * _ALGO_: `TR5V27P33A2TH4CLHH2X3XQYV6WY4TYSDVUHUJDAINSMOJDNBB5BRTUKB4`
186 * _ATOM_: `cosmos1xe5l7exx4sm0p7rr7sx3max5zxp0zx7mpx9vfj`
187 * Always include this memo: `1523229`
188 * _BTC_: `3AxDtLvmEk7h61BFy7J2v2t4s9m9uzWVvY`
189 * _ETH_: `0x47B106506522f368c4c9110aF003a58dcD04beA1`
190 * _LTC_: `M9GY2KbonbYKspqX5mrys6yNNvFab4RMQX`
191 * _XLM_: `GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37`
192 * Always include this memo: `2561990448`
193 * _XTZ_: `tz1efFabxYdvPqNtdndC5y4usGSTvCH3RuhK`
194 * _ZEC_: `t1cBD4dJYNWs5TQk1JKFNy1Qkg3TBx8noXQ`
196 ## Important Statements
198 ***JAVA AND ALL OTHER RELATED TRADEMARKS AND COPYRIGHTS ARE OWNED BY ORACLE
199 CORPORATION <http://www.oracle.com/>.***
201 ***SQUIRRELJME IS NEITHER PRODUCED BY, ENDORSED BY, NOR SUPPORTED BY
202 _ORACLE CORPORATION_.***
204 ***ALL SOURCE CODE IS WRITTEN BY MYSELF WITH FUNCTIONALITY DETERMINED BY THE
205 DOCUMENTED APIS AND RUN-TIME BEHAVIOR. I HAVE NOT LOOKED AT THE SOURCE CODE FOR
206 OTHER IMPLEMENTATIONS, NEITHER FREE SOFTWARE NOR PROPRIETARY IMPLEMENTATIONS.
207 ESSENTIALLY SQUIRRELJME IS A CLEAN-ROOM IMPLEMENTATION OF THE DESIGN OF JAVA
208 ME 8. THE IMPLEMENTATIONS OF THE JAVA ME 8 APIS AND ASSOCIATED JSRS/JEPS IS
209 CONSIDERED BY MYSELF (STEPHANIE GAWRORISKI) TO BE IN THE FAIR USE.***
211 ***THIS SOFTWARE IS INCOMPLETE AND IN ITS CURRENT STATE IS NOT CURRENTLY
212 100% COMPATIBLE WITH JAVA ME 8. THERE ARE CURRENTLY NO STABLE RELEASED VERSIONS
213 OF THIS SOFTWARE. AS SUCH THE FIRST MAJOR VERSION RELEASE WILL BE WHEN IT IS
214 COMPATIBLE SO AS TO NOT VIOLATE POTENTIAL LICENSES, AND IF POSSIBLE BE VERIFIED
215 WITH ANY APPLICABLE TCKS (SO IT WOULD BE AN "OFFICIAL" IMPLEMENTATION).***