Game applets!

Arg! I'm about ready to pull my hair out here! I made a simple applet that just moves an image around when keys are pressed, but for some reason I can see it, and some others can see it, but there are people who can't.Here's the site: htpp://www.uber-ware.com/game

Some are getting a class not found error. Any ideas why?

Thanks!

-Brian

[364 byte] By [untwisteda] at [2007-9-29 11:41:29]
# 1
just a little typo on the URL: http://www.uber-ware.com/gameIt works fine for me, how many people are getting the class error, just one or two or many people?
DrQuincya at 2007-7-15 1:13:53 > top of Java-index,Other Topics,Java Game Development...
# 2
whoops, sorry bout the typo. Actually, the only 2 people I can find with the problem are my friend Joe (member of uber-ware) and my brother. Do people who have the java sdk also need to download the VM from java's site?
untwisteda at 2007-7-15 1:13:53 > top of Java-index,Other Topics,Java Game Development...
# 3

I have the same problem with my applets. a lot of people get a class not found exception.

I think the problem is that I work with java 1.4.2

but IE has a standard microsoft VM. i dont know what version number is, but its probably very low.

just let your friend update their VM.

suspisiona at 2007-7-15 1:13:53 > top of Java-index,Other Topics,Java Game Development...
# 4
this was one of the most annoying problems when i began java, none of the tutorials told me that the most recent explorer and netscape only support version 1.1 or 1.2.you need to compile with the -target tag:javac -target 1.1 yourUberCoolClass.class
penguins404a at 2007-7-15 1:13:53 > top of Java-index,Other Topics,Java Game Development...
# 5

Fails with 1.4.2.

Java(TM) Plug-in: Version 1.4.2

Using JRE version 1.4.2 Java HotSpot(TM) Client VM

User home directory = /home/bozo

Proxy Configuration: Browser Proxy Configuration

java.lang.ClassFormatError: program/start (Bad magic number)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:537)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)

at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)

at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1848)

at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)

at sun.applet.AppletPanel.run(AppletPanel.java:298)

at java.lang.Thread.run(Thread.java:534)

JN_a at 2007-7-15 1:13:53 > top of Java-index,Other Topics,Java Game Development...