Super Mario Bros Java Game 240x320 -

This report documents the design, implementation, and testing of a 2D side-scrolling platform game inspired by Super Mario Bros., developed in Java for devices with a 240×320 pixel display. The game implements core mechanics: player movement, jumping, enemy collision, coin collection, flagpole level completion, and scrolling camera logic within the limited memory and processing constraints of Java ME environments.

The project successfully achieves ~25–30 frames per second on target emulators and mid-range hardware.


The Magic of 240x320: Reliving Super Mario on Java Mobile Before the era of high-definition touchscreens, mobile gaming was defined by tactile keypads and the iconic 240x320 resolution. For many, the " Super Mario Bros

" experience on a Nokia or Sony Ericsson wasn't an official Nintendo release, but a series of surprisingly faithful Java (.jar) adaptations that brought the Mushroom Kingdom to our pockets. Why the 240x320 Version Was Special

In the mid-2000s, the 240x320 screen was the "Goldilocks" zone for mobile displays—just enough detail to render Mario’s sprites without lagging the limited hardware.

Faithful Mechanics: These Java ports often featured the core mechanics of the 1985 classic, including stomping Goombas and collecting Fire Flowers. super mario bros java game 240x320

Adapted Design: Because these were built for Java, levels were often modified or compressed to fit the vertical orientation of older phones.

The "3-in-1" Bundles: It was common to find "Super Mario Bros 3-in-1" packs that bundled multiple NES-style games into a single small file. Playing Today: From Retro Tech to Modern Android

If you're feeling nostalgic, you don't need a vintage Nokia to play these .jar files. You can relive the experience using modern emulators:

J2ME Loader: This is the gold standard for playing Java games on Android. It allows you to set the custom 240x320 resolution to ensure the graphics don't look stretched.

SourceForge Projects: Active developers still maintain versions like Super-Mario-Bros-Java on SourceForge, which recently received updates for gamepad support and compatibility. The Magic of 240x320: Reliving Super Mario on

Keypad Controls: For the authentic feel, many emulators allow you to map the "2, 4, 6, 8" keys for movement, just like the old days. The Legacy of Fan Innovation While Nintendo eventually entered the mobile market with Super Mario Run

, these early Java versions represent a unique era of fan-driven innovation. They proved that Mario's gameplay was so timeless it could survive even the most limited hardware.

Whether you're a collector of old .jar files or a newcomer curious about mobile history, the 240x320 Java era remains a fascinating chapter in Mario's long-running history.


Version: 1.0 | Resolution: 240x320


The original NES Mario ran at 60 FPS. Java phones rarely broke 15-20 FPS. To compensate, developers reduced the number of moving sprites. Instead of 3 Koopas on screen, you'd get 1. Instead of scrolling clouds, the background was a static tile layer. Version: 1

The million-dollar question for any retro fan is: Does it feel like the real Super Mario Bros?

The Java version, specifically the one produced by various mobile studios (often unlicensed or commissioned by Nintendo for specific Asian/European markets), was surprisingly faithful. Here’s what you could expect:

The Objective: Navigate Mario from the left side of the stage to the right to reach the Flag Pole before time runs out. Collect coins for extra lives and power-ups to become stronger!

Controls (Keypad):

Gameplay Tips:


These are brilliant. Amateur Java developers reverse-engineered the NES ROM and compiled it into a JAR file using tools like J2ME Loader. These are often the most fun because they contain: