I'm getting the same issue. I've worked around it so far by editing config.xml manually, but that's hardly ideal.
Code:
$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Code:
$ uname -a
Linux saya 2.6.34-gentoo-r11 #2 SMP PREEMPT Tue Oct 12 09:31:51 PDT 2010 x86_64 AMD Phenom(tm) II X4 945 Processor AuthenticAMD GNU/Linux
Let me know how else I can help!