Solved

Java 1.4

Posted on 2002-06-13
4
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

623 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