if you have potato installed, you can't use java, you have to go to slink (because glibc6), or wait jdk 1.2 who is in prerelease.