After many adventures, and a full reinstallation of linux mint (this time 64 bit, version 18.2), I am back at this impasse. I put the jar file into the correctly named folder, but when I try to execute

java -jar /home/ets/BackupGnuCash/BackupGnuCash.jar &

I get

 Error: Could not find or load main class backupgnucash.BackupGnuCash

Obviously I am missing something fundamental, despite reading the readme.md which says:

### GNU/Linux ###
  To run the project from the command line, type the following
```
    java -jar "[PathTo]/BackupGnuCash.jar" &
```
E.g.
```
    java -jar /home/[USER_NAME]/BackupGnuCash/BackupGnuCash.jar &

Help?

- Elmar


On 09/02/2016 05:31 PM, Chris Good wrote:
Message: 1
Date: Thu, 1 Sep 2016 12:15:41 -0400
From: ETS <eschmeis...@nc.rr.com>
To: gnucash-user@gnucash.org
Subject: backupgnucash jar file
Message-ID: <63856195-103c-e9a2-37c6-5b1f1434c...@nc.rr.com>
Content-Type: text/plain; charset=utf-8

On my way into linux from windows - I am trying to get
https://github.com/goodvibes2/BackupGnuCashWin/tree/master/src/backu
pgnucash
to work under Mint 18.  I've downloaded the jar file, and marked it as
executable, and tried to use the java 8 to run it ... but when I click on
the jar
file nothing happens.  On the windows side, at least the window popped up
so you could set the paths.  Anyone else using this program?

Hi ETS,

Jar files are only executable by java.
I suggest creating a .desktop file for easy running from your Linux gui
environment. I assume this will work for Mint as it is based on Ubuntu.
Please see section 'Running' in
https://github.com/goodvibes2/BackupGnuCashWin/blob/master/src/backupgnucash
/README.md

Plutocrat is right that not all java applications are cross platform
compatible but this one is, for at least Windows & Linux and maybe (not
tested) Mac.

Regards, Chris Good

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to