Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Monday, June 14, 2010

Chromium And Firefox Plugins

I needed a Java plugin for the Chromium browser and was very surprised when I found that it can use the Firefox Java plugin. On Debian sid, when I start Chromium like this:
LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.1/ chromium-browser
it automagically detected the icedtea plugin for Firefox. Obviously you need to have the xulrunner package installed as well.

I wonder if any other Firefox plugins will work?

Wednesday, March 31, 2010

The Best Java

I'm migrating a Java, Tomcat based application to a new server and all I've achieved is record levels of frustration. Ah well, it is a solid reminder of why I avoided Java and everything to do with it. Unfortunately, the rest of the world didn't. Honestly, I just don't understand the appeal. Everything feels so clunky and obfuscated. Look at how you set up a database resource in Tomcat and note that it requires a declaration in two different configuration files. The best java is the drinkable variety (cream, no sugar), thank you very much.

Sunday, January 17, 2010

Java IPv6 Weirdness

A couple of weeks ago I discovered that Java applets were broken on my Debian/sid desktop system. I finally found the solution but it is just plain weird.

Debian recently disabled IPv4 traffic over IPv6 connections. (I didn't even know such a thing was possible.) Under the new policy, if you need to do both types of traffic, you have to open separate connections for IPv4 and IPv6. Java apparently expects IPv4 traffic to work over IPv6 connections by default.

Because that last sentence is kind of scary, I'm going to assume that I don't really understand the problem.