If you are using JBuilder, a project definition will be in your
SerialEcho root folder. You will need to change the project properties
output files location and required libraries location to match your
system paths. See the JBuilder tutorial
SerialEcho.java contains the method
public void initializeSerialPort()
which contains these lines:
commPortId = CommPortIdentifier.getPortIdentifier("com1");
The string "com1" identifies one of two onboard JStamp/JStik/SaJe
UARTs, the other is "com2". The SaJe/SBX2 combination
also has "com3" externally on the SBX2 board. Change this
string to match the com port you wish to use.
and a bit later:
Here the baud rate is 115200, you can change it to any of the javaxcomm
baud rates (see the javaxcomm javadocs for a list).
Now rebuild the project to generate a class file with your chose
com port ID and baud rate in it.