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)
   run-expert.bat in 0062
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: run-expert.bat in 0062  (Read 571 times)
senior

89237688923768 WWW
run-expert.bat in 0062
« on: Sep 24th, 2003, 9:31pm »

When running a sketch (any sketch) by starting P5 rev0062 (and 0061) with run-expert.bat, I get the following message:
 
"Strange error while compiling, please send code to processing@media.mit.edu" followed by this:
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:125)  
 at PdeEditor.build(PdeEditor.java:592)  
 at PdeEditor.doRun(PdeEditor.java:679)  
 at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:415)
  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)

 
Using processing.exe works fine, but I was trying out the .bat file because it used to make sketches run faster in old versions of P5.
 
fry


WWW
Re: run-expert.bat in 0062
« Reply #1 on: Sep 25th, 2003, 2:25am »

i think the reason things were running faster was because it was using a different java vm than the one we've included. so if you have 1.3 installed as the 'default' java vm, your stuff will run faster than the version 1.4 that's included with the environment. java just keeps getting slower.
 
as for your bug, i'll look into it.
 
bageshree
Guest
Email
Re: run-expert.bat in 0062
« Reply #2 on: Oct 7th, 2003, 12:23am »

hi,
 
even i am getting this same problem with p5 rev 0065. if i trying to run p5 using run and then if i execute the examples, it says strange error while compiling, please send code to processing@media.mit.edu....however, if i directly run processing.exe then execute the examples then it works...
 
fry


WWW
Re: run-expert.bat in 0062
« Reply #3 on: Oct 26th, 2003, 3:28am »

martin tracked this one down to problems with CLASSPATH. if you remove the %CLASSPATH%; from the CLASSPATH= line in the .bat file, this will be fixed.
 
fixed for rev 67, at any rate.
 
Pages: 1 

« Previous topic | Next topic »