How to run java file from bat

Hello!

I have one java class that do import to javax.comm.

Then i try to run this java class i get the exception.

I do the next:

C:\java\classes> java comPortPack.comPort

Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/UnsupportedCommOperationException

What i need to do for run this class?

Thanks.

[373 byte] By [aver35a] at [2007-11-26 18:53:00]
# 1
Include the library containing the said classes in your class path.
BIJ001a at 2007-7-9 6:27:02 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks!It work, but i have exception about ports.When i run this class from JDeveloper i see the ports and then i run the class from the batch file i have exception abou NoSuchPort (i use javax.comm package).What is a problem?
aver35a at 2007-7-9 6:27:02 > top of Java-index,Java Essentials,New To Java...