Bug#368244: argouml doesn't check for IBM JVM

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Sat May 20 19:22:34 UTC 2006


Package: argouml
Version: 0.19.6-2.1

Hi, I have many JVM installed: 1.4.2 and 1.5.0 from IBM, plus kaffe and
gij.

All JVM are installed using debian packages or 'java-package' and I
select which one to use, using the update-alternatives. I do have the
JAVA_HOME variable set.

When I start /usr/bin/argouml I get this message

giuseppe at eppesuig3:~$ /usr/bin/argouml
No JVM found to run ArgoUML
Please install a JVM to run ArgoUML or
set JAVA_HOME if it's not a JVM from a Debian Package.

I checked /usr/bin/argouml text, since it is a shell script, and I
cannot understand why it is checking for
JDK_DIRS="$JAVA_HOME /usr/lib/j2se/1.4 /usr/lib/j2sdk1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3"

I think you could also check for /usr/bin/java, after JAVA_HOME and
before your list of hypotetical java.home. Would it be the right way?
Another option is adding /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.5-ibm
and /usr/lib/jvm/java-gcj to the same list.

Thank,
Giuseppe





More information about the pkg-java-maintainers mailing list