Problem with Installers

I have a few problems. A few of my apps do not start at launch, and some of my system preferences won't display. I also am having trouble installing .dmg files but not .bin files. All installers seem to work fine but I can't get passed the screen that says "I accept" and I can't get to the "select destination" part of the installers.
Even my Software updater won't search for new updates. I know there's a new combo update intel 10.4.11, but I can't even install that when I download the standalone update.
Also if this helps, I installed Safari beta 3, and uninstalled it after some of my apps started not to launch. Since then it seems my system is only half working. apps that won't really work include video apps like vlc player and quicktime won't play properly also my chat client adium to name a few.
(ive also re-installed these softwares more than once)
I've rebooted to my install disk, used the disk utility, tried to install the combo update...still no luck.
Is there a way to fix this problem? should I post crash logs for my vlc?
I've researched a bit about safari beta 3 but nothing exactly like what is going on with me (from most of what I've read, it disturbes itunes) but my itunes is fine.
Can anyone help?

In your Creative Cloud desktop app, go to "apps" area and in the "Find New Apps" section, pull down the "filter" (top red arrow below) and select "previous versions", then on which ever product, select which version to install by selecting the "Install" drop down (second red arrow).

Similar Messages

  • Problem with Java and Windows (Mainly Vista and UAC)

    Hi all,
    I am having a problem with a program that I've devoloped. The program itself is packaged as a jar and I plan to deploy it across multiple platforms eventually however right now i am only concerned about windows based systems. I have made an installer for a windows baised systems using NSIS to install the software files. I made the installer as I need several java packages to be installed so the program would work (JAI, J3D, JAI ImageIO) and I also require the program to have fileassociations on windows.
    I know that this is not what java is about, however the majority of the users will be on windows baised systems so I've decided that OS specific installers is the best option.
    During the process I have noticed that there are several key problem with java for this type of application!
    The first issue that I have come across is getting file associations to work on java. As a .jar is not an excutable it is not possible to directly associate a filetype with it in java so to overcome this I currently run the program from a .bat files and also the program requires large memory so this also allows me to run the program with -xmx. The batch file that I use is :
    <code>
    cd PATH TO PROGRAM
    start javaw -Dsun.java2d.noddraw=true -Xmn100M -Xms500M -Xmx1000M -jar "PATH TO PROGRAM\program.jar" %1 -vram 134217728
    pause;
    </code>
    Ok so all this appears to work fine and allows windows to have file associations and start the program and thats all works perfectly but this is a non-ideal solution. Has anyone got any advice on improving this?
    The next problem that I have appears to be a problem with Vista and UAC (user access control). When a user installs the program and installs the program into the program files directory I found that the program did not work and kept saying that I did not have access to the files in the current directory. This is a problem as I read and write settings files during program execution.
    On a Vista system UAC prevents file write operations into the Program Files directory unless the program has requested elevated status even if the user is a full administrator. The probem is that there appears to be no real way to achieve this under java that I'm aware of...
    Has anyone else had this probem and has a suitable solution?
    Any advice on these issues would realy be appricated.
    Regards
    Joey

    Ok so i've kinda found a solution, its not ideal but its very good. I found this program called Elevate
    A link to the site I got it was
    http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/03/27/elevate-a-process-at-the-command-line-in-vista.aspx
    This program allows you start java with a UAC dialog for high access using
    Elevate java -jar myjar.jar
    This then allows you to have full access using java... I guess it could be dangerous but it does the job.

  • Flash player 11.0.1.152 installation problem with Windows Vista 64-Bit

    Hello,
    I just can't get Flash Player to install on my computer with Windows Vista 64-Bit - doesnt matter if I try with Firefox, Opera or IE (I usually use Firefox).
    The download isn't a problem, but when I start the downloaded .exe, this file just disappears from my download folder and nothing happens - besides starting a process called install_flashplayer11x32_mssd_aih_3.exe, which does nothing. The usual installation popup never appears. After that I can't try starting the installation again, until disabling the process via task manager ("Only a single instance of this application may run"). Doesn't matter if I try the download and installation with or without "McAffe Security Plus" btw - same result.
    I never had such a problem before - Flash Player 10.3 was and is no problem to install and use.
    I have tried all the measures suggested in the troubleshooting section on the official site, including the advanced troubleshooting measures (uninstall old version, run as administrator, disabling software firewalls, disabling virus scanner etc.). Nothing helps.
    I don't got those problems with my laptop running Windows 7 - just my desktop computer with Vista 64-Bit.
    Any help would be greatly appreciated.

    Try using the installers from the links in http://forums.adobe.com/thread/909550
    P.S. topic moved to the Installation section of the forum.

  • Problems with a newly purchased Refurbishe​d Lenovo Yoga 2

    Respected Sir/Madam,
    I have purchased a refurbished Lenovo yoga 2 laptop on Friday April 11th and received it on April 18.My Order number is 4288728376.
    I have the following problems with my laptop.
    1) My laptop is with 128 Gb ssd. It is partitioned in to two drives
    'C' drive : with 93 Gb and 'D' drive (Lenovo drive) with 4 Gb which is an empty drive.
    of the 128 Gb hard disk if I remove the bit/byte conversion I should have 120 Gb of hard disk space but all I got is 93 + 4 which is 97 out of 120 Gb(23 Gb lost)
    I do not know where that 23 Gb is gone.
    Coming to the C drive I have only 65 Gb of free space(of the total 93 Gb available) in the 'C' drive and I have not copied a single file or installed a single program in it.
    So 28 Gb is already filled up by Operating system which is totally weird because windows 8 takes a maximum of 15 Gb so another 13 Gb is lost here. Adding it to the previous 23 Gigs I lost a total of 36 Gb
    Coming to the D drive. It is named as Lenovo drive. Earlier I thought it was a recovery disk but it is only a 4Gb disk and which is completely empty
    which means I only have access to 65 Gb of entire 128 Gb disk which is only 50% of entire disk.
    2) Coming to the battery of the disk. I'm not even getting the battery charge for 3 continuous hours. I'm using 40% of screen brightness and not even playing media. But still I'm getting very low battery backup.
    At 17% battery the battery charge suddenly drops to 7% which should not happen with a good battery. It is said that Yoga 2 battery will work for 6 hours but I'm not able to get at least 3 hours of battery charge.
      I'm extremely dissatisfied with my hard disk and battery. I have talked to Lenovo customer care regarding the same issue and they told that I have to contact post sales team for it.
    After contacting the post sales team I came to know that I can return the laptop at a fee of 15% of the laptop's cost which is totally unfair because it is in no way my mistake. I did not get what I ordered for and still I have to pay for not getting a good laptop which is not at all fair. This really pissed me off.
    Please consider my situation and provide me a solution to my problem

    I'm not Lenovo support, but I'll chime in to offer my $.02
    1) The D:\ partition should contain drivers and installers for some bundled apps. The other partitions are for recovery, and I believe 13GB is dedicated for the main recovery partition. You can delete those extra partitions and then resize them using diskpart. You could also perform a clean Win 8 install and zap all of the partitions during setup.
    2) In regards to the battery, open the Lenove Energy Management utility and change it to Maximum battery life.

  • I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.

    I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.  The site was designed around FP 10 and the link they have to download FP 10 nowalso directs to FP 13.  I followed the "How to revert to FP 11.7 (Chris Campbell Oct 2013)  along with the uninstall instructions link and now have both zip FP 10.3 and zip 11.7 in my downloads.  I attempted to run FP 11.7, the "winax" file for IE after unzipping it but I am blocked bya window that says I cannot do this and must install FP 13.  The only choice in this window, other than downloading is QUIT.  What is the best approach now.  The website is Auckland Council and the window concerned is "GIS Viewer".   neither Chrome or IE will open it.

    Hi 34wiki,
    There is only one uninstaller for Windows that will uninstall both 32- and 64-bit versions of the Flash Player. At one point there were two separate installers (one for 32-bit OS and another for 64-bit OS), but that has not been the case for a long time. Based on the error, it's possible you may using an older version of the uninstaller (to find out the version of the uninstaller, right-click on the file, select properties, then the 'details' tab).  The latest version is always posted to this link, and will work on both 32- and 64-bit operating systems.  If you get the same error using this uninstaller, please post the contents at the end of the FlashInstall.log file, that show the uninstall attempt.  Since you have a 64-bit OS, there will be two files at the following locations:
    32-bit: C:\Windows\System32\Macromed\Flash
    64-bit: C:\Windows\SysWOW64\Macromed\Flash
    Maria

  • Problem with third party installer asking for restart

    Hello,
    I have a problem with software installers (not from AppStore) asking for restart (soundflower, M-Audio soundcard driver…). Gatekeeper is disabled, all is working perfectly but at the end I have a "l'installation a échoué" (installation failed) with a yellow triangle. I try to make a safe boot, make a new admin account, repair permissions… But no way!
    It appends only with software installer asking for restart. Any idea?
    Thank you

    Yosemite and third party SSDs not friends.  Do an Internet search for details.
    I recommend that you consider reverting back to Mavericks or earlier if you wish to use your SSD.
    Ciao.

  • Could not complete the ... command because of a problem with the filter module interface

    I just reinstalled Photoshop CS6. I'm running OS X 10.8.2 .
    I use the Nik plugins suite, and reinstalled them as well. Now whenever I try to use one of those plugins I get the error "Could not complete the ... command because of a problem with the filter module interface."
    The reinstallation was a bit of a struggle due to issues on Adobe's end, and I am hesitatnt to just dive in and reinstall without wome idea as to what might cause these errors.
    Any insight appreciated.
    Stu

    Not sure I know what you mean by "disabling the Nik filter folder".
    I have the latest updates for the Nik filters and they are compatible with CS6.
    Since yesterday I tried uninstalling the Nik filters, manually locating and removing every file related to Nik/Nik Software, redownloading the Nik installers, uninstalling/reinstalling Photoshop, and reinstalling the Nik filters. Same result.
    I am pretty sure this is something on the Photoshop end, but am not sure what to do next. Maybe repeat the above and use the Creative Suite cleaner before reinstalling?
    Stu

  • Problem with viewing the tv series "Gurren Lagann" in itunes.

    When I go to the itunes store and search gurren lagann the page loads fine but when I try to view the complete series itunes stops working. This problem happens with different accounts and on different computers.
    the itunes verson that is currently on my inspiron computer is 9.0.3.15
    is this a problem with itunes or is it a problem with my computers/accounts?

    Fault Module Name: WebKit.dll
    Fault Module Version: 5.31.21.8
    That's the rendering engine iTunes uses to display the Store contents.
    There's a newer version of webkit.dll in the most recent version of Apple Application Support (version 1.4.1 as I write this post). To update your Apple Application Support, the most straightforward procedure would be updating to iTunes 10.1.1.4 ... but if you're not keen on that, we could do it by updating your QuickTime to version 7.6.9 (there's a version 1.4.1 for Apple Application Support in the QuickTime 7.6.9 installer).
    If you want to go the QuickTime-update route, here's a link to the download page for QuickTime installers. (Get the installer that doesn't mention QuickTime ... the installer file should be called "QuickTimeInstaller.exe" rather than "iTunesSetup.exe" or "iTunes64Setup.exe".)
    http://www.apple.com/quicktime/download/
    ... does your iTunes behave better with the newer version of webkit.dll in place?

  • Weird install problem with OS X, please help!

    I've been upgrading a friend powerbook firewire 400Mhz G3, we installed 1GB of memory and put in an 80GB HD. I partioned so that OSX can be on the first 8GB, put 9.1 on the second parition of 7GB, upgraded the firmware, and i think i have tried just about everything i could find here on the discussion board.
    I have several versions of X including the first version, panther (retail), and tiger (borrowed, on DVD). tiger and the original version get as far as installing, then go into kernal panic (you must restart right now.....etc). 10.2 just gts to the apple screen then a white jagged bar pops up.
    i'm at a loss. i really don't know what i try to make this better, any help is greatly appriciated!!!!
    oh, and the memory seemed fine when her original 6GB drive was in there, which had tiger installed.
    j

    jhw1,
    I will just run by you some potential causes for your problem and hope that one hits the target.
    - I will ask, out of curiosity, why you are making an 8GB partition for OSX? This limitation applies only to the older Wallstreet powerbook. There is no need to partition the HD unless you have a specific reason.
    - Since the HD is new, and you still want to run Classic and also boot 9.x, make sure you install the MacOS 9 HD driver, an option in OSX's Disk Utility when erasing an HD, or go ahead and install OS 9.x first...this will automatically install the OS9 HD driver. If you install OSX first on a clean HD without installing the OS9 HD driver, MacOS 9 will run fine in Classic under 10.x but 9.x will no longer boot.
    http://docs.info.apple.com/article.html?artnum=107285
    - The Pismo has a history of failing DVD-ROM drives and usually the CD-side starts acting up first. If you have access to another Pismo or Lombard, swap drives and try the install. If you have access to a FireWire CD-RW, you can also boot OSX CDs using it.
    - Reset the PRAM if you have not done so.
    - You may have dirty or bad CDs; carefully clean or try others.
    - You mentioned the 'book ran fine with 1GB of RAM and running Tiger on a 6GB HD, but probably the 1GB was installed after Tiger was on the HD. There is the remote possibility that the RAM is problematic when running the installers. A Wallstreet, for example, often has problems installing with 512MB, but if one 256MB module is removed, the install goes fine, then the RAM is reinstalled.
    If this were my 'book, I would try this:
    1. Disconnect all peripherals and reset the PRAM.
    2. Boot to the 9.x CD > use Drive Setup to repartition the HD (if you wish) > install 9.x to make sure the HD, RAM, etc, are good-to-go.
    3. Boot to your OSX CD and see how the install proceeds. If it fails, it may be a problem with the optical drive and/or CDs. Try the options I mentioned earlier.
    4. If you wish, remove the top memory module and try the install again. If successful, reinstall the module.
    5. If there is no workaround for the optical drive, you might try installing via FireWire Target Disk Mode. The 'target' will be the Pismo's HD on the desktop of the 'host' computer and you will boot the host computer to the OSX CD and select the Pismo's HD as the destination.
    http://docs.info.apple.com/article.html?artnum=58583

  • Installing PSE12 encounters problem with Shared Technologies

    Can you help me
    I can't install PSE12 on my computer (Windows 7) : installing stops with a message about a problem with installing Shared Technologies
    I don't know what is Shared Technologies. Is it downloaded with PSE 12?
    Thanks

    Hi,
    Could you please share the logs from the location(s) mentioned below:
    %temp%\PREInstall.log, PRE11.log,
    PDApp.log,
    amt.log,
    C:\Program Files\Common Files\Adobe\Installers\<*PRE11*>.log.gz
    I'd be able to comment & suggest better once I have the logs but meanwhile, you might like to upgrade the Adobe Application Manager from the following location just to rule out any incompatibilities or upgrade failures of AAM:
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4773
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4774
    Thanks.

  • Big problem with Flash Player - please read.

    So i just got a new computer, and everything's fine. I get Avast, Spyware Terminator, and start going back to my usual.
    I then go play a game, and it says I need a plugin, of course, Flash Player.
    I click the button and go to install it: In the end, Spyware terminator blocks the downloading process with a warning message: A trojan was discovered in the download process. So everyone, if you have any problems with flash player, lowering your defenses and so on has a high chance of increasing the problem. Avoid downloading it (for now) and try to find an earlier version.
    Thank you for reading this,
    Someone_Who_Helped

    Only download installers from the original developers website, in this case adobe.com or macromedia.com
    If you need any help, please post more information (http://forums.adobe.com/thread/657743).

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

  • Problem with threads running javaw

    Hi,
    Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
    troy.

    troy,
    Try and post a minimum code sample of your app which
    does not work.
    When using javaw, make sure you redirect the standard
    error and standard output streams to file.
    Graeme.Hi Graeme,
    I dont understand what you mean by redirection to file? some of my code below.
    The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
    public class Server{
    ServerSocket aServerSocket;
    Socket dianosticsSocket;
    Socket nPortExpress;
    ClientListener aClientListener;
    LinkedList queue = new LinkedList();
    int port = 0;
    int clientPort = 0;
    String clientName = null;
    boolean serverAlive = true;
    * Server constructor generates a server
    * Socket and then starts a client threads.
    * @param aPort      socket port of local machine.
    public Server(int aPort, String aClientName, int aClientPort){
    port = aPort;
    clientName = aClientName;
    clientPort = aClientPort;
    try{
    // create a new thread
    aServerSocket = new ServerSocket(port) ;
    // connect to the nPortExpress
    aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
    // aClientListener.setDaemon(true);
    aClientListener.start();
    // start a dianostic port
    DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
    // System.out.println("Server is running on port " + port + "...");
    // System.out.println("Connect to nPort");
    catch(Exception e)
    // System.out.println("ERROR: Server port " + port + " not available");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
    serverAlive = false;
    System.exit(1);
    while(serverAlive&&aClientListener.hostSocket.isConnected()){
    try{
    // connect the client
    Socket aClient = aServerSocket.accept();
    //System.out.println("open client connection");
    //System.out.println("client local: "+ aClient.getLocalAddress().toString());
    // System.out.println("client localport: "+ aClient.getLocalPort());
    // System.out.println("client : "+ aClient.getInetAddress().toString());
    // System.out.println("client port: "+ aClient.getLocalPort());
    // make a new client thread
    ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
    // start thread
    clientThread.start();
    catch(Exception e)
    //System.out.println("ERROR: Client connection failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
    }// end while
    } // end constructor Server
    void serverExit(){
         JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
         System.exit(1);
    }// end class Server
    *** connect to another server
    public class ClientListener extends Thread{
    InetAddress hostName;
    int hostPort;
    Socket hostSocket;
    BufferedReader in;
    PrintWriter out;
    boolean loggedIn;
    LinkedList queue;      // reference to Server queue
    Server serverRef; // reference to main server
    * ClientListener connects to the host server.
    * @param aHostName is the name of the host eg server name or IP address.
    * @param aHostPort is a port number of the host.
    * @param aLoginName is the users login name.
    public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer)      // reference to Server queue)
    hostName = aHostName;
    hostPort = aHostPort;
    queue = aQueue;
    serverRef = aServer;      
    // connect to the server
    try{
    hostSocket = new Socket(hostName, hostPort);
    catch(IOException e){
    //System.out.println("ERROR: Connection Host Failed");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);     
    System.exit(0);
    } // end constructor ClientListener
    ** multi client connection server
    ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
    queue = aQueue;
    addToQueue(this);
    client = aSocket;
    clientRef = aClientListener;
    aDiagnostic = diagnostics;
    } // end constructor ClientWorker
    * run method is the main loop of the server program
    * in change of handle new client connection as well
    * as handle all messages and errors.
    public void run(){
    boolean alive = true;
    String aSubString = "";
    in = null;
    out = null;
    loginName = "";
    loggedIn = false;
    while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
    try{
    in = new BufferedReader(new InputStreamReader(client.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
    if(aDiagnostic){
    out.println("WELCOME to diagnostics");
    broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    out.println("WELCOME to Troy's Server");
    broadCastDia("Connect : client "+client.getInetAddress().toString());
         out.flush();
    String line;
    while(((line = in.readLine())!= null)){
    StringTokenizer aStringToken = new StringTokenizer(line, " ");
    if(!aDiagnostic){
    broadCastDia(line);
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    else{
    if(line.equals("GETIPS"))
    getIPs();
    else{
    clientRef.sendMessage(line); // send mesage out to netExpress
    out.println(line);
    out.flush();
    } // end while
    catch(Exception e){
    // System.out.println("ERROR:Client Connection reset");
                             JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);     
    try{
    if(aDiagnostic){
    broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
    out.flush();
    else {       
    broadCastDia("Disconnect : client "+client.getInetAddress().toString());
         out.flush();
    // close the buffers and connection;
    in.close();
    out.close();
    client.close();
    // System.out.println("out");
    // remove from list
    removeThreadQueue(this);
    alive = false;
    catch(Exception e){
    // System.out.println("ERROR: Client Connection reset failure");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);     
    }// end while
    } // end method run
    * method run - Generates io stream for communicating with the server and
    * starts the client gui. Run also parses the input commands from the server.
    public void run(){
    boolean alive = true;
    try{
    // begin to life the gui
    // aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
    // aGuiClient.show();
    in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
    out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
    while (alive && hostSocket.isConnected()){
    String line;
    while(((line = in.readLine())!= null)){
    System.out.println(line);
    broadCast(line);
    } // end while
    } // end while
    catch(Exception e){
    //     System.out.println("ERRORa Connection to host reset");
    JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
    try{
    hostSocket.close();
         }catch(Exception a){
         JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
    alive = false;
    System.exit(1);
    } // end method run

  • Problem with threads and camera.

    Hi everybody!
    I've a problem with taking snapshot.
    I would like to display a loading screen after it take snapshot ( sometimes i
    have to wait few seconds after i took snapshot. Propably photo is being taken in time where i have to wait).
    I was trying to use threads but i didn't succeed.
    I made this code:
    display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while((!performing.isShown()) && (backgroundCamera.isShown())){
                        Thread.yield();
                    notifyAll();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        this.wait();                   
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();This code is sometimes showing performing screen but sometimes no.
    I don't know why. In my opinion performing.isShown() method isn't working correctly.
    Does anyone have some idea how to use threads here?

    Hi,
    I've finally managed to work this fine.
    The code:
           Object o = new Object();
           display.setCurrent(perform);               
            new Thread(new Runnable(){
                public void run() {               
                    while(!performing.isShown()){
                        Thread.yield();
                   synchronized(o) {
                      o.notify();
            }).start();
            new Thread(new Runnable(){
                public void run() {
                    try {
                        synchronized(o) {
                           o.wait(1);
                    } catch(Exception e) {
                        exceptionHandler(e);
                    photo = camera.snapshot();                               
                    display.setCurrent(displayPhoto);
            }).start();

Maybe you are looking for

  • IPod will not update AT ALL

    I have owned this iPod Shuffle for about seven months, and it worked perfectly fine until about a month or two ago when it would not let me change the songs on the iPod. I manually deleted all the songs off of the iPod in iTunes, and added a whole ne

  • Why can't I use my apple gift card to subscrib to imatch?

    Why can't I use my apple gift card to subscrib to imatch?

  • Static files within a ear file     - help me if you can I am feeling down

    I am using oc4j. I have some static files (templates and configuration files for the applications) in an ear file. These files are addressed via web.xml init param and I use relative path. This works in my "working directory". But when I deploy the e

  • Problem when starting an application

    I have made a simple JPA, EJB project in JDeveloper 11g r1 following this tutorial http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ejb/ejb.html when i run the application i get the following messages in the log window. [EL Info]: 2010-11-18 15

  • Strange issue in SharePoint Search

    I just took over SharePoint farm from other admin who left. After that SharePoint search crawl broke. I recreated the SharePoint search with all the settings. But there is really strange issue happening now. If domain A user log in to SharePoint and