Thanks Jesse & Shawn for your help.  I followed Jesse's suggestion
because it seemed easier and because it gave me access to the contrib
and non-free repositories.   I think it's useful to add two points
here.  First, when modifying  /etc/apt/sources.list  you must add
contrib and non-free to *both* the lines beginning deb and deb-src.
It took me several tries to figure this out.
Second, when you get to the stage of installing sun-java5-bin, or any
other package requiring a licence,  use KPackage rather than apt-get.
When I used apt-get I was unable to accept the licence so the
installation got totally screwed up requiring fixup. But after several
re-boots and a fixup KPackage allowed me to accept the licence and the
install worked fine.

So now I have 3 versions of java:
        1    /usr/bin/gij-wrapper-4.1
        2    /usr/lib/jvm/java-gcj/jre/bin/java
         3    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
But no matter which of these I set as the default the installer
moneydance_linux_x86.sh still fails with the message
"No suitable Java Virtual Machine could be found on your system."
"Please define INSTALL4J_JAVA_HOME to point to a suitable JVM."
The last line above may be the key but I don't know how to do that.  I
would greatly appreciate another round of help.

Robin





On 3/23/07, Jesse Kline <[EMAIL PROTECTED]> wrote:
> It looks like it's having a problem finding java. Here are some
> suggestions:
>
> Type:
> java -version
> One of three things should happen:
>
> a) It shows you that Sun Java is running (ie. java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode) or
> similar)
> - If this is the case, then I'm not sure what the issue is.
>
> b) Another version of java is running.
> - In this case, run the following command:
> sudo update-alternatives --config java
> If update-alternatives shows you multiple java installations, then the
> application will let you switch between them.
>
> or
>
> To install java debs, follow these instructions:
> http://mediakey.dk/~cc/howto-install-sun-java-on-debian-etch/
>
> c) Java does not run at all.
> - In this case, try installing java with the instructions in the above
> url. If that does not work, you may have to add java to your path. To do
> this, edit your .bashrc file and add a line similar to the following:
> export PATH=/path/to/java:$PATH
>
> Hope this helps,
>
> Jesse
>
>
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to