The usual way to install the java comm package is to put the jar in
your jre/lib/ext directory, the javax.comm.properties file
in jre/lib, and the win32com.dll in WINDOWS/SYSTEM32.

getenv.dll should also be in SYSTEM32, but putting their directories
into the PATH should also work...I forget if Windows supports a
LDLIBPATH...

The error indicates that you may not be getting to the properties file.
Are you using the same JRE in both environments?

I haven't tried to run under Command.com for ever but it should be doable.
I've had no trouble running under Eclipse which doesn't use cygwin.

MS

Ron Olson wrote:
I want to run the Java 'Listen' application under Windows, without Cygwin. Setting up Cygwin just so I can run Java apps is such a long way around, and I want to do this on several PCs. I'm using tmote Sky, with the FTDI USB driver 2176.

I tried this, being sure to:
- include comm.jar in my classpath
- include getenv.dll in my library path
- set [EMAIL PROTECTED]:tmote

Listen works fine under Cygwin with that same MOTECOM definition. But, under Windows I get this error:

"Error on [EMAIL PROTECTED]:57600: java.io.IOException: Invalid port. No comm ports found!"

Any ideas?

Thanks,

Ron
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to