Useful computer tip of the Week

Many Linux users may notice that there is no audio in Java applications.  I recently found an fairly easy way to fix this.

This should work for Ubuntu users, I cannot vouch for other versions of Linux.

  1. Press ALT+F2
  2. type in ‘gksudo nautilus’ (Without the quotes)
  3. enter your password
  4. go to /usr/bin
  5. search for ‘java’
  6. rename the file named ‘java’ to ‘java.bin’
  7. make an empty document, rename it to ‘java’
  8. copy the content of the box below into the text file
  9. #!/bin/bash
    padsp /usr/bin/java.bin “$@”

  10. save the file
  11. right-click on the file
  12. go to the permissions tab
  13. click on the allow executing as a program checkbox
  14. Now you should have audio in your Java Applications!

I will post a file that will do all of this for you later, which will make the process much easier.

Scroll to Top