Moneydance on Centos 7 ?

Issues related to applications and software problems
dbees92
Posts: 1
Joined: 2018/07/11 19:50:07

Re: Moneydance on Centos 7 ?

Post by dbees92 » 2018/07/11 19:58:17

jimj... thanks for your great fix. Another Moneydance user on Centos 7 and I was having the same problem.

Another approach to a permanent fix that would survive updating Moneydance is to add
alias Moneydance="export INSTALL4J_JAVA_HOME_OVERRIDE=/etc/alternatives/jre && Moneydance"
to your .bashrc

SirLurkalot
Posts: 128
Joined: 2013/02/28 07:57:46

Re: Moneydance on Centos 7 ?

Post by SirLurkalot » 2018/07/26 16:58:45

Following the latest post I was prompted to have another go with the softlink.

I renamed the Moneydance jre directory with #mv jre oldjre in case I needed to restore it and inserted a softlink as follows

ln -s /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/jre

The Console window now shows java: 1.8.0_181 and the text is OK. :-)

Obviously this would require amending if java-openjdk is updated

I have tried the INSTALL4J_JAVA_HOME_OVERRIDE=/etc/alternatives/jre method but for some reason, with no success but at least I have a solution.

Thanks for all the suggestions.

jimj
Posts: 93
Joined: 2014/10/01 05:34:57

Re: Moneydance on Centos 7 ?

Post by jimj » 2018/07/28 18:00:06

There's three of us using Moneydance on CentOS!? Now that the CentOS user base has gotten so large maybe Infinite Kind will take our problem reports seriously. :)

dbees92, I never thought of using an alias in that way. I actually have a wrapper script that I use to start Moneydance, so I do my Java export there. I've added your "alias command overloading" idea to my bag o' Linux tricks though, thanks for sharing.

SirLurkalot, after making dbees92's .bashrc change did you try reloading the .bashrc file (either log out and back in or run '. .bashrc') before running Moneydance? Glad you got your symlink solution to work.

SirLurkalot
Posts: 128
Joined: 2013/02/28 07:57:46

Re: Moneydance on Centos 7 ?

Post by SirLurkalot » 2018/07/28 18:30:59

jimj wrote: SirLurkalot, after making dbees92's .bashrc change did you try reloading the .bashrc file (either log out and back in or run '. .bashrc') before running Moneydance? Glad you got your symlink solution to work.
No, I didn't think to log off and on ! I've just tried it now, with the following .bashrc file and did log off but to no avail. Clearly I'm missing something but I'm happy to go with what I've got. Thanks though for the suggestion.

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
alias Moneydance="export INSTALL4J_JAVA_HOME_OVERRIDE=/etc/alternatives/jre && Moneydance"

jimj
Posts: 93
Joined: 2014/10/01 05:34:57

Re: Moneydance on Centos 7 ?

Post by jimj » 2018/07/30 21:45:22

SirLurkalot wrote:
2018/07/28 18:30:59
No, I didn't think to log off and on ! I've just tried it now, with the following .bashrc file and did log off but to no avail. Clearly I'm missing something but I'm happy to go with what I've got. Thanks though for the suggestion.
Your .bashrc alias command looks ok to me, I'm not sure what you're missing.

SirLurkalot
Posts: 128
Joined: 2013/02/28 07:57:46

Re: Moneydance on Centos 7 ?

Post by SirLurkalot » 2018/08/17 08:56:56

jimj wrote: SirLurkalot, after making dbees92's .bashrc change did you try reloading the .bashrc file (either log out and back in or run '. .bashrc') before running Moneydance? Glad you got your symlink solution to work.
Hi I've had another go at this... I'm a sad sod !
I've found that instead of changing the second line in my case, of the /opt/Moneydance/Moneydance file to
INSTALL4J_JAVA_HOME_OVERRIDE=/etc/alternatives/jre I use
INSTALL4J_JAVA_HOME_OVERRIDE=/etc/alternatives/jre_openjdk then it works fine
so I now have two solutions !
I've also added a plea to your Infinitekind thread, that they find a permanent solution for this.
Thanks for the help.

jimj
Posts: 93
Joined: 2014/10/01 05:34:57

Re: Moneydance on Centos 7 ?

Post by jimj » 2018/08/17 14:54:21

SirLurkalot wrote:
2018/08/17 08:56:56
I've also added a plea to your Infinitekind thread, that they find a permanent solution for this.
Thanks for the help.
It doesn't look like IK is releasing a 2018 version, so maybe they'll get it fixed in 2019? I would guess they'll ship a new Java version with the next version of Moneydance.

Post Reply