Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4458067

java.awt.Toolkit.beep() makes no sound under linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs
    • x86
    • linux



      Name: boT120536 Date: 05/13/2001


      java version "1.3.1-rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b21)
      Java HotSpot(TM) Client VM (build 1.3.1-rc1-b21, mixed mode)

      $ cat >Test.java
      public class Test {
      public static void main(String[] args) {
      java.awt.Toolkit.getDefaultToolkit().beep();
      System.exit(0);
      }
      }
      ^D
      $ javac Test.java
      $ echo -en "\a" #make sure that speaker works
      $ java Test

      The above program yields no sound in linux (Red Hat 7.0, 7.1) A beep does occur
      in Windows98 with the same jdk version. The ibm jdk also fails to beep under
      linux.
      (Review ID: 124021)
      ======================================================================

            bchristi Brent Christian
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: