Having trouble compiling something with javax.comm.*

I have some code that I am simply trying to compile.

In the header, it has the following statement:

import javax.comm.*

I have downloaded the Java Communications API (even though it does not look like this is available for Windows - I saw other posts where users claim to be using this with Windows) I downloaded the x86 version. I tried placing the files in my Sun folder and my Java (JRE) folder and when I try to compile I keep getting "package javax.comm does not exist).

Can someone tell me 1) What to download if I have the wrong files. 2) Where to put these files. 3) I think there is some win32com.dll file that I must have on the client machine, but I'm not sure where to get it and where to put it on the client machine.

Any help would be greatly appreciated! Thanks.

[815 byte] By [RyanJ19a] at [2007-10-2 11:23:31]
# 1

> I have some code that I am simply trying to compile.

Classpath.

> I have downloaded the Java Communications API (even

> though it does not look like this is available for

> Windows

It's not, indeed. Sun scrapped it. Use RXTX instead.

> - I saw other posts where users claim to be

> using this with Windows)

That was the old 2.0 version.

> I downloaded the x86

> version. I tried placing the files in my Sun folder

> and my Java (JRE) folder and when I try to compile I

> keep getting "package javax.comm does not exist).

Classpath.

> Can someone tell me 1) What to download if I have the

> wrong files.

RXTX

> 2) Where to put these files.

Anywhere you want. And then add that place to your classpath, or your build path in case you're using an IDE.

> 3) I think

> there is some win32com.dll file that I must have on

> the client machine, but I'm not sure where to get it

> and where to put it on the client machine.

Explained in the manual.

CeciNEstPasUnProgrammeura at 2007-7-13 4:27:38 > top of Java-index,Java Essentials,New To Java...
# 2
@OP: additional info: http://forum.java.sun.com/thread.jspa?forumID=31&threadID=698876
prometheuzza at 2007-7-13 4:27:38 > top of Java-index,Java Essentials,New To Java...
# 3
See http://www.icaste.com for a fully supported Windows Serial port API.
cpparkin-1a at 2007-7-13 4:27:38 > top of Java-index,Java Essentials,New To Java...