I don't know what was wrong with the Weather in my iphone5? I can not open this program!!

Dear All,
I am so wonder with my iPhone about the app. Weather. I tried to open again and again but I can't still open this app.
Pls kindly help to solve this problem and what I should do to process it..!

try resetting the phone by holding the sleep/wake button and the home button until the phone restarts.

Similar Messages

  • In the past I have copied music I purchased from iTunes onto a cd I could play on an older car stereo.  Now I don't know what is wrong with the cd's I create.

    I'm using the latest OS X, 10.8.5, on an iMac , 2.7GHz Intel Core i5.  iTunes 11.6.
    I've tried several formats, AIFF is the format that used to work.
    Perhaps Apple has removed this ability to burn usable music CD's, just as it quietly removed iDVD?

    Hey mathgames!
    There is an article that can help you troubleshoot this issue, and it is linked below:
    Disc Burning Quick Assist
    http://support.apple.com/kb/HT1152
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • I don't know what's wrong with my 3GS. It only shows the black screen with white apple. Turning it on then off doesn't help.

    I don't know what's wrong with my 3GS. It only shows the black screen with white apple. Home button and turning the phone off then on doesn't seem to do anything.

    Thanks Lucas,
    I've tried doing that with no results. Same screen keeps showing. Maybe it'd be more helpful if I told you a bit more info.  My phone was randomly playing music, and the voice control would also suddenly start without me touching the phone.  Then I let the battery die and started to recharge when on the screen it indicated to plug into my computer/iTunes, I tried to restore but was getting an error message (can't remember what it said now). Battery died and now my current issue of the black screen with white apple.  I'd love to be able to restore my phone but now its not showing as a device on my iTunes. HELP! Any other suggestions?

  • I don't know what's wrong with my camara it's all black and the front only works not the back

    I don't know what's wrong with my camara it's all black and the front only works not the back

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • TS1372 does anybody know what is wrong with the ipod when error 1437 is reported during the restore mode?

    does anybody know what is wrong with the ipod when error 1437 is reportedduring the restore cycle?

    Double check the connections on each end to make sure they are nice and snug. If possible, plug the Nano into another existing USB 2.0 port. 
    Also, with the iPod still connected, try resetting it. To do this, press and hold both the Select (Center) and Menu buttons (or the Volume Down and Sleep/Wake buttons on the 6G Nano) long enough for the Apple logo to appear.
    Then try restoring the iPod again.
    B-rock

  • My itunes library is constantly resetting itself. I really don't know what is wrong with it I have ran virus checks and nothing is on my laptop. Anybody got any idea?

    Hi my itunes library is constantly disappearing, I really don't know what is wrong. It keep happening everytime I turn my laptop off, I thought I had solved the problem the other week however it has started back up again. I have a Sony Vaio laptop and have read on the discussions that this can occur but all the solutions I have read haven't seemed to solve it. Anybody else got an idea? I would be really grateful for the help!

    See this post. Seems that AVG is the most likely cause. They are promising a patch tomorrow.
    tt2

  • What was wrong with the servlet?

    I got a similar error(listed below) when I tried to run a jhtml as when
              I tried to run a servlet.
              I enabled the JHTML
              weblogic.httpd.register.*.jhtml=\
              weblogic.servlet.jhtmlc.PageCompileServlet
              weblogic.httpd.initArgs.*.jhtml=\
              pageCheckSeconds=1,\
              keepgenerated=true,\
              compileCommand=c:/jdk1.2/bin/javac.exe,\
              workingDir=C:/weblogic/myserver/servletclasses,\
              verbose=true
              The class file was generated and everything looked fine inside the
              class.
              I even set the working dir to servetclasses but the server still can't
              find it. What was wrong?
              Thanks
              ============== error =================
              Tue Mar 14 13:40:15 PST 2000:<I> <ServletContext-General> *.jhtml:
              Serving reque
              st for PATH_INFO: /test.jhtml
              Tue Mar 14 13:40:15 PST 2000:<E> <ServletContext-General> Error loading
              servlet:
              jhtmlc.test
              java.lang.IllegalAccessError: try to access class
              weblogic/utils/classloaders/Fi
              leSource from class weblogic/servlet/internal/WarClassFinder
              at
              weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
              a, Compiled Code)
              at
              weblogic.servlet.internal.WarClassFinder.getClassSource(WarClassFinde
              r.java:110)
              at
              weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              ClassLoader.java:287)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              cClassLoader.java, Compiled Code)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:102)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
              calClass(RecursiveReloadOnModifyClassLoader.java:109)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              cClassLoader.java, Compiled Code)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:120)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:102)
              at
              weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContext
              Impl.java:1551)
              at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java, Compiled Code)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:130)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:93)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:737)
              at
              weblogic.servlet.jhtmlc.PageCompileServlet.service(PageCompileServlet
              .java:216)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:98)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:737)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:681)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:210)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:354)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:255)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              Compiled Code)
              Tue Mar 14 13:40:16 PST 2000:<E> <ServletContext-General> Servlet failed
              with Se
              rvletException
              javax.servlet.ServletException: Servlet class: jhtmlc.test could not be
              handled
              by the ClassLoader
              at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java, Compiled Code)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:130)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:93)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:737)
              at
              weblogic.servlet.jhtmlc.PageCompileServlet.service(PageCompileServlet
              .java:216)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:98)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:737)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:681)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:210)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:354)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:255)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              Compiled Code)
              

    Sounds like a WL 5 question, try weblogic.beta.denali.servlet
              "Mark Qian" <[email protected]> wrote in message
              news:[email protected]...
              > I got a similar error(listed below) when I tried to run a jhtml as when
              > I tried to run a servlet.
              >
              > I enabled the JHTML
              >
              > weblogic.httpd.register.*.jhtml=\
              > weblogic.servlet.jhtmlc.PageCompileServlet
              > weblogic.httpd.initArgs.*.jhtml=\
              > pageCheckSeconds=1,\
              > keepgenerated=true,\
              > compileCommand=c:/jdk1.2/bin/javac.exe,\
              > workingDir=C:/weblogic/myserver/servletclasses,\
              > verbose=true
              >
              > The class file was generated and everything looked fine inside the
              > class.
              > I even set the working dir to servetclasses but the server still can't
              > find it. What was wrong?
              >
              > Thanks
              >
              > ============== error =================
              >
              > Tue Mar 14 13:40:15 PST 2000:<I> <ServletContext-General> *.jhtml:
              > Serving reque
              > st for PATH_INFO: /test.jhtml
              > Tue Mar 14 13:40:15 PST 2000:<E> <ServletContext-General> Error loading
              > servlet:
              > jhtmlc.test
              > java.lang.IllegalAccessError: try to access class
              > weblogic/utils/classloaders/Fi
              > leSource from class weblogic/servlet/internal/WarClassFinder
              > at
              > weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
              > a, Compiled Code)
              > at
              > weblogic.servlet.internal.WarClassFinder.getClassSource(WarClassFinde
              > r.java:110)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              > ClassLoader.java:287)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              > cClassLoader.java, Compiled Code)
              > at
              > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              > loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > Loader.java:102)
              > at
              > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
              > calClass(RecursiveReloadOnModifyClassLoader.java:109)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              > cClassLoader.java, Compiled Code)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > Loader.java:120)
              > at
              > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > Loader.java:102)
              > at
              > weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContext
              > Impl.java:1551)
              > at
              > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              > mpl.java, Compiled Code)
              > at
              > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > java:130)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:93)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:737)
              > at
              > weblogic.servlet.jhtmlc.PageCompileServlet.service(PageCompileServlet
              > .java:216)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:98)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:737)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:681)
              > at
              > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > ContextManager.java:210)
              > at
              > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > a:354)
              > at
              > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:255)
              >
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              > Compiled Code)
              >
              > Tue Mar 14 13:40:16 PST 2000:<E> <ServletContext-General> Servlet failed
              > with Se
              > rvletException
              > javax.servlet.ServletException: Servlet class: jhtmlc.test could not be
              > handled
              > by the ClassLoader
              > at
              > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              > mpl.java, Compiled Code)
              > at
              > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > java:130)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:93)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:737)
              > at
              > weblogic.servlet.jhtmlc.PageCompileServlet.service(PageCompileServlet
              > .java:216)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              > at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:98)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:737)
              > at
              > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:681)
              > at
              > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > ContextManager.java:210)
              > at
              > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > a:354)
              > at
              > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:255)
              >
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
              > Compiled Code)
              >
              >
              >
              >
              

  • TS1440 Clicking sounds. No entry on start up. Slow. Error code 36. Finally question mark folder. I don't understand what's wrong with the thing I barely use it. Can you help?

    Iv been having multiple issues with my mac. This comes as a surprise as I rarely use it.
    Symptoms-
    Clicking noises
    Slow
    Unresponsive
    (Error code 36)
    Question mark folder
    I used single user mode to try and repair the disk through utilities but the option wasn't available. I then verified the disk and it came up with few error messages
    -invalid leaf record count
    -invalid directory item
    -found corrupt and needs to be repaired
    Unfortunately I don't have an instillation disk, I didn't get one when I bought the computer. I don't know what else to do.

    If the Mac is running v10.7 Lion or v10.8 Mountain Lion ..
    Startup your Mac while holding down the Command + R keys so you can access the built in utilities in OS X Recovery
    From there you can repair the startup disk.

  • I'm so confused I don't know what is wrong with my router

    I am clueless when it comes to this so any advice, please pretend like you're talking to a kindergartner. I have this WRT54GS router plus 3 computers. Two are desktops and they have a wireless adapter on them (also Linksys brand). One is a laptop with a built in wireless card. The main desktop is a dell, the other desktop is an emachines, and the laptop is a dell. All 3 are running winxp sp2. I got it all set up and all 3 seemed to be working fine and connected, both to one another and to the internet. Then I had to download a few windows updates on both the 2nd desktop and the laptop (first time going online for them) and when they rebooted they cannot link to the wireless connection. I tried all kinds of things. So I get on my main computer and neither of the other two are showing up. So I try fixing it and at one point it says to connect the computer to the router again (with the wire). So I do, and go through all the steps it tells me to go through, and now when I look at the available networks it says "wireless connection 2" instead of just wireless connection. And the other two still will not connect to the network. How do I get it back to how it was before-you know, when it was working. I am ready to uninstall everything and start all over but I can't really do that every day.

    thanks for the reply! I think I got it working so far. I ended up calling and I could barely understand the guy I got but we got it done and he was really very nice and patient with me. I had some settings wrong. On my laptop I had to redo the windows zero configuration thing every time I started it but it looks like that's a common issue. I tried disabling the dell software managing my wireless so hopefully that will work today. So far *crossing fingers* the other two are working normally still. I left my main computer hooked up to the router though. I know it said I could disconnect it but that's where I started running into problems so I just left it connected. Hopefully that's ok. It's a desktop and isn't going anywhere so it's not a problem having it hooked up.

  • I don't know what's wrong with my code. it's about class and object.

    * This is generic type of Person
    package myManagement;
    * @author roadorange
    public class Person {
    private String SS;
    private String firstName;
    private String lastName;
    private String middleName;
    private String phoneNumber;
    private String address;
    private String birthDay;
    public void setSS (String SS) {
    this.SS = SS;
    public String getSS() {
    return SS;
    public void setFirstName (String firstName) {
    this.firstName = firstName;
    public String getFirstName() {
    return firstName;
    public void setLastName (String lastName) {
    this.lastName = lastName;
    public String getLastName() {
    return firstName;
    public void setMiddleName (String middleName) {
    this.middleName = middleName;
    public String getMiddleName() {
    return middleName;
    public void setPhoneNumber (String phoneNumber) {
    this.phoneNumber = phoneNumber;
    public String getPhoneNumber() {
    return phoneNumber;
    public void setAddress (String address) {
    this.address = address;
    public String getAddress() {
    return address;
    public void setBirthDay (String birthDay) {
    this.birthDay = birthDay;
    public String getBirthDay() {
    return birthDay;
    public void Person() {
    SS = "1234567890";
    this.firstName = "abc"; //test the keyword "this"
    this.lastName = "xyz";
    middleName = "na";
    phoneNumber = "123456789";
    address = "11-11 22st dreamcity ny 11111";
    birthDay = "11-11-1980";
    public void print() {
    System.out.println("Display Database\n"
    + "Social Security Number: *********" + "\n"
    + "First Name: " + getFirstName() + "\n"
    + "Middle Name: " + getMiddleName() + "\n"
    + "Last Name: " + getLastName() + "\n"
    + "Phone Number: " + getPhoneNumber() + "\n"
    + "Address: " + getAddress() + "\n"
    + "getBirthDay: " + getBirthDay() );
    package myManagement;
    //this class is used to test other class or test other object
    public class testClass extends Person{
    public static void main(String[] args) {
    Person obj1 = new Person();
    obj1.print();
    System.out.println(obj1.getFirstName()); //test the object
    Result:
    Display Database
    Social Security Number: *********
    First Name: null
    Middle Name: null
    Last Name: null
    Phone Number: null
    Address: null
    getBirthDay: null
    null
    i don't know why it's all null. i assign something in the default constructor. it shouldn't be "null".
    does anyone know why?

    when you create 2 class using netbean editor, person.java and test.java
    i never compile person.java.
    when i finish typing these 2 class and i just right click test.java and run.
    my question is do i need to compile person.java before i run test.java directly??
    does Netbean compile it automatically when i run test.java first time?
    i add another constructor Person constuctor with one parameter in Person.java and create 2nd object to test the 2nd constuctor and run.
    All the codes work, so does the first default constructor. i don't why is that.
    Then i removed what i added and restore back to where it didn't work before and test again. it works.
    @_@. so weird.
    problem solved. thank you
    Edited by: roadorange on Feb 25, 2008 7:43 PM

  • TS2756 I don't know what's wrong with my iphone but I can't join hotspot.. Any idea??

    Please help me :(

    You can try resetting your iPhone by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.
    If still a problem, try deleting the hotspot (select the ⓘ, then tap Forget this Network) and adding it again.

  • I don't know what's wrong with iPad

    My ipad is going crazy. It's been typing on it's own, zooming and opening pages. Battery drains when I try to charge. I see many people have this same problem. Can't use ipad at all.
    Please help

    Take it to a Apple Store genius bar and if they find a hardware issue that is not fixable they will exchange for an out of warranty unit identical model
    for
    Out-of-Warranty Service
    If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below.
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad, iPad 2,
    iPad mini Retina
    $249
    iPad 3rd, 4th generation,
    iPad Air
    $299
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service.
    Apple reserves the right to determine whether or not your iPad is eligible for Out-of-Warranty service. Replacement iPads have a 90-day limited hardware warranty or assume the remainder of your standard warranty or AppleCare product coverage, whichever is longer. Please see theAppleCare+ for iPad and Apple Repair Terms And Conditions for further details.

  • I don't know what's wrong with my Mac but I can't watch Youtube videos. I can watch on other device though. Can someone tell me why the videos are not working? Thank You ^_^

    The Youtube videos is loading slowly on my mac but it loads normally on other device. It always buzzing every single second.

    One of the following steps should help.
    1. Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        Quit Safari.
        Restart computer. Relaunch Safari.
    2.  Enable Plug-ins
        Safari > Preferences > Security
        Web Content:  > "Enable Plug-ins".
           or
        Internet Plug-ins >  "Allow all other plug-ins
    3. Check  whether you are currently  in  YouTube HTML 5 trial.
         http://www.youtube.com/html5
        At the bottom  left of the page  uncheck the box for
       "You are currently in the HTML5 trial".
    4. Reset Safari.
        Click Safari in the menu bar.
        From the drop down select "Reset Safari".
        Uncheck the boxes next to all items.
        Check the box next to "Remove all website data".
        Click "Reset".
    5. Turn off Extensions if any.
        Safari > Preferences > Extensions
    Best.

  • Help!!!  don't know what's wrong with it

    I want to code a very simple chat program that whatever the client type, it will display in the server. Also, type in server will display in client. But code it but it doesn't work well. Below is the application I code, please help me to solve it. Thank you.
    import java.net.*;
    import java.io.*;
    public class ChatServer
         public static final int PORT = 8080;
         public static void main(String[] args) throws IOException
              ServerSocket s = new ServerSocket(PORT);
              System.out.println("Started: " + s);
              try
                   Socket socket = s.accept();
                   try
                        System.out.println("Connection accepted: " + socket);
                        BufferedReader in = new BufferedReader(
                                  new InputStreamReader(socket.getInputStream()));
                        PrintWriter out = new PrintWriter(
                                  new BufferedWriter(new OutputStreamWriter(
                                  socket.getOutputStream())), true);
                        DataInputStream stdIn = new DataInputStream(System.in);
                        String serverInput, clientInput;
                        while(true)
                             if ((serverInput = stdIn.readLine()) != null)
                                  out.println(serverInput);
                             if ((clientInput = in.readLine()) != null)
                                  System.out.println("Client: " + clientInput);
                                  out.println(clientInput);
                             if ((serverInput = stdIn.readLine()) == "end")
                                  break;
                   finally
                        System.out.println("closing......");
                        socket.close();
              finally
                   s.close();
    import java.net.*;
    import java.io.*;
    public class ChatClient
         public static void main(String[] args) throws IOException
              InetAddress addr = InetAddress.getByName(null);
              System.out.println("addr = " + addr);
              Socket socket = new Socket(addr, ChatServer.PORT);
              try
                   System.out.println("socket = " + socket);
                   BufferedReader in = new BufferedReader(
                             new InputStreamReader(socket.getInputStream()));
                   PrintWriter out = new PrintWriter(new BufferedWriter(
                             new OutputStreamWriter(socket.getOutputStream())), true);
                   DataInputStream stdIn = new DataInputStream(System.in);
                   String clientInput, serverInput;
                   while (true)
                        if ((clientInput = stdIn.readLine()) != null)
                             out.println(clientInput);
                        if ((serverInput = in.readLine()) != null)
                             System.out.println("Server: " + serverInput);
                             out.println(serverInput);
                        if (clientInput.equals("end"))
                             break;
              finally
                   System.out.println("closing..........");
                   socket.close();
    }

    Hi,
    Try my code... I make use of threads.
    // server.java
    import java.net.*;
    import java.io.*;
    public class server {
         PrintWriter pr;
         BufferedReader br;
         public server(int port) throws Exception {
              System.out.println("Type the following line on the client's side:\njava client " + InetAddress.getLocalHost().getHostAddress());
              try {
              ServerSocket ss = new ServerSocket(port);
              Socket s = ss.accept();
              System.out.println("Connection opened...");
              System.out.println("Type \"END\" to close the connection...");
              pr = new PrintWriter(new OutputStreamWriter(s.getOutputStream()), true);
              br = new BufferedReader(new InputStreamReader(s.getInputStream()));
              new writeThread().start();
              new readThread().start();
              } catch (IOException ioe) {
                   debug(ioe.toString());
         public static void main(String[] args) throws Exception {
              server s = new server(1688);
         static void debug(String s) {
              System.out.println(s);
         class writeThread extends Thread {
              public void run() {
                   String l;
                   while (true) {
                        try {
                             l = new BufferedReader(new InputStreamReader(System.in)).readLine();
                             if (l.equalsIgnoreCase("END")) {
                                  pr.println("END");
                                  System.exit(0);
                             } else {
                                  pr.println(l);
                        } catch (IOException e) {}
         class readThread extends Thread {
              public void run() {
                   String l;
                   while (true) {
                        try {
                             l = br.readLine();
                             if (l.equalsIgnoreCase("END")) {
                                  System.exit(0);
                             } else {
                                  System.out.println("Client: " + l);
                        } catch (IOException e) {}
    // client.java
    import java.net.*;
    import java.io.*;
    class client {
         PrintWriter pr;
         BufferedReader br;
         public client(String host, int port) {
              try {
              Socket s = new Socket(InetAddress.getByName(host), port);
              System.out.println("Connection opened...");
              System.out.println("Type \"END\" to close the connection...");
              pr = new PrintWriter(new OutputStreamWriter(s.getOutputStream()), true);
              br = new BufferedReader(new InputStreamReader(s.getInputStream()));
              new readThread().start();
              new writeThread().start();
              } catch (IOException ioe) {
                   debug(ioe.toString());
         public static void main(String[] args) {
              client c = new client(args[0], 1688);
         static void debug(String s) {
              System.out.println(s);
         class writeThread extends Thread {
              public void run() {
                   String l;
                   while (true) {
                        try {
                             l = new BufferedReader(new InputStreamReader(System.in)).readLine();
                             if (l.equalsIgnoreCase("END")) {
                                  pr.println("END");
                                  System.exit(0);
                             } else {
                                  pr.println(l);
                        } catch (IOException e) {}
         class readThread extends Thread {
              public void run() {
                   String l;
                   while (true) {
                        try {
                             l = br.readLine();
                             if (l.equalsIgnoreCase("END")) {
                                  System.exit(0);
                             } else {
                                  System.out.println("Server: " + l);
                        } catch (IOException e) {}

  • Don't know what to do with the D-Bracket?

    Put it where eveybody can see it!
    Send me your thoughts...

    Here's something you may want to try with Speedfan. You can go into the configuration page and rename the temps and fans. Just highlight the one you want to change and hit the F2 key. Looks like this below. As you can see by the pics the Rcase label is my rear case fan which I have plugged into the NB chipset header since I use a passive heatsink on the NB chipset.

Maybe you are looking for

  • Class not found error when jar in war file

    I am using Java Creator 2 and have a project. The required libraries have been added to the library manager and the "package" checkbox has been checked. This means they will be added to the deployment. After deployment, I check the war file and it co

  • Does FCP X check for Duplicate Imports?

    When importing video from iPhone 5 does FCP check to see if the video has already been imported?

  • HTTP.RESPONSE in synch BPM

    Hello, I want to receive a XML message from a HTTP sender synchron into a BPM. In the BPM I have to to several steps, one is a mapping step and another is an asynchronus SEND of an IDOC to an R/3. I have setup this BPM and everything works ok. The BP

  • HAP_DOCUMENT Migration

    Hi, I was wondering whether or not there are any BAPIs for migrating HAP_DOCUMENT data from one system to another? Is there any best way to migration live HAP_DOCUMENT data between system? Are there any "DON'Ts" that I should consider? Thanks. /Elvez

  • What does the Smugmug "Sync Photos" checkbox do, exactly?

    LR 4 help has no listing for Publich to Smugmug. I have a lot of photos in LR and on Smugmug, but not all of them have been placed in my smugmug galleries via LR. I cant' afford to have unanticipated results in my clients smugmug galleries if I run t