JSDK2.0 installation ...Plz help

I am new to Java programming. My OS is Windows ME.I am using JDK1.3(in c:\jdk1.3\) and in order to run the SERVLETS I recently installed the JSDK2.0(in c:\jsdk2.0).I updated the class path to c:\jsdk2.0\bin and c:\jsdk2.0\lib\jsdk.jar .Now I wrote a simple servlet program SimpleServlet.java and saved it in c:\MyPrograms.
Now when I compiled this program at prompt as follows
C:\MyPrograms\>javac SimpleServlet.java
               I am getting the following errors
1)Package javax.servlet doesn�t exist
2)Package jaavx.servlet.http doesn�t exist
Can somebody please tell me where I went wrong. My guess is that the problem is with installing JSDK. Somebody please let me out this problem.
Thanx!

I think I have installed everything properly...as I am getting nowhere lets start a fresh...
jdk installation-:c:\jdk1.3
jsdk installin-:c:\jsdk2.0
class path set -:set path=c:c:\jsdk2.0\bin;c:\jsdk2.0\lib\jsdk.jar;
Now let us take an example HelloWorld.java...I saved this in c:\Myjava folder
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet{
    public void doGet(HttpServletRequest req,HttpServletResponse res) throws
                            ServletException, IOException{
                   res.setContentType("text/html");
                   PrinterWriter out=res.getWriter();
                   out.println("<HTML>");
                   out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
                   out.println("<BODY>");
                   out.println("<BIG>Hello World</BIG>");
                   out.println("</BODY></HTML>");
}Now i compile the program as follows
c:/Myjava> javac Helloworld.java
Now I get the errors ...I think the installation is correct...But I cant find the problem...I am getting desparate...Plz Help me out...
Thnx

Similar Messages

  • Very URGENT:am not able to log in to my account on installation of OSX lion...tried to resolve this issue by calling apple support centre ,but was left in vain...am not able to access my documents nor do any work...plz help me resolve this issue asap...

    am not able to log in to my user account after installation of OSXLion,have called up the support centre many times,but was left in vain ...i belief its a simple problem ,but why is apple support center not able to help me out ...have given them all the required information with respect to everything...somebody plz help me to log in as am not able to access my docs and do any work...

    My phone works all fine when am in mumbai but as soon s i leave mumbai I am not able to make an otgoing call
    This is entirely a carrier issue.  If your carrier (airtel) doesn't provide service outside of Mumbia, this has nothing to do with your iPhone.
    i feel i need to change my brand
    This is a user-to-user tech support forum, not Apple.  No one here cares at all about your threats.
    NEVER post personal info in this public forum

  • Plz help Photoshop CS4 trial installation error

    Yesterday i downloaded Adobe Photoshop CS4 Trial from adobe's official website. it took about 2 hours on 1MBPS DSL. it was 814 mb 7z file and anoth extractor when i tried to extract the 7z file with adobe extractor it went fine but at 100% an error occured (see the screen shot). Now when i go to folder where the setup files has been extracted and open the setup file. nothing happens no file is opened even after many retries. plz help me.
    Screenshot:
    Also i have checked the space on drive it is 9 GB

    The screen shot showed your C: drive as 10GB!
    I don't think that PC is able to run CS4
    From the product page:
    System requirements
    Windows
        * 1.8GHz or faster processor
        * Microsoft® Windows® XP with Service Pack 2 (Service Pack 3 recommended) or Windows Vista® Home Premium, Business, Ultimate, or Enterprise with Service Pack 1 (certified for 32-bit Windows XP and 32-bit and 64-bit Windows Vista)
        * 512MB of RAM (1GB recommended)
        * 1GB of available hard-disk space for installation; additional free space required during installation (cannot install on flash-based storage devices)
        * 1,024x768 display (1,280x800 recommended) with 16-bit video card
        * Some GPU-accelerated features require graphics support for Shader Model 3.0 and OpenGL 2.0
        * DVD-ROM drive
        * QuickTime 7.2 software required for multimedia features
        * Broadband Internet connection required for online services

  • Plz Help, i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.then downloaded by itunes and loaded but cant find my apple ID as i forgot everything. the phone is useless and cant be activated. wot can i do????plz help

    Plz Help,
    the last night  i downloaded ios8 on my 5s and it went to recovery mode after clicking installation.
    then downloaded the ios8 using itunes and loaded but cant find my apple ID as i forgot everything.
    the phone is useless and cant be activated. wot can i do????plz help

    Apple has a number of ways to help you find your Apple ID and password:
    https://iforgot.apple.com/appleid
    If you forgot your Apple ID password
    Apple ID: Contacting Apple for help with Apple ID account security

  • My ipod touch 5th generation wont download apps and let m e use them!!! Plz Help me fast!

    I have an i pod touch 5 and I try to download a new app from the app store so i goto the app store and click download then click it again to install it and it installs but it dont leave an app icon on the home page so i go back to the app store and it says open in a ble box so i click open and it dont open it just keeps saying open and it wont open! please help me!!!!!!!!!!!

    I ment blue not ble sorry but plz help!

  • 500 internal server error..plz help

    hi,
    since i started working on oracle apps...this forum has proved itself alt helpful...
    i have performed a single node installation successfully over my laptop on win xp sp2 os.
    alt of error generated bt in da end i always found a solution here...
    guys like hsawwan are a great asset for this forum.....
    may GOD reward u guys fr da job u r doing by helping others....
    my recent problem has left me in a fix....
    problem:
    after a successful installation my system was working very fine ... i used the application and every thng seemed to work ok...
    bt thren i restarted my pc nd this chaos started ....
    first m receiving
    500 internal server error...
    thn a blank screen
    now again 500 internal server error...
    steps i performed
    1-restarted db listener
    2-Disabled Distributed JVM Cache by changing "LONG_RUNNING_JVM=" from "true" to "false" in the oc4j.properties.
    reference =metalink Doc ID: 761869.1
    plz help me get rid of this error.....
    m nt an xpert .m a newbie.. so if u xplain in plain simple word i'l b grateful....
    thanx thanx thanx in advance ....

    HI
    Sorry for late response ...
    actually i performed the installation of 12R ON MY LAPTOP...
    SORRY for posting it in 11I INSTALLATION issues...
    my problem was solved by this action plan...
    i am writing it here for some future reference ...
    open a new shell and set your apps environment
    then goto following directory -------->>> cd $ADMIN_SCRIPTS_HOME
    stop this service ---->>> adopmnctl.sh stop
    make a check if it is really down--------->>> ps -ef | grep <USER> grep opm (optional)
    delete the following:
    rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/* (optional but it would be better if u perform it)
    rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
    rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
    again start the services ------>>> adopmnctl.sh start
    restart your machine ....
    this solution worked for my pc ...
    note ** solution may differ for different users ....
    thanks a lot helios and hsawwan for ur support .... :)

  • Hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!

    hi im having huge problems trying to install flash for my mac 10.5 imac, iv gone through the internet and tried all of the solutions, everytime i try to install flash it says cant read the download file, or it just wont install, anybody plz help!
    iv unistalled flash, iv checked plug ins it just wont work,

    It would have been a great help to know precisely what Mac you have, so some of the following may not apply:
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version,10.3.183.23 or later, is for Intel Macs only running Tiger or Leopard, as Adobe no longer support the PPC platform. Version 11.4.402.265 or later is for Snow Leopard onwards.
    (If you are running Mavericks: After years of fighting malware and exploits facilitated through Adobe's Flash Player, the company is taking advantage of Apple's new App Sandbox feature to restrict malicious code from running outside of Safari in OS X Mavericks.)
    * Unhelpfully, if you want the last version for PPC (G4 or G5) Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications (including Safari) first before installing. You must also carry out a permission repair after installing anything from Adobe.
    After installing, reboot your Mac and relaunch Safari, then in Safari Preferences/Security enable ‘Allow Plugins’. If you are running 10.6.8 or later:
    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser.
    You can also try these illustrated instructions from C F McBlob to perform a full "clean install", which will resolve the "Blocked Plug-in" message when trying to update via the GUI updater from Adobe.
    Use the FULL installer for 12.0.0.44:  Flash Player 12 (Mac OS X)
    And the instructons are here: Snow Leopard Clean Install.pdf
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, try the following solution which fools the site into thinking that you are running the version 11.5.502.55:)
    Download this http://scriptogr.am/nordkril/post/adobe-flash-11.5-for-powerpc to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.

  • Plz help for upgrading to new OS X Mavericks

    I purchased MacBook Pro in May'11 with Mac OS 10.6.6 installed. Few months back i downloaded DMG file elsewhere for upgrading to10.6.8 and successfully upgraded without loosing any file & other OS i.e. WINDOWS XP. Now i wish to upgrade to new OS X 10.9.2. Plz help me for doing so.

    Thanx for replying, but there is no Apple Store in INDIA, there are  only resellers. I approached the outlet from where i had purchased my  MacBook, but he has refused for update.
    Plz tell me if i can get STANDALONE INSTALLER from "apple.com
    ". I searched for one which updated directly from 10.6.8 (my present OS) to 10.9.2 at "http://support.apple.com/kb/HT1338?viewlocale=en_US", but in vain.
    Please let me link from where i can download installer in a PC working on WINDOWS 7 with gud internet speed.
    Regards,
    Alok

  • Plz help me,i did everything and nothing has worked,im going insane!!!

    Hello people,for months ive tried fixing my i-pod and nothing has worked....i try to restore my ipod maybe that would fix da problem but when i press the program,it says ipod service error,and before that it worked ok,it said preparing and stuff but it never stoped perapring the ipod it just got stuck,and in my itunes i see my ipod,but i cant put no music in it?Therefore i have the 2 colour lights all the time when i try to play it.and also when i try to update my ipod with the program u download from the net it says in the end of the installation:Service could not be deleted.All these problems,could someone plz help me,im turning insane!And i cant refund my ipod because i lost my recite and also the store isnt anymore there(My luck)but plz somebody answer me,thank u

    I believe the green and orange light flashing means that you have no music on your iPod Shuffle (which seems correct as you have performed a restore). That is the way the iPod Shuffle tells you that it is looking for the next song. When the iPod Shuffle is plugged into your computer (XP user myself) the orange light is suppose to flash on and off (both the battery light if charging and the front light). When updating the iPod using the updater, I received the same error you received (iPod service error), but I believe it was because I was trying to update my iPod with the Sept 05 version when the iPod already had the Jan 06 update on it. I also noticed the "preparing" bug that you mentioned, by simply selecting next, the restore continues correctly. Once I restored my iPod to the factory settings AND performed the restore process THREE times using the Sept 05 updater (what came with my iPod Shuffle) I was able to store music AND listen to it once disconnected from my computer. My next task is to update the iPod with the Jan 06 update and try the process again but I believe there is a driver issue with this version and it may not work. If this is the case, I will just stick with the software received with the iPod. For you, I would attempt to reinstall the software from the CD that was provided with you iPod Shuffle, restore your iPod Shuffle to the factory settings and do this restore THREE times, start iTunes, once the iPod Shuffle shows up in the Source listing right click on it and select Update. Make sure songs copy over (the top centre of iTunes will tell you the status of the update) and finally disconnect and try playing music.

  • Plz help me out manjit

    hello seniors,
               while installing ides 4.7 c their is a problem occured
      it is showing tns protocol error plz help me sort thgis problem

    Hi Manjit,
    Your listener is not running so the error.
    Oracle tns listener runs as a service.
    At windows level go to START->RUN->SERVICES.MSC
    You can see the status os oracle tnslistener if not started start it and run the installation.
    Regards
    Ashok

  • Plz help!!! USB driver cannot be detected in XP

    i followed the step to install XP and setup with the Mac driver disc in xp, all the hardware was successfully be detected (blue tooth, display, wireless) but one of the USB driver are not, i don't what is this,plz help!

    cx2ching,
    I'm assuming you are trying Bootcamp. You might want to ask your question in the BootCamp forum:
    http://discussions.apple.com/category.jspa?categoryID=213
    One common problem with driver installations occurs if you aren't using Windows XP SP2, I read several threads where this was a problem with the USB drivers, for one.

  • Firefox wont update to v 3.6.6 plz help me

    just watch this video and u c wat happeans http://www.youtube.com/watch?v=RCtLEfciLDs plz help and plz comment or email me hurry
    == This happened ==
    Every time Firefox opened
    == when the update came out

    See http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the ''updates'' and ''updates\0'' folder:
    XP:
    C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    %USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    C:\Program Files\Mozilla Firefox\updates
    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Plz help error while starting j2ee server

    I 'm working on Win xp professional operating system.
    While starting the j2ee server from command line
    with the command
    j2ee -verbose
    earlier it was working perfectly but from 2 days its not starting even...even i have reinstalled the j2ee software ....i think there is some internal problem which is not related to setting up the enviornment variables and incorrectly typing of command... plz help me as soon as possible.. i wil be thankful ....
    I am getting error message as follows
    C:\Documents and Settings\Sunita Khilnaney>j2ee
    java.io.IOException: The system cannot find the path specified
    at java.io.Win32FileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:690)
    at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(C
    onfigurationImpl.java:92)
    at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationI
    mpl.java:45)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:170)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server listen port: 1050
    java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
    he system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
    534)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.io.FileNotFoundException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (T
    he system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
    at com.sun.enterprise.server.J2EEServer.redirectStreams(J2EEServer.java:
    534)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:209)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    java.lang.RuntimeException: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\system.out (The
    system cannot find the path specified)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:350)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:913)
    J2EE server reported the following error: C:\j2sdkee1.3\logs\compaq\j2ee\j2ee\sy
    stem.out (The system cannot find the path specified)
    Error executing J2EE server ...
    C:\Documents and Settings\Sunita Khilnaney>

    Hello sunita,
    do one thing put yoor j2ee server installation in a folder whose name doesn't contain space.
    As you can see there ia a space btwn Documents & and. btwn Sunita & Khilnaney
    C:\Documents and Settings\Sunita Khilnaney>j2ee
    put it in folder like c:\SunitaKhilnaney>j2ee or c:\Sunita_Khilnaney>j2ee
    I hope it'll solve your pblm.
    Thanks,
    Dinesh

  • Hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste any thing it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste anything it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    There is no download for 10.4.x or 10.5.x, there is a very slim chance you can get 10.5 by calling Apple, but usually you can only get it on eBay & such.
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Classic/OS9 Apps no longer supported.
    May be available from Apple again...
    https://discussions.apple.com/thread/4720126?tstart=0
    Trouble is Apple no longer sells it, check eBay & such for the Retail version, not the Gray Discs...
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+leopard+retail+10.5
    Now, for your Trash problem, see if this helps...
    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • PLZ HELP US IN IMPROVING PERFORMANCE

    Hi ,
    We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
    After solaris 10 installation, our application performance has come down drastically.
    The same application is running fine on solaris 9 ( 5.9 )
    Old configuration
    sun sparc 64 bit
    solaris 9 (no patches applied )     
    oarcle 10.2.0.1 (no patches applied )     
    jboss      3.2.7               
    jdk 1.4     
    New configuration
    sun sparc 64 bit
    solaris 10 (no patches applied )
    oarcle 10.2.0.1 (latest patches applied )
    jboss 4.2.0
    jdk 1.5_12
    we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
    and also we would like to know about any incomapatability between the jboss and jdk we have used.
    Any solution to bring back performance, would be of great help to us.
    thanks a lot in advance.

    user645751 wrote:
    Hi ,
    We recently installed solaris 10 (5.10) on sun sparc 64 bit machine and created oracle DB with 10.2.0.1 release .
    After solaris 10 installation, our application performance has come down drastically.
    The same application is running fine on solaris 9 ( 5.9 )
    Old configuration
    sun sparc 64 bit
    solaris 9 (no patches applied )     
    oarcle 10.2.0.1 (no patches applied )     
    jboss      3.2.7               
    jdk 1.4     
    New configuration
    sun sparc 64 bit
    solaris 10 (no patches applied )
    oarcle 10.2.0.1 (latest patches applied )
    jboss 4.2.0
    jdk 1.5_12
    we would like to know about any known Solaris , Oracle DB patches to address this performance issue.
    and also we would like to know about any incomapatability between the jboss and jdk we have used.
    Any solution to bring back performance, would be of great help to us.You seem to have this issue now for quite a while? See here:
    PLZ HELP ME:::Degradation in performance of ORA-10G in solaris sparc
    Check your AWR reports on the new database if you can spot any notable issues there, if you have the license or install/check STATSPACK reports if you can't use AWR.
    You need to find out where the root cause of your problem is, and it might not be the database.
    In your old thread you had posted the same configuration for both systems, except for the O/S version. Now you seem to have upgraded a lot of the components like JBOSS version or the JDK version.
    oarcle 10.2.0.1 (latest patches applied )Does this mean 10.2.0.4, or what does "latest patches applied" but 10.2.0.1 as version mean?
    Open an SR with Oracle and ask them if they are aware of any generic Solaris 10 issues.
    In your last post you talked about "new stored procedures" so it wasn't clear if you really only changed the O/S or applied any changes to the application/database as well.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

Maybe you are looking for

  • Ipod Nano is Stuck in Shuffle Mode in my Nissan Juke

    I plug my Ipod Nano into the glove box and I am able to use the control on my dash and steering wheel to control my Ipod. The only problem is, I can't go to whatever artist I want. The Ipod will only allow me to listen to the songs in shuffle mode. A

  • Resolve technicak names

    Hello, is it possible to resolve any technical name in a table??

  • Why is there no HBO go on the Uk update for apple tv

    Can someone tell me why, no HBO on the UK update, im a bit gutted to be truthful, if there is a UK version of Apple tv why have we got american football and american this n that, i never watch it nor do others i know who have got a apple tv you shoul

  • Element 9 error "Rolling back the installation of Elements 9" failed.??

    I just bought Elements 9 for Windows. And anytime I try to download it, it says "Rolling back the installation of Elements 9" then says "shared technologies failed"? I have tried multiple things listed on here and nothing helps. Does anyone know how

  • Bios "pcie 3 support" setting is not working?

    Hi All, When I dissable pcie 3 support in bios, it does not seem to turn it off. I just got this mobo (z77 mpower) with a 3770k and I am having issues with my two Gigabyte 670 in sli (they seems to run fine not in sli). These same cards were fine in