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
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