Re: Where do you put the javax pacakages?
- From: "fuzzybr80" <fuzzybr80@xxxxxxxxx>
- Date: 30 Mar 2006 18:44:57 -0800
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.
Richard Perreault wrote:
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.
.
- References:
- Where do you put the javax pacakages?
- From: Richard Perreault
- Where do you put the javax pacakages?
- Prev by Date: Re: java.lang errors
- Next by Date: Re: File IO -- Reading Config Files Easily
- Previous by thread: Where do you put the javax pacakages?
- Next by thread: java.lang errors
- Index(es):
Relevant Pages
|
|