 |
Author |
Topic: how to import "netscape.javascript" within p5? (Read 5969 times) |
|
sspboyd
|
Re: how to import "netscape.javascript" within p5?
« Reply #15 on: Apr 13th, 2004, 8:38pm » |
|
works on os x 10.3.3 safari, and mozilla 1.3a but not camino. The camino issue seems to be a problem with its handling of java in general and probably nothing personal against your app.
|
gmail.com w/ sspboyd username
|
|
|
fry
|
Re: how to import "netscape.javascript" within p5?
« Reply #16 on: Apr 14th, 2004, 12:19am » |
|
on Apr 13th, 2004, 7:43pm, fry wrote:when you're in java mode, you'll need to drop jaws.jar into the 'code' subfolder of your sketch's folder--this will magically add it to the CLASSPATH. jaws.jar is included in the classpath when running in non-java mode, and CLASSPATH itself is ignored entirely by p5, because usually it's something completely mangled and confuses the hell outta people. |
| actually, this is gonna be problematic, since the exported applet will included the netscape.javascript classes, which will be a problem for the browser. sooo.. you'll have to do the above, but open the applet's .jar file with a zip utility (ie stuffit or winzip) and remove the 'netscape' subfolder.
|
|
|
|
|