Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Java thread not working in windows 7

18 Aug 2010   #1
luckysleven

Windows 7
 
 
Java thread not working in windows 7

I have a Java app that runs just fine on Windows XP. However, on Windows 7 there is a problem related to a job being done via a Java thread.

Background: The app spawns a separate job via a Java thread and continues on while the spawned job executes. In other words, 2 things happen at once.

Problem: On Windows 7, when the app spawns the job, Windows sits and waits for the spawned job to complete before it continues on. In other words, 2 things DO NOT happen at once.

It's as if Java threading does not work in Windows 7. Any input would be greatly appreciated. Thanks.


My System SpecsSystem Spec
.

12 Aug 2011   #2
dms489

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by luckysleven View Post
I have a Java app that runs just fine on Windows XP. However, on Windows 7 there is a problem related to a job being done via a Java thread.

Background: The app spawns a separate job via a Java thread and continues on while the spawned job executes. In other words, 2 things happen at once.

Problem: On Windows 7, when the app spawns the job, Windows sits and waits for the spawned job to complete before it continues on. In other words, 2 things DO NOT happen at once.

It's as if Java threading does not work in Windows 7. Any input would be greatly appreciated. Thanks.
I think I'm having the same problem, and would really appreciate some guidance as to where to look.
My System SpecsSystem Spec
13 Aug 2011   #3
Roderunner

Win7 H.Prem. 32bit+SP1
 
 

This will fix it for you:-
-
DOWNLOAD UPDATED VERSION

Get the latest version (7) of Java Runtime Environment (JRE)... Sun Microsystems, Inc.
Click the "Download JRE" button to the right.
Check "Accept License Agreement "
Locate the entry for Windows x86 Offline and click on the associated file name, save the file to your desktop.


<STOP> Do not install the new version of Java yet. We need to do some cleanup first!

REMOVE OLD JAVA VERSIONS

Click on Start...then... Click the Start Search box on the Start Menu.
Copy and paste control appwiz.cpl into the open text entry box.
Depending on your current view setting ...
Double click on Programs and Features.
Under Programs, click on Uninstall a program.
Locate the following program(s):
Java Auto Updater
Java™ 6 Update 26
Select the program and click on Uninstall to uninstall it.
Repeat steps 3 - 4 for each program in the list. When finished... Close the Control Panel window.
Delete old Java Folder
Right click on the Start...button.
Using the Start Search box on the Start Menu.
Navigate to and find the following folder: if found, delete it.
It's possible it may have been removed by the uninstall steps
C:\Program Files\Java\ <==== delete this entire folder
When finished, exit Search.


INSTALL UPDATED VERSION

Close all open applications (standard), especially your browser.
From desktop... Right-click on jre-7-windows-i586.exe select "Run As Administrator" to install the newest version.
Follow the on-screen directions...when installation is completed successfully, reboot your computer normally.
Once the computer has been restarted, you can delete the "downloaded" installation file from your desktop.


OPTIONAL:
To prevent some unnecessary JAVA components from running when you boot your computer each time...

Go to Control Panel... click on the JAVA icon.
Press the Update tab... UNCHECK "Check for Updates Automatically". (You can check for updates manually.)
Reply "Never Check" to the warning prompt.
Now press the Advanced tab. Press the [+] to expand the "Miscellaneous" options.
UNCHECK "Java Quick Starter".
Press Apply and OK... then close the Java Control Panel. close and exit Control Panel.
My System SpecsSystem Spec
.


Reply

 Java thread not working in windows 7




Thread Tools





Similar help and support threads
Thread Forum
Yet another AERO is not working thread
I'm finishing setting up a new PC and i can't get Aero to work. I've been googling for 2 days now and none solution works for me. The symptoms are as follows: "Use Aero Peek ... " option in Taskbar props is grey. The is none Aero Glass theme to select at all. I don't even have "Enable...
Performance & Maintenance
Java autoupdate not working
Hi, I'm having a problem with java autoupdate. Last week I received a notification saying a new update was available. I clicked to install and i got an error saying it cannot proceed with the current connection (my internet may have been down, not sure). Anyway I figured I would just update the...
Software
Yet another Java exploit thread.
I got infected by the Anti-piracy ransomware thing yesterday. Is the infection related to the Java exploit? I used tools recommended on this site and it looks to be fixed. I also uninstalled Java 6 and Java 7 (had both on my system?). While on the Java website they showed an option in the Java...
System Security
Wifi on Laptop just stop working more details in thread
left my computer home with cousin came back with the wifi saying disabled while its connected to my router (internet is not working) http://i838.photobucket.com/albums/zz306/ifella/Help.png Heres more information Microsoft Windows Copyright (c) 2009 Microsoft Corporation. All rights...
Network & Sharing
Flash and Java not working in Windows 7 on any browser
I've had this laptop a little less than a year. I had no problems until about three or four months after buying it. I only ever use Firefox, and would always keep it and other programs such as Flash and Java up to date. One day, some websites just quit working, like facebook, youtube, netflix,...
Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App