Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $javac -classpath RXTXcomm.jar:. SerialTest.java
- SerialTest.java:3: cannot find symbol
- symbol : class CommPortIdentifier
- location: package gnu.io
- import gnu.io.CommPortIdentifier;
- ^
- SerialTest.java:4: cannot find symbol
- symbol : class SerialPort
- location: package gnu.io
- import gnu.io.SerialPort;
- ^
- SerialTest.java:5: cannot find symbol
- symbol : class SerialPortEvent
- location: package gnu.io
- import gnu.io.SerialPortEvent;
- ^
- SerialTest.java:6: cannot find symbol
- symbol : class SerialPortEventListener
- location: package gnu.io
- import gnu.io.SerialPortEventListener;
- ^
- SerialTest.java:9: cannot find symbol
- symbol: class SerialPortEventListener
- public class SerialTest implements SerialPortEventListener {
- ^
- SerialTest.java:10: cannot find symbol
- symbol : class SerialPort
- location: class SerialTest
- SerialPort serialPort;
- ^
- SerialTest.java:83: cannot find symbol
- symbol : class SerialPortEvent
- location: class SerialTest
- public synchronized void serialEvent(SerialPortEvent oEvent) {
- ^
- SerialTest.java:27: cannot find symbol
- symbol : class CommPortIdentifier
- location: class SerialTest
- CommPortIdentifier portId = null;
- ^
- SerialTest.java:28: cannot find symbol
- symbol : variable CommPortIdentifier
- location: class SerialTest
- Enumeration portEnum = CommPortIdentifier.getPortIdentifiers();
- ^
- SerialTest.java:32: cannot find symbol
- symbol : class CommPortIdentifier
- location: class SerialTest
- CommPortIdentifier currPortId = (CommPortIdentifier) portEnum.nextElement();
- ^
- SerialTest.java:32: cannot find symbol
- symbol : class CommPortIdentifier
- location: class SerialTest
- CommPortIdentifier currPortId = (CommPortIdentifier) portEnum.nextElement();
- ^
- SerialTest.java:48: cannot find symbol
- symbol : class SerialPort
- location: class SerialTest
- serialPort = (SerialPort) portId.open(this.getClass().getName(),
- ^
- SerialTest.java:53: cannot find symbol
- symbol : variable SerialPort
- location: class SerialTest
- SerialPort.DATABITS_8,
- ^
- SerialTest.java:54: cannot find symbol
- symbol : variable SerialPort
- location: class SerialTest
- SerialPort.STOPBITS_1,
- ^
- SerialTest.java:55: cannot find symbol
- symbol : variable SerialPort
- location: class SerialTest
- SerialPort.PARITY_NONE);
- ^
- SerialTest.java:84: cannot find symbol
- symbol : variable SerialPortEvent
- location: class SerialTest
- if (oEvent.getEventType() == SerialPortEvent.DATA_AVAILABLE) {
- ^
- 16 errors
- MacBook-Pro:src user$ ls
- RXTXcomm.jar comm.jar librxtxSerial.jnilib
- SerialTest.java librxtxParallel.so librxtxSerial.so
- MacBook-Pro:src user$
- java -Djava.library.path=".:/Users/bill/rxtx/jni" MyClass
Add Comment
Please, Sign In to add comment