I like to know where do you put the javax packages. such as telephony. I try
to compile and I always get the error that it can not find the packages. As
for example;
import javax.telephony.*;
import javax.telephony.events.*;
import javax.telephony.callcontrol.*;
import javax.telephony.callcontrol.events.*;
/*
* The MyCallCtlOutCallObserver class implements the CallControlCallObserver
* interface and receives all events associated with the Call.
*/
I tried placing it in the jre in the lib ext and nothing works.
Thank you in advance.
You can add the jar/zip libraries for these packages to the environment
variable CLASSPATH. note that you have to add the actual jar/zip files,
not just the directory they are in.
Alternatively, you can pass them to the javac compiler on the command
line with the -classpath option. You will need to do the same to java
when running the application.
More from : http://mindprod.com/jgloss/classpath.html
If you use a build tool like ant, or IDE like Eclipse to manage,
compile and run your project, they have their own
interface/configurations for adding java libraries.
> I like to know where do you put the javax packages. such as telephony. I try
> to compile and I always get the error that it can not find the packages. As
[quoted text clipped - 12 lines]
>
> Thank you in advance.