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

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

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

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




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 07:43 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33