FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Integration
(Moderators: fry, REAS)
   Accessing Hardware from an Applet
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Accessing Hardware from an Applet  (Read 845 times)
rowena

rowenaluk@canada.com
Accessing Hardware from an Applet
« on: Sep 12th, 2004, 4:35am »

Hey Guys,
 
I'm writing an application that uses a Java wrapper class (in the "code" directory), in order to call native methods that subsequently take care of some hardware interfacing stuff. I can run my application from Processing IDE fine, but when I export to applet (and appropriately sign and authenticate my .jar files using keytool and jarsigner, in order to get around security restrictions), I get the errors:
 
java.lang.NoClassDefFoundError
 
 at test_FPR.setup(test_FPR.java:73)
 
 at BApplet.init(BApplet.java:185)
 
 at sun.applet.AppletPanel.run(Unknown Source)
 
 at java.lang.Thread.run(Unknown Source)
 
My processing code is essentially:
 
Class1 myClass = new Class1();
 
as if the application cannot even find the java wrapper classes!!! I've tried adding the wrapperClass.class files to directories in my computer's CLASSPATH, but no luck. Any other ideas what might be causing the problem?
 
Thanks,
ro
 
rowena

rowenaluk@canada.com
Re: Accessing Hardware from an Applet
« Reply #1 on: Sep 12th, 2004, 4:36am »

oh yes, i tried this on netscape 7.0 and IE 6.0
operating system = Windows XP
 
Pages: 1 

« Previous topic | Next topic »