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
   Software Bugs
(Moderator: fry)
   0068 classpath, sourcepath etc.
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: 0068 classpath, sourcepath etc.  (Read 1039 times)
catalog


0068 classpath, sourcepath etc.
« on: Feb 26th, 2004, 7:35pm »

Hello,
_
This code (from p5 reference) worked well in 0067. I used it to check a serial connection. Now when I launch the programm in 0068, I got the following message:
_
You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Package "netscape/javascript" could not be found in:
_
Code:
int val;  
void setup() {  
  beginSerial(4800);  // Start serial at 115200 baud  
}  
void loop() {  
  background(val*3, 20+val, 120+val);  
}  
void serialEvent() {  
  val = serial;  
  println(val);
}
_
I read some comments about QuickTime and the same message, and modified my java settings to 1.4 (in Resources folder) but I don't know how to solve this problem.
mac pb12, panther 10.3.2, processing_0068, java 1.4, keyspan adapter with gps device.
_
Thanks for help if you can!
 
fry


WWW
Re: 0068 classpath, sourcepath etc.
« Reply #1 on: Feb 26th, 2004, 9:27pm »

that's odd.. there should be a folder called 'netscape' and inside that 'javascript' inside the lib folder of your processing directory. is it not there?
 
catalog


Re: 0068 classpath, sourcepath etc.
« Reply #2 on: Feb 27th, 2004, 12:40am »

Yes it is:  
>lib  
>>netscape  
>>> javascript > ? JSEException.class ? JSObject.class ? JSUtil.class
I've got these files. Strange for me indeed cause I'm beginner with the syntax and java stuff!
Did you see anything wrong with this short code?
 
catalog


Re: 0068 classpath, sourcepath etc.
« Reply #3 on: Feb 27th, 2004, 1:58am »

Shame on me, maybe!
The above code worked now well with p5 0068, but:
_I returned to Resources > MRJApp.properties file and put java to 1.3.1 again (I changed that before because of my attempts to get in touch with gps device)
_Sketch > Serial Port menu (I changed my serial port to dev/tty.USA19QW3b1P1.1)
 
I don't know if this previous bug came from one of those reasons??
Many thanx anyway.
 
 
Pages: 1 

« Previous topic | Next topic »