phil66's Avatar


18 Apr, 2009 05:52 PM

Debian Lenny operating system Downloaded Moneydance and unpacked to /home/ray66 Jre-1.6.0_13 installed prior to Moneydance.

Double click on Moneydance has no results. ./Moneydance/ returns error: "No suitable Java Virtual Machine could be found on your machine" "Please define .INSTALL4J_JAVA_HOME to point to suitable JVM"

.install 4j has one entry "JRE_version /usr . . . 0

In JVM the following entry exist "/usr/lib/jvm/java-1.5.0-gcj-4.3-1.50.0 also java gcj links to

How to I correct this error what do I point and whereand how ??

  1. 1 Posted by phil66 on 21 Apr, 2009 12:22 AM

    phil66's Avatar

    What is normal response time after submitting a problem post???

  2. 2 Posted by Ben Spencer on 21 Apr, 2009 01:39 PM

    Ben Spencer's Avatar

    Hi Phil

    I'm sorry I haven't got back to you sooner I realize how this can be frustrating. The current average response time is 18 hours however some cases take longer than others. In this instance I had to contact the developer to get a better understanding of the problem you are experiencing.

    You need to change your default system java from GNU libgcj (indicated by the "gcj") to the JRE that you downloaded (or another supported implementation of Java such as SunJDK or OpenJDK). I believe this should be as simple as running the JRE package with your package manager. It might be necessary to remove the other JRE installation.

    If you want/have to have more than one JRE installed on your system I believe you can change which java is used by using the "alternatives" system in linux. If you choose to go down this route I am afraid not familiar with the alternatives command however I can point you at some resources: Here is the man page for the command: And here is an example of it being used:

    Sincerely Ben Spencer

  3. Ben Spencer closed this discussion on 21 Apr, 2009 01:39 PM.

  4. phil66 re-opened this discussion on 21 Apr, 2009 07:19 PM

  5. 3 Posted by phil66 on 21 Apr, 2009 07:19 PM

    phil66's Avatar

    Ben Since .install4j is the installer you (Sean) chose to use in Moneydance _linux_x86.tar.gz.

    I have to assume that it can be defined to point to jre1.6.0_13 or any other java program.

    I would read the manual on install4j but it 290 pages long

    My choice of jre1.6.0_13 is so that I can run some Yahoo programs

    I feel all this other stuff is an overkill on what should be a simple linux download and install.

    My purchased key is useless at this point.

    Thanks for the reply and look forward to another comment.

  6. 4 Posted by Raimund Buchhol... on 21 Apr, 2009 10:15 PM

    Raimund Buchholz's Avatar

    does this mean that JRE 1.6. ... is your main JVM? Is this the SUN one? What is the output of "java -version" on a commandline?

    try "update-alternatives --config java" to check if the above JVM is installed system-wide and marked as default - you may also use "galternatives" (GUI)

  7. 5 Posted by phil66 on 22 Apr, 2009 01:45 AM

    phil66's Avatar

    Raimund Thanks for the help.

    Sun jre-6u13_linux-i586.bin

    Download from Http:// Linux self-extracting file

    Output java -version Java version 1.5.0 gij (gnu libgcj) version 4.3.2

    Update-alternatives --config java 1. /usr/bin/gij-4.3

    *+2 /usr/lib/jvm/java-gcj/jre/bin/java

    Press enter to keep the default [*], or type selection number

    Now what do I need to do?

  8. 6 Posted by Raimund Buchhol... on 22 Apr, 2009 07:59 AM

    Raimund Buchholz's Avatar

    btw. I suggest to install java via synaptic, aptitude, apt, dpkg or any other package manager- this avoids many hassles! Please also regard Ben's reply. tells me that there already is a sun-java6 in the non-free repository: Paket sun-java6-bin

    * etch-backports (libs): Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) [non-free]
      6-07-3~bpo40+1 [backports]: amd64 i386
    * lenny (stable) (libs): Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) [non-free]
      6-12-1: amd64 i386
    * squeeze (testing) (java): Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) [non-free]
      6-13-1: amd64 i386
    * sid (unstable) (java): Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) [non-free]
      6-13-1: amd64 i386

    below some help for manual setup... seems like you need to add Sun JVM to the alternatives system: enter at commandline (as root or using sudo) "update-alternatives --install /usr/bin/java java /path/to/sun-java 100" check result with "update-alternatives --config java"

    please take a look into update-alternatives' manual! keep in mind that this configuration is valid system-wide... every java app will now use sun jvm unless told otherwise

  9. Raimund Buchholz closed this discussion on 22 Apr, 2009 07:59 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac