这样好象不行啊。 另外我根据以下方法好象也不行: 1. Unzip the file javacomm20-win32.zip. This will produce a hierarchy with a top level directory commapi. The examples in this document assume that you have unzipped the javacomm20-win32.zip file in your C: partition and your JDK installation is in C:\jdk1.1.6. If you have installed JDK in an other location or unzipped javacomm20-win32.zip in an other location modify the example commands appropriately. If you are installing the Java communications API into a JRE (Java runtime environment) follow the same instructions as for the JDK except where noted. See the additional instructions for running using the JRE. 2. Copy win32com.dll to your <JDK>\bin directory. C:\>copy c:\commapi\win32com.dll to c:\jdk1.1.6\bin 3.Copy comm.jar to your <JDK>\lib directory. C:\>copy c:\commapi\comm.jar c:\jdk1.1.6\lib 4.Copy javax.comm.properties to your <JDK>\lib directory. C:\>copy c:\commapi\javax.comm.properties c:\jdk1.1.6\lib The javax.comm.properties file must be installed. If it is not, no ports will be found by the system. 以上四步我都做了,也不行。 请高手详细指点。多谢帮忙。
其余,自己搞定。
另外我根据以下方法好象也不行:
1. Unzip the file javacomm20-win32.zip. This will produce a hierarchy with a top level directory commapi.
The examples in this document assume that you have unzipped the javacomm20-win32.zip file in your C: partition and your JDK installation is in C:\jdk1.1.6. If you have installed JDK in an other location or unzipped javacomm20-win32.zip in an other location modify the example commands appropriately. If you are installing the Java communications API into a JRE (Java runtime environment) follow the same instructions as for the JDK except where noted. See the additional instructions for running using the JRE. 2. Copy win32com.dll to your <JDK>\bin directory. C:\>copy c:\commapi\win32com.dll to c:\jdk1.1.6\bin 3.Copy comm.jar to your <JDK>\lib directory. C:\>copy c:\commapi\comm.jar c:\jdk1.1.6\lib 4.Copy javax.comm.properties to your <JDK>\lib directory. C:\>copy c:\commapi\javax.comm.properties c:\jdk1.1.6\lib
The javax.comm.properties file must be installed. If it is not, no ports will be found by the system. 以上四步我都做了,也不行。
请高手详细指点。多谢帮忙。