Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Saturday, July 3, 2010

Java in Debian Squeeze not appearing

Had lots of problems with Java not "appearing" or seems to not be loading (though it does) in Debian. Using the sun java6 plugin.

Here's my howto for Debian Squeeze + Java + (Swiftfox/iceweasel/google chrome)

1.) Install sun-java6-plugin (apt-get install sun-java6-plugin)
2.) Make sure your browser has loaded the java6 plugin. In the browser of your choice, type: about:config and check that java6 is loaded. If it's not, google :P Shouldn't be hard to find. If not, I can write a howto on it.
3.) Go here and test your java. If you get an error, click the box, and read the first lines. Otherwise, you're done.
4.) If the error looks like this:
java.net.ConnectException: Network is unreachable
then edit the following file: /etc/sysctl.d/bindv6only.conf, and make sure net.ipv6.bindv6only is set to "0". Save and quit.
5.) Restart procps like this (as root): invoke-rc.d procps restart
6.) You're done, and it should be working.

1 comment:

  1. Google brought me here after jEdit refused to update its mirror list with the "network is unreachable" error. Step 4 did the trick for me.

    Thanks!

    ReplyDelete