Solved

Java 1.4

Posted on 2002-06-13
4
204 Views
Last Modified: 2010-03-31
Hi all

I read the following lines in java 1.4 API:

"A thread blocked in one of the select() or select(long) methods may be interrupted by some other thread in one of three ways:

By invoking the selector's wakeup method,

By invoking the selector's close method, or

By invoking the blocked thread's interrupt method, in which case its interrupt status will be set and the selector's wakeup method will be invoked."


I tried to use the wakeup() method from other thread, and it doesn't work, why? how can I do it.

       Thanks
0
Comment
Question by:dannysh
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:Jim Cakalic
ID: 7076105
The 1.4 beta releases had this problem. Are you using the latest 1.4.0_01 release?

Jim
0
 

Author Comment

by:dannysh
ID: 7076111
Hi Jim cakalic
I am using version 1.4.0-b92. where can I download the latest version 1.4_01?
 
0
 
LVL 19

Accepted Solution

by:
Jim Cakalic earned 40 total points
ID: 7076215
Go here:
    http://java.sun.com/j2se/1.4/download.html

Choose the SDK version appropriate to your platform. If you are installing on Windows, note that the Installation Instructions (on the same page as the download) says to uninstall any previous version.

Jim
0
 

Author Comment

by:dannysh
ID: 7081202
Thanks Jim
I download this version and it works fine.
   Danny
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Application launch issue with Apache Tomcat 5 45
netstat -ano | find "8000" and taskkill /f /pid 2984 3 57
fibonacci ten numbers 4 39
hibernate example for saving data 19 42
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question