This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I run a console based program which contains two files , of which one contains the main. I want to run that program using jar file. Problem encountered: I am using javax.comm package in the program. When i run jar file using : java -jar <filename>.jar It gives the following exception: Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/CommPortIdentifier
at ConnectModem.ModemProcess(ConnectModem.java:22) at ConnectModem.main(ConnectModem.java:18)
My Manifest file is:
Manifest-Version: 1.0 Class-Path: comm Main-Class: ConnectModem