Wiki ArticleCitation neededWeb pages

Applet

Java applets were the original way to run Minecraft. It worked by allowing the Java game to run in the web browser for players to access without having to download a launcher or client. The pages that allowed running Minecraft in the browser were gradually taken down after the Minecraft Launcher was released, superceding browser play.

Minecraft was originally hosted as an applet on Mojang.com before being moved to Minecraft.net.

Different development phases of the game were hosted at different URLs. This meant that players could use newer test builds while still having access to the stable game. The exception is mptest, which overwrites the clients used by other pages.

Java applets were the original way to run Minecraft. It worked by allowing the Java game to run in the web browser for players to access without having to download a launcher or client. The pages that allowed running Minecraft in the browser were gradually taken down after the Minecraft Launcher was released, superceding browser play.

Hosting

Minecraft was originally hosted as an applet on Mojang.com before being moved to Minecraft.net.

Different development phases of the game were hosted at different URLs. This meant that players could use newer test builds while still having access to the stable game. The exception is mptest, which overwrites the clients used by other pages.

Applet pages

URL
[note 1][note 2]
Created Taken offline Game versions
www.mojang.com/notch/minecraft/ May 16, 2009 Dec 11, 2014 ~ May 19, 2015[note 3] mc-1616070.0.12a_03
www.minecraft.net/play.jsp May 22, 2009 Sep 8~15, 2011[note 4] Classic 0.0.13a0.0.14a_08; 0.0.16a_02 (final reupload) – 0.0.23a_01; & 0.280.30 Creative
www.minecraft.net/mptest/index.jsp May 31, 2009 ? Classic 0.0.15a-10.0.15a_03
www.minecraft.net/mptest.jsp June 7, 2009 Jun 12, 2009 ~ Nov 2016; probably 2010 Classic 0.0.16a0.0.16a_02
www.minecraft.net/survivaltest/index.jsp Sep 1, 2009 Dec 12~17, 2010 Classic 0.24_SURVIVAL_TEST0.27 SURVIVAL TEST & 0.30 Survival
www.minecraft.net/indev/index.jsp Dec 23, 2009 Sep 18, 2010 Indev 0.31-2009122320100223
www.minecraft.net/infdev/index.jsp Feb 27, 2010 Sep 18, 2010 Infdev 2010022720100627
www.minecraft.net/game/ Jun 29, 2010 Sep 8~15, 2011 Infdev 20100629Beta 1.7.3
www.minecraft.net/play Jul~Sep 2011 Oct 20 ~ Nov 23, 2016 Beta 1.8 – release 1.5.2
www.minecraft.net/classic/play Sep 8~15, 2011 Oct 2~12, 2015 Classic 0.30_01c
minecraft.net/demo ? ? ?

Other pages

minecraft.net/infdev/preview.jsp
Level previewer

HTML code

This is a sample of the applet code, from May 25, 2009:[1]

<applet code="org.lwjgl.util.applet.AppletLoader" archive="client/lwjgl_util_applet.jar, client/lzma.jar" codebase="" width="854" height="480">
  <param name="al_title" value="Minecraft" />
  <param name="al_main" value="com.mojang.minecraft.MinecraftApplet" />
  <param name="al_logo" value="client/logo_small.png" />
  <param name="al_progressbar" value="appletprogress.gif" />
  <param name="al_jars" value="client/lwjgl_applet.jar.pack.lzma, client/lwjgl.jar.pack.lzma, client/jinput.jar.pack.lzma, client/lwjgl_util.jar.pack.lzma, client/res.jar.lzma, client/minecraft.jar" />
  <param name="al_windows" value="client/windows_natives.jar.lzma" />
  <param name="al_linux" value="client/linux_natives.jar.lzma" />
  <param name="al_mac" value="client/macosx_natives.jar.lzma" />
  <param name="al_solaris" value="client/solaris_natives.jar.lzma" />
  <param name="al_version" value="5.17" />
  <param name="separate_jvm" value="true" />
  <param name="java_arguments" value="-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false" />
  <param name="al_bgcolor" value="000000" />
  <param name="al_fgcolor" value="ffffff" />
  <param name="al_errorcolor" value="ff0000" />
  <param name="al_prepend_host" value="true" />
</applet>

al_version is an identifier used to determine whether to pull an existing version from disc cache. The rest of the parameters either set up the jar entry points or Java environment or set up the visual display of the applet.

Storage locations

The .jar is downloaded to the user's temporary folder on disc. The subpath of the temporary folder differs based on the applet page the game is being played on.

URL Temp directory
www.mojang.com/notch/minecraft,
(www.)minecraft.net/mptest/,
(www.)minecraft.net/mptest.jsp
%temp%/Minecraft/
(www.)minecraft.net/play.jsp,
(www.)minecraft.net/mptest.jsp,
(www.)minecraft.net/classic/play
%temp%/(www.)minecraft.net/Minecraft/
(www.)minecraft.net/survivaltest/ %temp%/(www.)minecraft.net/Minecraft_creeper_test/
(www.)minecraft.net/indev/ %temp%/(www.)minecraft.net/Minecraft_sneakpeek/
(www.)minecraft.net/infdev/ %temp%/(www.)minecraft.net/Minecraft_infdev/

Starting from Infdev 20100629, it is now located on disc at %appdata%/.minecraft/bin/ (used by minecraft.net/game/).

Classic

Indev

Infdev

Alpha

Beta

Release

Misc

Trivia

  • This software had a size of around 4.5 MB, excluding additional assets.[citation needed]
  • The applet version relied on the Java browser plugin, which was later considered insecure and then discontinued.[2]

See also

  • al_version, used to track unique builds of the applet game for caching

Notes

  1. The index.jsp in the URLs is optional.
  2. All minecraft.net URLs may have optional subdomain www in addition to the bare domain. For mojang.com, the www subdomain is the only one.
  3. Applet removed between May 22 and June 27, 2009.
  4. Redirected to /classic/play from this point until site redesign in May 2016 (even when /classic/play was taken down).

References

  1. minecraft.net/play.jsp (Source code) – Wayback Machine, May 25, 2009.
  2. "Java Browser Plugin is Dead, Long Live HTML5!" by David Maciejak – Fortinet, February 6, 2016.