My applet is running in the background of a page. Then all of a sudden, this message will pop up ... java/lang/UnsatisifedLinkError Exception was not handled. I know it's an exception that I need to catch, but I can't figure out where it's occuring in my code or even why it's occuring. Does anyone see a reason that this would be happening? Thanks.
Look at java console and it will tell you from where this is coming. My best guess would be, if you have compiled your applet code with java2( becuase you are using some method exclusively available in 1.2) and your browser's jvm is 1.? then you should get this problem.
Joined: Dec 01, 2000
I've written my applet to be 1.1 compliant though so that I wouldn't have issues with anyone who didn't have anything higher installed. I don't know what part of my code isn't 1.1 compliant. Do you see anywhere where it isn't? Thanks.
Even if you aren't including any post-1.1 classes, you may still need to compile with the target switch like this: javac -target 1.1 Whatever.java This is probably only necessary if you're using Sun's Java SDK 1.4 or newer (I'm not familiar with any third party Java compilers). For more information on javac, take a look at The javac Documentation.