Problem Installing Java Servlets Package

I downloaded a sample servlet program which imports classes from the Java Servlets Package. I have the JDK 1.2 which does not come with the servlet classes (javax.servlet and javax.servlet.http). So I then downloaded them from java.sun.com. They come as a set of class files in .zip format. I thought packages were supposed to be in .jar format? At any rate, my compiler still fails to see these classes even after I have extracted these files into the same directory as the original .zip file and added this directory to my classpath. Am I going about this the wrong way? Any ideas on how I can make my compiler see these classes? --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

I down loaded j2sdk 1.4 . and also down loade servlet package. I installed in bin directory.
i took the sample program and compiled. there is error message " java servlet package not found.
please help. email me at [email protected]
Thanks
sri

Similar Messages

  • Problem installing Java Applications

    Hi there, i have problems installing Java Applications (from Ovi and from another source). The Apps from stores quit with just "there was a error", the other App is more detailed:
    Interner Fehler: Jsr plugin com.nokia.mj.impl.chapi.core.utils.
    ServiceProviderInstaller cancelled installation
    Is it possible that the Java-Handler is missing or faulty? Can this handler be manually installed? Thanks Gerd (E7-00 Anna, clean installation after hardreset)
    Solved!
    Go to Solution.

    Sorry about my previous answer, as it's not really an efficient solution.
    Skyee put the solution for this issue in another thread
    FA136376 I am unable to install any Java apps after the Symbian Anna upgrade, how to fix this?
    After upgrading Symbian Anna and starting the Java installation file on the Nokia Symbian^3 device, the following error message may be displayed: Installation failed – internal error: Jsr plugin com.nokia.mj.jmpl.chapi.core.utils.ServiceProviderInstaller cancelled installation. To fix this, install the following java_symbian_anna_fix.sis file: http://dl.nokia.com/ns/java_symbian_anna_fix.sis .
    Note: During the installation the file will give the warning message: Application not compatible with phone. Continue anyway. Select yes to proceed.

  • Problems installing Java 1.6

    I'm having problems installing Java 1.6. I've run software updates several times and the Java 1.6 has not come up for me to install. Could someone please send me a link or other fix for this?

    According to your profile, you are on 10.4.11? Java 1.6 is for Mac OS 10.5 - see here:
    http://support.apple.com/kb/DL70
    So, there is no "fix" - that Java update is for an operating system you do not have; therefore Software won't and shouldn't find it.

  • Problem installing Java EE 6 windows.

    I have downloaded the Java EE 6 SDK windows installer. I find that
    it progresses to about 40% or 75%, but then refuses to progress any further.
    I have Windows 7 64 bit.
    What do I do to find an installer for 64 bit Windows and 64 bit Linux that will finish installing?

    I have run as administrator and found exactly this problem.
    The User Interface for the EE 6 JDK is a bit buggy, but I have found that if I resize the lower edge of the window
    on an off while it installs, I can successfully get through to 100%.
    However, even then, I can't find where it puts javaee.jar v6.
    Where does this file go? Is it now only included as a new version of a newer jar inside Glassfish 3, or not?
    I just can't install Java EE 6, and have tried downloading the installer again with no success.
    Could someone help?
    Edited by: 848439 on 08-Dec-2011 21:39

  • Problem installing Java

    Hey im having a problem with Java, tried to install the latest version and i get this message saying i already have it installed and do i want carry on the installation which i do ... then i get a message saying
    'windows installer' "this action is only valid for products which are installed"
    I have no java icon in my control panel, im thinking i may have got rid of java somehow but my pc thinks i have it but i have no java or update in my add remove programs and again no icon in my control panel at the bottom ..
    Is there anyway i can get a fresh install of java ?
    and sorry if this message is slightly confusing,im not the best at these things ! If you need any screen shots or other imformation then just ask ..
    Thanks if anyone can help !
    Edited by: robmatthews on Nov 30, 2008 1:44 PM

    No thats not worked either .. basically my pc is sayin i already have it installed,but i can assure u it isnt workin, is there any way to completey remove all java bits and install from stratch ? i keep tryin the java 6 update 10 version but sayin i already have it !

  • Problems installing Java JRE 7 on Mac OS Lion

    I have problems installing jre-7u6 on Mac OS Lion 10.7.4. Downloaded the latest version for this OS from the following link http://jdk7.java.net/download.html.
    Installation is normally and correctly. But when I try to see in the terminal with the command "java -version" still shows the old version, the new version is not installed.
    Somebody can help me?

    You're reasoning it the wrong way around dude. You should find a mac forum to ask this. The reason is very simple - you need mac users which have run into this before and know how to fix it. Where are you likely to find them?
    Well there are likely SOME mac users here, but not as many as on a mac forum...

  • Yaourt: Problems installing generated AUR packages [SOLVED]

    Hello.
    I'm using Archlinux and the system works flawessly. Sadly, there's a problem when trying to install AUR packages.
    The following happens installing any AUR package I tried lately.
    ==>  Continue installing wicked-git? [Y/n]
    ==>  [v]iew package contents [c]heck package with namcap
    ==>   ----------------------------------------------
    ==>y
    loading package data...
    error: './wicked-git-20090112-1-i686.pkg.tar.gz': cannot open package file
    ==> WARNING: Your package is saved in /tmp/yaourt-tmp-timofonic/wicked-git-20090112-1-i686.pkg.tar.gz
    cp: cannot stat `./wicked-git-20090112-1-i686.pkg.tar.gz': No such file or directory
    ==> WARNING: Unable to copy wicked-git-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-timofonic/ directory
    Any idea about how to fix it? I tried using both an user with sudo and root, same problem.
    Regards.
    Last edited by timofonic (2009-07-14 19:52:53)

    lilsirecho wrote:
    Perhaps the method to use is given by the man pacman files.
    pacman -U (.pkg.tar.gz package ID found in the directory generating the package)
    For example:  ...pacman -U /var/local/kernel26-2.6.30-5-x86-64.pkg.tar.gz......since the pkg generated is in that directory for this theoretical case.
    Any locally generated package is loaded with ...pacman -U....
    What do you mean? The package doesn't exist, I double checked it.
    Maybe I need to check where yaourt writes it. Any suggestion about what util to use for that?
    EDIT: I used "lsof" command and found the file is there, but yaourt can't locate it and deletes the directory after
    $ ls /tmp/yaourt-tmp-root/aur-wicked-git/wicked-git/w*
    /tmp/yaourt-tmp-root/aur-wicked-git/wicked-git/wicked-git-20090708-1-i686.pkg.tar.gz
    /tmp/yaourt-tmp-root/aur-wicked-git/wicked-git/wicked-git-20090709-1-i686.pkg.tar.gz
    Please, could anyone help me to solve this problem?
    Last edited by timofonic (2009-07-09 22:08:47)

  • Problems calling Java Servlets from HTML pages Online

    Hello
    I have created a Web site using Java Servlets, and have acquired some servlet enabled web-space however i am having some difficulty in calling the actual servlets from the HTML pages i was using the line of code as follows
    http://localhost:8080/servlet/....
    followed by the name eg.
    http://localhost:8080/servlet/Login
    however this doesn't seem to be working i have also tried using the exact address of the servlet but this didn't work either
    i.e ..servlet/Login.java
    I was wondering would anyone have any idea as in how the servlets should be called
    Thanks very much

    Once you write the Servlet code, you have to compile and put the classes in the server classpath. To refer these servlets from your pages, you have to configure them in the server configuration(typical a xml file). There you define how you are going to refer to the servlet(/servlet/Logon) and the correponding class.
    -Mak

  • Problem installing Java Studio creator2

    I was trying to install Java Studio Creato 2 but due to some reason i had to manuaaly "end task" the installation. It was installing Sun java server 8 at that time.
    But now every time i try to install it again it hangs up at around 17% and doesnt moves further for more then 30 min.
    I tried deleting the temporary files butthta didnt helped
    please help me install it
    thank you
    Kshitij

    There is also the \windows\system*\productregistry file that might prevent a new installation. I don't know when it's created during the installation but you might want to look if you have one and rename/delete it.
    Thanks,
    -- Marco
    http://blogs.sun.com/marcoscorner

  • Problem installing java mail api1.4.1

    i installed javamail api1.4.1 by unzipping and setting the classpath for activation(of JAF) and mail(of JavaMail API).. but when i compile a sample program(progname is msgsend) which already exists in the mainAPI directory, i get a message saying-
    java.lang.NoClassDefFoundError: javaapplication13_email/msgsend
    Exception in thread "main"
    i'm not able to figure out the problem..

    I'm guessing you're a beginning Java programmer and you're confused about how directories
    and package names work.
    Did you put the source code in a "javaapplication13_email" directory? Did you modify the
    source code to add a "package javaapplication13_email;" statement?
    Are you using the command line "javac" program to compile?
    In the directory where msgsend.java is, using "javac msgsend.java" should compile it.
    If it's still not working for you, provide more details about what you're doing.

  • Problems installing java edition

    Hi,
    I've encountered several problems during the NW04 java edition installation.
    After several locks, I finally discovered that the 1500 MB database log area was full. I then allocated 3000 MB and got the following error during the 'java database load' phase :
    ERROR 2005-06-18 23:05:44
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    the jload.log says :
    18.06.05 22:52 com.sap.inst.jload.Jload dbImport
    INFO: trying to delete from table BC_EDM_EVENT
    18.06.05 22:52 com.sap.inst.jload.Jload dbImport
    INFO: BC_EDM_EVENT deleted
    18.06.05 22:52 com.sap.inst.jload.Jload dbImport
    SEVERE: DB Error during import of BC_EDM_EVENT
    18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
    SEVERE: Message: Invalid object 11/23/04 6:00 PM of type java.sql.Date assigned to host variable 5.
    18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
    SEVERE: SQLState: SAP06
    18.06.05 22:52 com.sap.inst.jload.Jload printSQLException
    SEVERE: ErrorCode: 1001109
    Any help would be appreciated
    Thanks

    My config is a PC AMD 3500+, 2GB RAM, 200 GB HD, Windows XP SP2.
    At the beginning I thought 1GB of RAM wouldn't be enough, so I added another gig but it seems <b>installing NW04 is far from being plug and play</b> (when I thought I was mad after BEA Weblogic Portal )
    I started with ABAP MSSQL edition and I went through several system hangs during the installation process then I tried this downloadable edition and it's not better. Damn, my company just chose Netweaver as a BI solution ! Of course we wouldn't use standard PC as a production environment but hey SAP really has some improvements to make here !!
    Thanks

  • Problems installing Java 7u2 on Windows XP

    I have seen lots of posts on this issue but no real solution.
    I was able to installed jdk-7u1-windows-i586.exe just fine but jdk-7u2-windows-i586.exe does nothing. I have run it from the command line, and by double clicking the icon but nothing, no windows, errors or anything. Nothing in the the event logs......
    Does Oracle have a solution for this problem??

    user7821113 wrote:
    I have seen lots of posts on this issue but no real solution.
    I was able to installed jdk-7u1-windows-i586.exe just fine but jdk-7u2-windows-i586.exe does nothing. I have run it from the command line, and by double clicking the icon but nothing, no windows, errors or anything. Nothing in the the event logs......What sort of thing do you expect? Executing jdk-7u2-windows-i586.exe installs the Java runtime (JRE) and the Java compiler. After this the file jdk-7u2-windows-i586.exe can be removed. This will allow you compile and execute Java programs.
    >
    >
    Does Oracle have a solution for this problem??I think the problem is your expectation.

  • Problem installing java plugin from jre 1.4.0 on netscape 4.79

    We tried to install the newest java plugin on netscape
    4.79 on our Solaris 2.8 machine. Followed the instruction, we first downloaded j2re-1_4_0-solsparc.sh, ran the script to create a
    directory called j2re1.4.0, then set the NPX_PLUGIN_PATH environment variable to the directory
    containing the javaplugin.so file. When we tried to
    start netscape, we got the following error message:
    INTERNAL ERROR on Browser End: Could not load the function CreateOJIFactory
    System error?:: No such file or directory
    What is the problem? Any fix?
    Thanks

    Hi,
    From your description, it seems you've read http://java.sun.com/j2se/1.4/install-solaris.html#plugin . This also states that the supported Netscape builds go up to 4.77 before moving on to Netscape 6.x. And in this case it appears that this isn't just because the documentation hasn't kept up with recent activity from Netscape. Netscape 4.79 appears to treat the plugin differently, and/or still expect the old Activator code to be in place to use it.
    I'm using the 1.4.0 JRE with no trouble at all with Netscape 7.0PR1. If anything this - and the Mozilla 1.0RC2 build that it's based on - are far more stable than any of the NS4.x releases. The only reason I can see for staying with 4.x is that it'd little more lax with the HTML it reads, and displays some bad pages that NS6/7 refuses to display.
    Recent Solaris releases come with Netscape 6 as well, and it's easily downloadable. I'm sorry I can't be more help than this.
    Mark Bowyer.
    Sun Developer Technical Support.

  • Problems Installing JAVA 2 SDK and Forte4J CE 3.0 on Win98  - HELP !!!!

    I have downloaded JAVA 2 SDK, SE v.1.4.0 and Forte for Java CE 3.0 without any trouble, but when I go to install it, I get stuck at the SDK installation screen, and nothing happens.
    I did restart my computer after downoading the file, but that did not help. I have been looking at the installation screen now for about an hour. What do I do? Please, somebody help me.
    Thanks.
    Iwona

    I had a similar problem with J2SDK 1.4.0 and Forte
    3.0 on a Win98 box. Realizing that J2SDK 1.4.0 is a
    BETA release, I dropped back to J2SDK 1.3.0_02. It
    works fine!
    Regards,
    Mark

  • Problems installing a new package

    Hi,
    I have the classes for my application in the following directory:
    C:\Java_app\OpenSMPP\build\classes\org\smppThere i have a directory called test and inside of it a file called SMPPTest.class with this source code:
    package org.smpp.test;
    import java.io.*;
    import java.util.Properties;
    import org.smpp.*;
    import org.smpp.TCPIPConnection;
    import org.smpp.pdu.*;
    import org.smpp.debug.Debug;
    import org.smpp.debug.Event;
    import org.smpp.debug.FileDebug;
    import org.smpp.debug.FileEvent;
    import org.smpp.util.Queue;
    public class SMPPTest {
         static final String copyright = "Copyright (c) XXX";                    
                         static final String version = "version 1.1";
         static {
              System.out.println(copyright);
              System.out.println(version);
    . In my CLASSPATH I have the following:
    .;C:\j2sdk_nb\j2sdk1.4.2\lib\log4j-1.2.8.jar;C:\Java_app\OpenSMPP\build\classesI get this error when i try to run SMPPTest:
    Exception in thread "main" java.lang.NoClassDefFoundError: SMPPTest (wrong name:
    org/smpp/test/SMPPTest)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)Where is the problem?
    Thanks in advance,
    Jean Carlo

    Looks to me like he/she simply had theorg/smpp/test
    directory in the classpath rather than (or inaddition
    to) the parent directory of "org".Possibly, but if you launch with "java
    org.smpp.test.SMPPTest" then it shouldn't matter.
    If the parent directory of "org" is not in the classpath, for sure it would matter.

Maybe you are looking for

  • How do i install Bootcamp on my macbook pro

    Hi. i have deleted my bootcamp for some time ago. now i try do download it and re install it but i can't. can someone give some advice. best regards Amir

  • What version of iTunes include Quick time version 7.6.2 or earlier

    I am having problems with another important program because the newest versions of iTunes which includes Quick time won't allow the other program to work correctly. I need to know what older version of iTunes include Quicktime Version 7.6.2 or earlie

  • Syncing photos of my art & my photography to my ipod touch

    I have 2 folders of photo/image content that I want to snyc to my ipod touch, one is a folder with my photograps, the other folder has photos of my artwork, but itunes will only sync one folder or the other, but not both. how do I get itunes to snyc

  • Timecode Delay

    I have been capturing footage on my Imac connected to a Sony J-30SDI via firewire. I have been capturing for about a year with no problems until yesterday. There all the sudden seems to be some sort of delay on the time code reading in the capture wi

  • Tuxedo perl module now on CPAN

    A very basic tuxedo perl module is available on CPAN and can be downloaded from.... http://search.cpan.org/author/AFRYER/TUXEDO_1_00/ tested on windows and solaris with tuxedo8.0.