Java apps lock up on Windows 7 64 bit

3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
Edited by: ddevil63 on Jul 26, 2010 9:57 AM

3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
Edited by: ddevil63 on Jul 26, 2010 9:57 AM

Similar Messages

  • Registering a Java App to run with Windows NT

    I couldn't find a solution to this in searching, perhaps because it's something obvious I'm just missing.
    I've created a Java app which monitors ASP pages every hour to see whether or not the engine is running. That works fine. I want NT to launch this application every time the server boots, but am clueless as to how to do that. It's easy enough for me to reference the app in a .bat file, but I still don't know how to get that to launch, let alone have NT simply run the main method.
    In this instance, I'm using IIS. Is there something that it uses to launch a Java app automatically?
    Thanks in advance.

    I would try just inserting the call in the
    autoexec.bat file a la:
    javaw myApp
    Mark (aka Ekmel)Except, o Evil Adobe, NT doesn't use an Autoexec.Bat.
    I tried popping it into the Startup folder, but it
    doesn't seem to do anything. Thanks, though.My autoexec.bat file is in the startup folder and it
    seems to be setting the path and classpath
    correctly. I'm going to refund your Duke unless/until I'm
    able to help you out.
    Mark

  • Java APP inside a Win32 Window

    Hello,
    Q1: I need to embed a complete java swing application inside an existing win32 application window (I have the HWND of it).
    How to do this ?
    Q2: Is it possible to set the native Win32 parent window of a JFrame with JNI ?
    Cheers,
    Mik

    This can be done, but is a little complicated.
    Firstly create a subclass of Canvas, with the following native method
    JNIEXPORT jlong JNICALL MyCanvas_getWindowInfo( JNIEnv *env, jobject canvas )
         JAWT      awt;
         jlong   handle      = 0;
         // Get the AWT
         awt.version = JAWT_VERSION_1_3;
         if( JAWT_GetAWT( env, &awt ) == JNI_TRUE )
              // Get the drawing surface
              JAWT_DrawingSurface     *ds = awt.GetDrawingSurface( env, canvas );
              if( ds )
                   // Lock the drawing surface
                   jint lock = ds->Lock( ds );
                   if( (lock & JAWT_LOCK_ERROR) == 0 )
                        // Get the drawing surface info
                        JAWT_DrawingSurfaceInfo     *dsi = ds->GetDrawingSurfaceInfo( ds );
                        if( dsi )
    #if WIN32
                             JAWT_Win32DrawingSurfaceInfo *info   = (JAWT_Win32DrawingSurfaceInfo *)dsi->platformInfo;
                             handle = (jlong)GetParent( info->hwnd );
    #endif
                             // Free the drawing surface info
                             ds->FreeDrawingSurfaceInfo( dsi );
                        // Unlock the drawing surface
                        ds->Unlock( ds );
                   // Free the drawing surface
                   awt.FreeDrawingSurface( ds );
         return handle;
    }Next in C, do the following
    1. Create a JWindow.
    2. Make it visible.
    3. Add an instance of MyCanvas to the JWindow.
    4. Call the getWindowInfo method, which will return the window handle of the frame.
    5. Remove the instance of MyCanvas, of make it invisible.
    6. Reparent the frame window using SetParent( handleOfApp, frameHandle );7. Change the style of the frame so it doesn't think its a top level window SetWindowLong( frameWindow, GWL_STYLE, WS_CHILD );The last step is to simply add you java frame (or whatever) to this newly created window.

  • App Lock for Windows 8

    Is there an app to lock applications and wifi for the windows 8 phones.   I need to be able to lock access to my wifi on my phone.   Android has an app called app lock that does this. 
    Sorry if this is the wrong forum to ask this ....

    For help using Windows Phone please post in the Windows Phone forum on
    http://answers.Microsoft.com .
    You may need to provide more information on what you mean by an app lock. Are you looking for
    Kids Corner?

  • Bit Locker Implementation in Windows 8.1 machine using Windows server 2008 r2 server group policy.

    is it possible to enable the bit locker only for windows 8.1 machines through windows 2008 r2 server group policy ?
    Thanx and Regards,
    Shanif

    Hi Shanif,
    Yes, we can do this.
    Regarding how to enable Bitlocker via group policy, the following article can be referred to as reference.
    Cannot Save Recovery Information for Bitlocker in Windows 7
    http://blogs.technet.com/b/askcore/archive/2010/02/16/cannot-save-recovery-information-for-bitlocker-in-windows-7.aspx
    After configuring the settings, we can use security filtering or WMI filtering to apply the policy to specific computers.
    Regarding this point, the following blog can be referred to for more information.
    Security Filtering, WMI Filtering, and Item-level Targeting in Group Policy Preferences
    http://blogs.technet.com/b/grouppolicy/archive/2009/07/30/security-filtering-wmi-filtering-and-item-level-targeting-in-group-policy-preferences.aspx
    Best regards,
    Frank Shen

  • Convert Below Java code equivalent to c# windows store app.

    Hi
    please help me " To convert Below Java code equivalent to c# windows store app."
    private String SecretKey = "enctsbqrm6hxyjfa";
        public byte[] encrypt(String text) throws Exception
            if(text == null || text.length() == 0)
                throw new Exception("Empty string");
            // convert key to bytes
            byte[] keyBytes = SecretKey.getBytes("UTF-8");
            // Use the first 16 bytes (or even less if key is shorter)
            byte[] keyBytes16 = new byte[16];
            System.arraycopy(keyBytes, 0, keyBytes16, 0, Math.min(keyBytes.length, 16));
            // convert plain text to bytes
            byte[] plainBytes = text.getBytes("UTF-8");
            // setup cipher
            SecretKeySpec skeySpec = new SecretKeySpec(keyBytes16, "AES");
            Cipher cipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
            //byte[] iv = new byte[16]; // initialization vector with all 0
            cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
            // encrypt
            byte[] encrypted = cipher.doFinal(plainBytes);
            return encrypted;
      Thanks            
      Nitin

    Hello Nitin,
    Your current requirement is beyond the scope of our support for this fourm which is used to Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    If you want to know how to encrypt/decrypt in windows store app, I suggest that you could post a it to:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=winappswithcsharp
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Run Java App as a Windows Service

    Hi,
    Is there an easy way (without 3rd party software) to run a Java app as a service in windows?
    Sorry if this isn't the right forum to post to...
    Any help would be greatly appreciated!
    Thanks in advance!

    Nope there isn't. And there also isn't a reason not to use 3rd party software as there is an excellent open source API to do this job: Java Service Wrapper.

  • How to make a shortcut to run my Java app in Windows?

    Hiya, Coders :-)
    I am an absolute beginner.
    I have copied a little window program from "Java 2 in easy steps".
    I run it from the command line and a little window pops up.
    I cannot find a way to start the app without the command prompt.
    How can I make a shortcut to start it?
    Julian (-_-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hiya, Coders ;-)
    As it happens, I have a game from UJ Software: "Shisen for Java".
    It has a shortcut, of course.
    Here are all its details just in case it helps ...
    The game folder is here:
    C:\Program Files\UJ Software\Shisen for Java\jShisen.jar
    Contents of the installed shortcut ...
    General:
    Type of file: Shortcut
    Opens with: Java(TM) Platform SE binary
    Location: C:\Documents and Settings\Julian Bury\Start Menu\Games
    Shortcut:
    Target Type: Executable Jar File
    Target location: Shisen for Java
    Target: "C:\Program Files\UJ Software\Shisen for Java\jShisen.jar"
    Start in: "C:\Program Files\UJ Software\Shisen for Java\"
    Run: Normal window
    I don't suppose this will help.
    It strikes me that nobody knows for certain how to run a java app!
    I have two beginner's books, neither of which mentions anything beyond the command prompt.
    Tricks to minimize the console window are just not professional!
    The solution must be written authoritatively somewhere ...
    has anyone seen it, please?
    Increasingly disturbed ...
    Julian *(-_-)*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle on Solaris and JAVA app on Windows clients

    hi im currently developing a JAVA app that accesses the data from an Oracle databse, these apps all running on windows clients. Im wondering the best way to access the database? is the JDBC the only way to do this.. thanks in advance

    Yes, you can download a JDBC driver from Oracle. I think this site might do it:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
    I'm assuming that you're using the JDBC-ODBC bridge driver now to get into Access. You'll just have to change the name of the JDBC driver class and the database URL to connect to Oracle.
    Once you have it, you'll have to make sure you put it in the right place for your app. If it's a Web-based app, it'll depend on the container you're running.
    - MOD

  • Built Bonjour-dependent Java app on Mac, copied to Windows, can't find Bonjour

    On my Mac, I wrote a Java app that uses Bonjour.  It works just fine.
    Then I decided to test it on Windows.  So I installed Java SE and then the Bonjour for Windows package on Windows XP.  When I try to run my program (double-clicking the jar file), nothing happens.  When I do it from the command line, it complains about being unable to find Bonjour:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/dnssd/BrowseListener
    I assumed that Bonjour for Windows would automatically register itself so that Java could find it.  Is that incorrect? 
    What is the correct portable way to make Bonjour available to apps on Windows?
    Thanks!

    The sad part is that the guide you link to contains a link to the installation instructions right at the top. That should have been a big hint.
    To prevent future wrong assumptions, refer to the roadmap:
    http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

  • Putting Java app in Windows tray as an icon?

    Is this possible? IS thre a "free" library or API, presumably using JNI, to turn a java app into a windows tray icon so that it isn't in the task bar, only in the tray icon (or both), and when clicked on can open it up as well as provide a context menu?
    Thanks.

    This question is asked a lot.
    Type a few keywords in the search panel and you are lucky.
    Note: this works with google too, I found a solution just by asking google for it.
    Maybe this is helpful though:
    http://www.amherst.edu/~tliron/jni/DesktopIndicator/DesktopIndicator.html

  • Oracle Java Apps Window - Maximize by default possible?

    Hi All,
    As in subject, is it possible to have Oracle Java Apps window maximize by default when launched?
    Kind regards

    PawelBertel wrote:
    Hello,
    Apologies, I'm talking about Oracle EBS 12.1.2 - main oracle apps window.
    Kind regards
    This is something that can be fixed from the browser.
    http://support.microsoft.com/kb/555217
    http://answers.microsoft.com/en-us/ie/forum/ie8-windows_vista/how-do-i-make-the-default-window-size-open-to/a6261690-88e9-47ab-befb-f2cef12f2601
    Thanks,
    Hussein

  • Windows Macro Engine for use with Java Apps

    Does anyone know of a macro engine that can be used under windows for interaction with a Java app? None of the ones I've tried will work with Java Apps. Work great with everything else I've tried, just not Java apps.
    Will

    What exactly is a macro engine? What do you want it to do? Do you want to add scripting to your application? Or do you want to script third party applications, that don't support it themselves?

  • Form become white after running java app. under windows XP

    Hi,
    i developed an application (Form base application) that connect to FTP server and connect to a server via telnet.
    The application is running fine until i'm trying to run it under Windows XP.
    when i'm running the applicaion under windows XP and sending data, the form become WHITE (looks like stuck program).
    the app. is still running but the user think the app. is stuck.
    i try to INVALIDATE the form every time the loop is sending the data and many more ideas but it is still become white.
    the app. is working greate under windows 2000, 98, ME.
    does anyone know this problem and how to fix it?
    Thanks Guy.

    i "just" develope an application that connected to an exsiting servers and upload data to them.
    the problem is that when i run this app. under windows XP, the screen ( the application created in "Form Base") become white, like the program is stuck.
    there is no error, it's seems to be an invalidate problem, but i try to out invalidate everywhere but it is still doen't fix this problem.
    the app. doesnot stuck, it is just looks like that!!!!!
    the weird thing is when i run this app. under all other windows, it's working fine.
    if anything is not clear, write back.
    thanks.

  • Access Java app message loop from ActiveX control running in JNI

    Anyone know how to access a Java application's message loop from inside JNI code?
    Through the (JNIEnv *env) or (jobject obj) parameters maybe?
    I've got an ActiveX dll that I'm running via JNI. The ActiveX dll creates an IP server on a separate thread. When another process connects to the IP server I need to PostMessage (MS Windows term) from this IP server thread to the thread that the Java application is running on.
    It appears the Java application's message loop is not present / available in the JNI code and consequently the message is never posted from the IP thread to the JNI / Java App thread.
    Of course I can manually add a message loop to the JNI code and the PostMessage works just fine. But then the message loop is executing and the Java application is effectively blocked and becomes unresponsive because the JNI method call never returns as its busy running this while loop doing a GetMessage --- DispatchMessage inside the ActiveX dll.
    Maybe JNI is not really intended or this purpose and it's just not possible?
    Thanks.

    Hi Charbs, thanks for the reply.
    I've done a bit more investigation, my application doesn't display any content if I set wmode to direct, even when I try and play a very simple .swf that in no way will be using stage3D.
    I'm now assuming that setting direct wmode forces the .ocx to attempt rendering using Direct3D regardless of whether I use any Stage3D or not.  It would be interesting to find out if it is possible to set wmode to direct, and disable any use of Direct3D, although I suspect that setting wmode to direct would at least use Direct3D as its viewport regardless of any type of display generated by the swf.
    I will investigate the Event.ERROR suggestion, but I'm not a Flash/AS programmer at all, I wouldn't know wher to start so this might take a while - unless any of you helpful souls might knock something up to output/log any error messages from a simple stage3d swf?
    Also, I suspect that how I currently capture the display output and then transfer that to my own Direct3d texture/surface might not be compatible with how direct mode works.  Is there any in depth  technical documentation for how the ocx or projector handle direct wmode?

Maybe you are looking for