We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Eclipse, Serial, Fat Jar issu
Page Index Toggle Pages: 1
Eclipse, Serial, Fat Jar issu (Read 716 times)
Eclipse, Serial, Fat Jar issu
Sep 3rd, 2008, 11:57am
 
Hi Guys

I have problems compiling projects useing the serial class.
Following example works fine in the eclipse envirement but doesn't work when compiled with fat jar or EclipseP5Exporter.

Any idears?

Uncommenting 'Serial port = new Serial(this, "COM3", 9600);' and fat jar builds well!!


package Robo.Testing;

import processing.core.*;
import processing.serial.*;

public class TestCompileSerial extends PApplet {



public static void main (String args[]) {


PApplet.main(new String[]{"Robo.Testing.TestCompileSerial"});

}


public void setup() {




size(400,400);


frameRate(10);




Serial port = new Serial(this, "COM3", 9600);



}



public void draw() {



background(0,0,0);


}
}
Re: Eclipse, Serial, Fat Jar issu
Reply #1 - Sep 15th, 2008, 9:13pm
 
could it be an issue with user libraries?
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1221248717

dch is working on updating EclipseP5Exporter; he has a new version up that reportedly handles user libs on windows, but is still not quite there for osx.
Re: Eclipse, Serial, Fat Jar issu
Reply #2 - Sep 17th, 2008, 8:26pm
 
Finally worked

i had to put rxtxSerial.dll and jinput-dx8.dll to applet folder
Page Index Toggle Pages: 1