Import javax.telephony.* not found.

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 for your reply. I have downloaded the class files. I downloaded the 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.

Similar Messages

  • Import javax.mail not found

    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?

    the easiest way to do this is to put
    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
    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

    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.
    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:
    "": 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.

    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...

    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.

  • 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.
    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

    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.

    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.
    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: [].

  • Javax packages not found for J2SDK 1.5.0

    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: Can't find default package `javax.swing'. Check the CLASSPATH environment variable and the access to the archives 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?

    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 ?

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

  • 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 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/
    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

    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,

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

    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] [ecid: 1191435955:,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!
    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

    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.

    Its javax, not Javax.

  • Problem while importing data schema not found

    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.

    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 - 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 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39165: Schema XYZ was not found.

Maybe you are looking for

  • Configuring Reciever mail adapter

    Hi all I am trying to cofigure Receiver Mail adapter and my scenario would be RFC to mail .what are the settings need to be configured for a mail adapter ? i am using 7.0 version and SP16 can anybody send me some documentation or blogs about the rece

  • Multiline table container element does not display the contents

    Hi Guys, I am sending an email from the workflow. The workflow has few steps and in one of the steps the the workflow brings in few lines of text. This text is then stored in a multiline container element in the workflow. later in the workflow i am s

  • Problems With Accessing Classes

    I am having trouble calling classes that I have written. I put all of my .java files into my bin directory, and then I compile all of them. But when I compile one that has a reference to another class file that I have written, it acts like it doesn't

  • Ipod Gen 1 to Iphone 3GS

    I am in the market to buy a new IPHONE 3GS as they are finally becoming available in our location. The thing is I have an 8G IPOD TOUCH with all my songs and apps that I have downloaded and paid for. Is there a way to remove them from the IPOD and on

  • Doubt in Termination Rules in Benefits Module

    Hi Experts. I Have given termination variant as End Of Month.When System ask the date of month i have given as 30 th.How the system takes when the month is February which the last date is 28 th.Some months are having days upto 31 st.How the system re