Avatar of Member_2_1214586
Member_2_1214586
Flag for United States of America asked on

Javax.comm

I have downloaded and tried to install the javax.comm files, but for some reason when I write "import javax.comm.*;" NetBeans tells me the package does not exist.  Here is where I have placed the following files:

comm.jar

    %JAVA_HOME%/lib

    %JAVA_HOME%/jre/lib/ext

win32com.dll

    %JAVA_HOME%/bin

    %JAVA_HOME%/jre/bin

    %windir%System32

javax.comm.properties

    %JAVA_HOME%/lib

    %JAVA_HOME%/jre/lib

Another interesting note: when I open the command prompt and type javac hello.java  dos comes back with 'javac' is not a recognized command...could these problems be related?

Thanks in advance!
JavaEditors IDEsJava EE

Avatar of undefined
Last Comment
Member_2_1214586

8/22/2022 - Mon
a_b

The jar that contains the  javax.comm.* files needs to be on the classpath. Regarding the second issue, check what does the %JAVA_HOME% variable point to?
Member_2_1214586

ASKER
Where is the classpath kept at?  Sorry I didn't put a key in my question the %JAVA_HOME% is just the directory where java is installed
ASKER CERTIFIED SOLUTION
a_b

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Member_2_1214586

ASKER
I think that's gonna work! Thank you so much!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23