Well, no it wasn't, but I tried setting it by hand and it seems to have no effect.
I did
export JAVA_HOME=/usr/local/lib/java
export JAVAC=/usr/local/lib/java/bin/javac
but I still get
javaldx: Could not find a Java Runtime Environment!
--
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34
--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html