Import javax.telephony.* not found.

Hello,
I am working on my first JTAPI exaples. I got this error. Can any one tell me how to over come this. What .jar file should I include in my class path. I am using jdk1.4.0 on Win XP.
Thanks
James

Hello,
Thanks for your reply. I have downloaded the class files. I downloaded the jtapi12-class.zip file to desktop and unzipped to jtapi directory in the desktop. I copied the jtapi folder to c:\j2sdk1.4.0\lib and c:\j2sdk1.4.0\jre\lib directory. I have the classpath in my autoexec.bat file like this
set path=c:\j2skd1.4.0\bin;
set classpath=%classpath%;.;
I still get that error as class not found or the import statement not found. Did I do any mistake, Please rectify me.
Thanks
James

Similar Messages

  • Import javax.mail not found

    Hello,
    I am new to Java Mail. I wanted to test my first programme. When I compile, I get this errors.
    package javax.mail not found in import and so on. I have set my classpath to so
    set classpath = %classpath%;C:\j2sdk1.4.0\lib\mail.jar;C:\j2sdk1.4.0\lib\activation.jar
    I included the mail.jar,smtp.jar and activation.jar in the lib directory of my jdk e.g c:\j2sdk1.4.0\lib\ "the jar file".
    Can any one tell me what I am missing here?
    Thanks
    James

    the easiest way to do this is to put
    activation.jar
    mail.jar          
    mailapi.jar     
    imap.jar     
    smtp.jar          
    pop3.jar
    into the virtual machine directory C:\Program Files\JavaSoft\JRE\1.3.1\lib\ext
    or the lib\ext directory of whatever virtual machine you are using
    and put coppies of them in JDK
    C:\j2sdk1.4.0-beta3\jre\lib\ext
    or jre\lib\ext
    of whatever JDK you are using
    this way they are found automaticaly
    no need for classpath

  • Import javax.mail not found problem

    I have downloaded the most recent mail.jar and activation.jar files and have created a library w/in JDev called javamail and have added these jars to that library. I have also included this library in my ViewController Project. The problem I am having is that the following imports statements are not found by JDev:
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    When I open up the mail.jar I can find all of these classes, so why are these imports not being recongnized?
    I have also tried import javax.mail.*; to include everthing and this does not work either.
    Does anyone have any suggestions on how to trouble shoot this issue?

    Try to add the J2EE library - which is predefined in JDeveloper- to your project's libraries.
    Worked for me.

  • Import javax.crypto not found error

    Hi,
    I have just installed the JDK1.7 on a windows machine.
    Whenever I try to compile my module, I get an error on the import javax.crypto line. It tells me that it can't the javax\Crypto\Cipher.class.
    I have the jdk installed on d:\glassfish3 and am pointing the classpath to d:\glassfish3\jdk7 (also tried d:\glassfish3\jdk7\jre as well) with no luck.
    Any help would be greatly appreciated.
    Thanks,
    Drew Nathanson
    Technical Synergy, Inc.

    Thanks. Maybe I should explain a little better.
    I am using JBuilder 2006 to my IDE. This environment requires that you put in the path to the JRE/JDK.
    I have uninstalled and downloaded the jdk again and this time i'm getting a strange error:
    "test.java": cannot access javax.crypto.Cipher; bad class file: D:\Program Files\Java\jre7\lib\jce.jar\javax\crypto\Cipher.class, class file has wrong version 51.0, should be 49.0, Please remove or make sure it appears in the correct subdirectory of the classpath. at line 19, column 21
    Now this is strange because i'm using the right library.
    Is there something that I'm missing here?
    Again, thanks for your help.
    Drew Nathanson

  • Package javax.mail not found in import.

    hi,
    i am trying to develop a mail application using jsp, i have jaf1.0.1 and javamail API and the application was working fine on weblogic but when i tried to do the same thing on Apache server the Package javax.mail not found in import. is occuring,
    What could be the problem can any one explain...
    Thanks

    I think you have not placed mail.jar and activation.jar files in the /jre/lib/ext directory. Just place the mail.jar and activation.jar files in the jdk's /jre/lib/ext directory and check out. This will work for you.
    Rkanthj

  • Package javax.swing not found in import!

    I recently installed JDK 1.3.1_02 on WinNT4.0 and I cannot compile javax
    packages without getting the following error:
    Package javax.swing not found in import
    I've tried every combination of modifying the CLASSPATH system variable
    I can think of. I have no problem compiling java packages but not
    javax packages. I followed the installation instructions to the letter.
    What am I missing? Surely someone is running the same version of
    the JDK I am on WinNT 4.0.

    Thanks again!!! I had an older version of javac running on my system any time I ran
    outside of the bin where the latest javac was installed. I removed the older version
    of the jdk and now I can compile from any directory. I really appreciate the help,
    I was wracking my brain.
    By the way, -version is not a valid flag for javac.exe, although it is for java.exe.
    signed,
    grateful in cyberspace

  • Package javax.ejb not found error

    Hi there,
    I've downloaded j2se 1.4 and j2ee 1.3.1 and installed it on Windows XP. I set the environment variables as described. When I compile a .java file that imports the javax.ejb.* package, then I get an error "package javax.ejb not found". I feel like an idiot and I know it's something to do with the environment variables. (or just XP, most likely)
    Thanks in advance
    Hoenner

    How are you compiling your source? If you're using an IDE then you should edit your project classpath to include the j2ee.jar file (it'll probably be in the lib directory of your J2EE installation).
    If you're doing it from the command line then type in SET CLASSPATH, look at the classpath it returns and check that it includes the j2ee.jar file.
    Hope this helps.

  • Package javax.servlet not found error

    package javax.servlet not found error. how it can be solved.
    plz help this is my first servlet program.
    vipin

    You need a jar file that has in it the javax.servlet.* classes
    It should be distributed with your servlet/jsp server.
    It can normally be found in a /lib directory under the installation.
    Some examples:
    Tomcat4: install_dir\common\lib\servlet.jar
    Tomcat5: install_dir\common\lib\servlet-api.jar; install_dir\common\lib\jsp-api.jar
    J2sdkee: install_dir/lib/j2ee.jar
    You need to include this jar file in your classpath when you compile any servlet.

  • Javax.servlets not found

    when i try to import the javax.servlet's, it is not found... any idea where i can go toget that? i downloaded the seperate elipse for J2EE and tried it on there, and i also tried it on the eclipse for regular java developers.
    thanks
    update: it turns out that eclipse has a # of requirements that it needs to get the WTP, i'll appreciate any assistance in directing me toward the files.
    Edited by: ixxalnxxi on Jun 17, 2008 3:30 AM

    No, you need to specify the application server in the eclipse project. Then it will take its libraries in the build path.
    You may find this tutorial useful, you can just skip the JSF part if you aren't planning to use it: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html].

  • Javax packages not found for J2SDK 1.5.0

    Hi,
    I am very new to Java SDK. I just installed J2SDK 1.5.0 beta 2 and installed it on my RedHat 9.0 box with root permission at /usr/local/(java-home)/
    I can compile simple applications which do not import extension packages. However, when I try to compile an application importing javax.swing.* , I get the below error message:
    Craps.java:9: Can't find default package `javax.swing'. Check the CLASSPATH environment variable and the access to the archives
    Craps.java:11: Superclass `JApplet' of class `Craps' not found.
    public class Craps extends JApplet implements ActionListener {
    The code of this application is correct, coz I can compile and execute it in Windows.
    Can anybody help me with this problem?
    Thanks!

    Hi Joni,
    Thank you for the reply!
    I've solved the problem with your inspiration of the ClASSPATH. This is for the reference of those who may encounter the same problem as me.
    I installed Redhat 9.0 with default settings and those bundled packages (could be normal to many Linux newbies like me :) There is a default java compiler installed, I guess, and it's bundled with gcc. So when I tried to compile my .java files, the javac comand from j2sdk was not involked. Instead, it's the default-installed java compiler that correspended to my command. I guess this is why no matter what I changed in the .bash_profile in my home directory, the j2sdk command javac had not executed.
    After I uninstalled this one, and add j2sdk/bin into my CLASSPATH, everything works fine now.
    Btw, I found out this problem by simply typing "javac" in the terminal and read the help suggestions that followed.

  • Javax.ejb NOT FOUND

    Hi anyone,
    I am creating an Entity Bean, and I have imported javax.ejb.EntityBean. I get an error during compilation
    " javax.ejb.EntityBean package not found"
    I am using jdk1.2.2 I even tried with jdk1.3.
    My query is:
    Q1. Which is the jar in jdk which provides class files for javax.ejb.EntityBean package ?
    thanks
    vikas

    It is in j2ee_home\lib directory. Include this in the classpath.
    -Siva

  • CMS Import error: archive not found

    Hi experts,
    trying to import components under Consolidation tab in CMS I get this error:
    Feb 7, 2011 4:12:26 PM   Error  : error during loading of propagation request Exc=com.sap.cms.tcs.interfaces.exceptions.TCSFileNotFoundException: archive not found: D:\usr\sap\trans\EPS\in
    \CMStarvosNWD/CMS/archives/sap.comSAP-SHRWEBNWD_EAMM1DEV_D~6 / D:\usr\sap\trans\EPS\in\CMStarvosNWD/CMS/archives/sap.com#SAP-SHRWEB#NWD_EAMM1DEV_D#6
    archive not found: CMS/archives/sap.comSAP-SHRWEBNWD_EAMM1DEV_D~6
    Unfortunately all the *.pra files were deleted under CMS\archives. 
    Ho can I restore these archives?? Or what can I do? What are the *.pra achives for?
    Best Regards
    Mirko

    Hi Mirko,
    I think the error comes not due to the pra files, but due to the missing sca files. Can you please try to recreate them in the way we have discussed? Assembly always takes the changes from cons/active, there's no way to change on this behaviour, i.e. there's nothing to be configured thisregarding. After import into cons a force activation takes place (i.e. in cons there's no need to do an explicit activation, the changes gets reflected after import automatically into cons/inactive as well as in cons/active)
    Best Regards,
    Ervin

  • Importing app, 404 Not Found, /pls/apex/wwv_flow.accept was not found

    Hello,
    It seems like others on this forum have posted this same question, although I still can't find my solution.
    I'm trying to import an application into Apex, but I end up getting a 404 Not Found error message, with "The requested URL /pls/apex/wwv_flow.accept was not found on this server". I checked the Apache error logs and this is what I see, but can't seem to understand what I need to do:
    [Wed Oct  3 14:26:10 2007] [error] [client 147.18.232.249] [ecid: 1191435955:131.98.31.15:784:0:3056,0] mod_plsql: /pls/apex/wwv_flow.accept
    HTTP-404 ORA-00942: table or view does not exist\nLaura

    Hi Scott,
    I realized what my problem was. It was in the marvel.conf file, contents listed below. Normally we remove the two lines below in bold. When I put them back in, I was able to load my app. Thanks for tipping me off in the right general direction!
    Laura
    mod_plsql DAD Configuration File                        
    Alias /i/ /opt/oracle/product/10.2.0/db_1_apex/apex/images/
    AddType text/xml xbl
    AddType text/x-component htc
       Order deny,allow   
       PlsqlDocumentPath docs   
       AllowOverride None   
       PlsqlDocumentProcedure wwv_flow_file_manager.process_download   
       PlsqlDatabaseConnectString localhost:1521:IPF ServiceNameFormat   
       PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8   
       PlsqlAuthenticationMode Basic   
       PlsqlMaxRequestsPerSession 1
       SetHandler pls_handler   
       PlsqlDocumentTablename wwv_flow_file_objects$   
       PlsqlDefaultPage apex    
    <b>   PlsqlDatabaseUsername APEX_PUBLIC_USER
       PlsqlDatabasePassword xxxxxx</b>
       Allow from all

  • Javax package not found

    Hi,
    I installed jdk1.4 in my system.And i type one swing concept program.After compilation of that program.It shows error like Javax.Swing. package not found.Please help to me to clear the proble.And also Javax.servlet package also not taken.
    regards
    sridhar

    Its javax, not Javax.

  • Problem while importing data schema not found

    Hi,
    I'm facing problem while importing data through system to a schema and impdp gives me error that schema XYZ was not found but when I query dba_users schema exist there what could be the reason of this.
    Regards,
    Abbasi

    Hi,
    Here is complete listing
    bash-3.2$ impdp system/abc schemas=XYZ DIRECTORY=data_dir DUMPFILE=Today_dump.dmp LOGFILE=Today_log.log PARALLEL=8
    Import: Release 11.1.0.7.0 - 64bit Production on Friday, 07 January, 2011 11:18:57
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39165: Schema XYZ was not found.
    Regards,
    Abbasi

Maybe you are looking for

  • Flash for Google engine

    1) Is it possible to create SWF which content would be reachable for Google search engine(robot)? I can use Meta Keywords in my HTML page of course. But there is not enough space for all the information, and if I, for example, have a news archive in

  • I am sending emails and they are not getting recieved by anyone. It says it has been sent in the sent folder

    For the last 2 days. I have been sending emails out. I have found out that people are complaining they are not receiving my emails. They do show in the sent folder so I am not sure what to do next. Please help.

  • Have Enough RAM, Still Have to Use Software Rendering

    I recently added an nVidia geForce 8600GT video card to my system with 1 GB of RAM on board. All together I have 2303MB of RAM, but I still have to use software rendering in Bridge or my images are scrambled. Since I have much more than the required

  • RAW Camera files

    Does the 'Camera RAW dialog box' mentioned in Photoshop Elements 4 work in Leopard? If so, how is it usable?

  • Portable DVD player with Iphone support?

    Im looking for a portable DVD player that I could also plug in my Iphone and watch the movies in the DVD screen. Anyone know of any brands out there that can do that?