Applet

From Minecraft Wiki
Jump to navigation Jump to search
Not to be confused with Apple.

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

[edit | edit source]

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

[edit | edit source]
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-161607–0.0.12a_03
www.minecraft.net/play.jsp May 22, 2009 Sep 8~15, 2011[note 4] Classic 0.0.13a–0.0.14a_08; 0.0.16a_02 (final reupload) – 0.0.23a_01; and 0.28–0.30 Creative
www.minecraft.net/mptest/index.jsp May 31, 2009 ? Classic 0.0.15a-1–0.0.15a_03
www.minecraft.net/mptest.jsp June 7, 2009 Jun 12, 2009 ~ Nov 2016; probably 2010 Classic 0.0.16a–0.0.16a_02
www.minecraft.net/survivaltest/index.jsp Sep 1, 2009 Dec 12~17, 2010 Classic 0.24_SURVIVAL_TEST – 0.27 SURVIVAL TEST and 0.30 Survival
www.minecraft.net/indev/index.jsp Dec 23, 2009 Sep 18, 2010 Indev 0.31-20091223 – 20100223
www.minecraft.net/infdev/index.jsp Feb 27, 2010 Sep 18, 2010 Infdev 20100227 – 20100627
www.minecraft.net/game/ Jun 29, 2010 Sep 8~15, 2011 Infdev 20100629 – Beta 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 Sep 25 ~ Oct 12, 2015 Classic 0.30_01c
minecraft.net/demo ? ? 1.0.0 – 1.5.2

Other pages

[edit | edit source]
URL Content
www.minecraft.net/infdev/preview.jsp Level previewer

HTML code

[edit | edit source]

This is a sample of the applet element, 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 cache. The rest of the parameters either sets up the Java environment including classpath, natives, arguments, and entrypoint class, or sets up the visual display of the applet.

Storage locations

[edit | edit source]

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

Applet page Path in system temporary directory
www.mojang.com/notch/minecraft,
(www.)minecraft.net/mptest/,
(www.)minecraft.net/mptest.jsp
Minecraft/
(www.)minecraft.net/play.jsp,
(www.)minecraft.net/mptest.jsp,
(www.)minecraft.net/classic/play
(www.)minecraft.net/Minecraft/
(www.)minecraft.net/survivaltest/ (www.)minecraft.net/Minecraft_creeper_test/
(www.)minecraft.net/indev/ (www.)minecraft.net/Minecraft_sneakpeek/
(www.)minecraft.net/infdev/ (www.)minecraft.net/Minecraft_infdev/

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

[edit | edit source]

Classic

[edit | edit source]

Indev

[edit | edit source]

Infdev

[edit | edit source]

Alpha

[edit | edit source]

Release

[edit | edit source]

Trivia

[edit | edit source]
  • The applet version relied on the Java browser plugin, which was later considered insecure and then discontinued.[2]

See also

[edit | edit source]
  • al_version, used to track unique builds of the applet game for caching

Notes

[edit | edit source]
  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

[edit | edit source]
  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.
[edit | edit source]