-----Original Message----- From: John Hinsley [mailto:jhinsley@telinco.co.uk] Sent: Tuesday, November 06, 2001 7:16 AM To: squeak-dev@lists.squeakfoundation.org Subject: Re: SWIKI runs an applet
John Hinsley wrote:
If you can point me to the Jama package, I'll have a go, but without that, there's no hope of getting it to compile.
G.J.Tielemans@dinkel.utwente.nl wrote:
-----Original Message----- From: John Hinsley [mailto:jhinsley@telinco.co.uk] Sent: Tuesday, November 06, 2001 7:16 AM To: squeak-dev@lists.squeakfoundation.org Subject: Re: SWIKI runs an applet
John Hinsley wrote:
If you can point me to the Jama package, I'll have a go, but without that, there's no hope of getting it to compile.
Thanks!
Stranger and stranger. I can now compile it OK, or so it seems:
john@molehole:~/Desktop/Java_applets > javac LeastSquares.java -classpath Jama-1.0.1.jar Note: LeastSquares.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details.
(The deprecated message is pretty common, and it usually works whatever.)
In Comanche, on my recipes Swiki, I make a link to a new page:
*LeastSquares* _
and create the page.
<html><p align="center"> <applet codebase="uploads/63/" code="LeastSquares.class" width=382 height=433> </applet></p> </html>
and upload the .class file to the page.
Now I get the grey flash of death and Netscape screams:
Applet LeastSquares error: java.lang.NoClassDefFoundError: LeastSquares
which is strange. I've referenced the class correctly throughout, and what's
public class LeastSquares extends Applet {
if not a class definition?
Any ideas from someone who knows their java welcomed!
Cheers
John
squeak-dev@lists.squeakfoundation.org