Tuesday, December 29, 2009

debian update breaks java networking

My testing Debian was recently upgraded to latest version and suddenly java applets stopped working with ConnectionExceptions and ClassNotFoundExceptions. After 1,5 days of searching I found that there is a new config file in /etc/sysctl.d/bindv6only.conf which breaks java networking!!!!

To "fix" it change net.ipv6.bindv6only = 1 to 0 and run:
invoke-rc.d procps restart

java now works again!!! I don't understand why (and I don't care) but this kind of things should be more public and more easy to find... Debian mainteners PLEASE don't break things so silently...

Tuesday, December 8, 2009

firefox 3.6 and java...

I lost 2 days trying to get new firefox 3.6b4 to use java 1.6 only to find out they changed the way plugins are handeled and that I need a new plugin!

new setting is:

user@server~/firefox36/plugins$ ls -la
lrwxrwxrwx 1 user users 58 2009-12-07 19:47 libnpjp2.so -> /home/user/ibm-java-i386-60.sr6/jre/lib/i386/libnpjp2.so

yours should probably point to something like:

for SUN java or
for IBM java

Lets hope google will index this soon so others don't have to dig too deep...