ccavanaugh / jgnash

jGnash Personal Finance
http://ccavanaugh.github.io/jgnash/
Other
139 stars 80 forks source link

OpenJFX download fails on Windows 10 #90

Closed linocasciano closed 4 years ago

linocasciano commented 4 years ago

Expected Behavior

Start JGnash and JGnash opens with a GUI that is functional

Actual Behavior

Start JGnash JGnash tries to download OpenJFX libraries for Windows 10 but fails

Steps to Reproduce the Problem

  1. Start JGnash for the first time on Windows 10
  2. Download dialog appears for the download of OpenJFX
  3. Another dialog appears in the background stating that it cannot download the specified OpenJFX library

Specifications

ccavanaugh commented 4 years ago

Please try manually deleting all of the javafx*win.jar files out of the lib directory and starting jGnash again.

I suspect the download was corrupt or it could be a privilege issue seeing the Access denied warning. Another option is to place jGnash somewhere other than "Program Files" and see if that helps.

Thanks!

ccavanaugh commented 4 years ago

I'm able to reproduce the problem by placing jGnash in "Program Files". Windows is protecting itself by not allowing jGnash to download the files. Either move jGnash to a different location such as c:\bin or run jGnash.exe as an administrator the first time so it can add the necessary files.

lukebakken commented 4 years ago

For what it's worth, I put jGnash in %AppData%\jGnash on Windows, which is guaranteed to be writable for the user who runs jGnash using that account.

ccavanaugh commented 4 years ago

Thanks for the tip Luke!