If applet isn't working, download the latest Java version.
Tip: if you experience out of memory errors, you can increase the memory used by the photo tool.
for Java applet runtime settings and fill in for example: -Xmx128M (is for 128 MB) at Java Runtime Parameters (search for the most recent java version).
and change in the Java Applet Runtime Parameters field the amount of memory you want to use, i.e. -Xmx128M for 128MB.