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_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   IAE in 0066/0065
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: IAE in 0066/0065  (Read 746 times)
Martin

122417302122417302martingomez_listsmg1ph WWW Email
IAE in 0066/0065
« on: Oct 20th, 2003, 6:18am »

Argh. This is getting to my nerves already. I was still able to run sketches on 0065 before and now I can't. The same thing happens if I run a sketch in 0066 (even if the sketch just contains size(200,200); ). All I get is that annoying IllegalArgumentException.
 
Ah, NOTE: This only happens when I use run-expert.bat to run P5 ... sketches execute good if I use processing.exe
 
Here's the output of stderr...
 
Code:

java.lang.IllegalArgumentException
 at java.lang.Win32Process.<init>(Unknown Source)
 at java.lang.Runtime.execInternal(Native Method)
 at java.lang.Runtime.exec(Unknown Source)
 at java.lang.Runtime.exec(Unknown Source)
 at java.lang.Runtime.exec(Unknown Source)
 at PdeCompiler.compileJava(PdeCompiler.java:132)
 at PdeEditor.build(PdeEditor.java:672)
 at PdeEditor.doRun(PdeEditor.java:760)
 at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:418)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)

 
Java is in the path and jikes is in the P5 root folder.
 
Any ideas?
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: IAE in 0066/0065
« Reply #1 on: Oct 20th, 2003, 6:36am »

Hah! Got it! Sheesh. The pesky QT installation set the CLASSPATH env var to "C:\Program Files\Java\j2re1.4.1_03\lib\ext\QTJava.zip" ... grr. Removed it and everything works fine now. Thanks!
 
fry


WWW
Re: IAE in 0066/0065
« Reply #2 on: Oct 20th, 2003, 8:02am »

interesting, since it's supposed to be ignoring the CLASSPATH altogether (for reasons such as this one). looks like it's not ignore quite enough.. i'll look into it, thanks for tracking this down.
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: IAE in 0066/0065
« Reply #3 on: Oct 20th, 2003, 8:20am »

ah... here's the little culprit...
 
inside run-expert.bat ...
 
set SAVEDCP=%CLASSPATH%
set CLASSPATH=%CLASSPATH%;lib;lib\build;lib\pde.jar;lib\kjc.jar;lib\antlr.ja r;lib\oro.jar;lib\comm.jar;%windir%\system32\qtjava.zip;%windir%\system\ qtjava.zip
 
should be...
 
set SAVEDCP=%CLASSPATH%
set CLASSPATH=lib;lib\build;lib\pde.jar;lib\kjc.jar;lib\antlr.jar;lib\oro.ja r;lib\comm.jar;%windir%\system32\qtjava.zip;%windir%\system\qtjava.zip
 
thanks again.
« Last Edit: Oct 20th, 2003, 8:21am by Martin »  
fry


WWW
Re: IAE in 0066/0065
« Reply #4 on: Oct 26th, 2003, 2:44am »

thanks so much for tracking this down. i've just made the edit so that 67 won't have this problem.
 
Pages: 1 

« Previous topic | Next topic »