Solved

Java 1.4

Posted on 2002-06-13
4
184 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
Comment Utility
The 1.4 beta releases had this problem. Are you using the latest 1.4.0_01 release?

Jim
0
 

Author Comment

by:dannysh
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Jim
I download this version and it works fine.
   Danny
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now