Re: Where do you put the javax pacakages?



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.

.



Relevant Pages

  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Re: Xorg 6.9 or 7.0 - still no RPMs?
    ... >> Again, SUSE only does security updates, not version updates. ... Gnome and other WM's packages, and each graphical application, anything ... There is a lot of work involved in releasing a major update like that! ... > needing to compile or find trickily located rpms are they expected ...
    (alt.os.linux.suse)
  • Re: [OT] FreeBSD trial follow up
    ... upgrade and is tedious over a 24+ hour upgrade because everything stops ... nVidia wouldn't properly compile. ... If you don't like compiling packages, ... be mentioned that there, as I understand, are binaries option for FBSD. ...
    (alt.os.linux)
  • Re: YaST updates are not latest-and-greatest
    ... Ruby, OpenOffice, Firefox, Adobe Reader, etc., etc. ... Firefox is free. ... Their linux packages work fine on OpenSUSE. ... I do NOT compile my own. ...
    (alt.os.linux.suse)