1.Windows: place the win32com.dll in <jdk>\jre\bin directory. 2.Place the comm.jar in <jdk>\jre\lib\ext. 3.Place the javax.comm.properties in <jdk>\jre\lib . 4.Do not alter the CLASSPATH. (设置后,运行javac 名称.java总是有错误,而且错误与这个java文件内容一点关联都没有。)请问错在什么地方,该如何设置comm API?
用util.Timer
还有win32com.dll的代码也想要。
刚刚才自学,毕业设计想用Java写,但现在不知道怎么对并口操作了,停在这了,很急!!!
我的电路板和操作界面做出来了,现在要通过并口的一个地址置高电平(1),启动电路,并接收数据。
不知4楼的能否发些相关例子代码到我邮箱:[email protected].
我29号就要交,很急!!!(分不够再给)
sample中包含parallel/serial port的例子,改改可以用。
《java cookbook》中有一章专门讲解相关的例子。(o'reilly出版,有中文版)java.sun.com中正好能下载这本书的这一章(英文版)。
1.Windows: place the win32com.dll in <jdk>\jre\bin directory. 2.Place the comm.jar in <jdk>\jre\lib\ext. 3.Place the javax.comm.properties in <jdk>\jre\lib . 4.Do not alter the CLASSPATH. (设置后,运行javac 名称.java总是有错误,而且错误与这个java文件内容一点关联都没有。)请问错在什么地方,该如何设置comm API?