assembly
assembly
Desktop wallet Ubuntu not loading GUI singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Ardor Client: Ardor 2.2.5

Author Topic: Desktop wallet Ubuntu not loading GUI  (Read 599 times)

realbobross

  • Newbie
  • *
  • Karma: +1/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Desktop wallet Ubuntu not loading GUI
« on: June 10, 2019, 03:43:30 pm »

I'm doing a fresh install of Ardor on an OS that's run it previously. I run compile.sh and get about 40 errors. When I run the GUI the terminal shows it downloading the blockchain, but does not launch the desktop. It warns me "JavaFX not supported".

I've purged every package relating to Java and freshly installed the openjdk-11-jre openjdk-11-jdk and openjfx packages, recompiled with the same errors. I've also tried purging and recompiling using the openjdk-8-* packages and openjfx. Same result.

Any ideas? I have successfully run older versions on this computer, but I'm not sure the version is the root of my issue. Apologies if this has been addressed before, I think it has, but I couldn't find anything.
Logged

Jose

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: +77/-1
  • Offline Offline
  • Posts: 305
    • View Profile
Re: Desktop wallet Ubuntu not loading GUI
« Reply #1 on: June 11, 2019, 07:07:19 am »

If you are using the Linux installer, I don't think you need to compile anything.

1- First Install the wallet: sh ardor-client-2.2.3.sh

2- After the installation is completed, two icons will have been added to your Ubuntu program menu:
Ardor Start (which links to start.sh)
Ardor Stop (which links to stop.sh)

To run the wallet, just click on the Ardor Start icon. An Ardor icon will appear in the notification area and the desktop wallet should pop up a few seconds later. To stop the wallet, righ click on the Ardor icon in the notification area and then click on Shutdown.
Logged

realbobross

  • Newbie
  • *
  • Karma: +1/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Desktop wallet Ubuntu not loading GUI
« Reply #2 on: June 11, 2019, 09:29:24 am »

Won't run from the shortcut or "start.sh" either. I get essentially the same result, except without the feedback from the terminal. If I run "run-desktop.sh" in the terminal it will give me the error that JavaFX is not supported and show the server running in the terminal despite never launching the GUI. If I run from the shortcut, I don't see anything at all, the nxt_db folder will grow in size as if the server is running and downloading the blockchain, but the GUI never launches. Do you know what version of Java it's compiled with by default? If I don't compile first, I just get an error message and the executable was compiled with an older version of Java and I have to compile it to start the server.

When I've run it on Linux in the past, I've always compiled past versions of Ardor by running "compile.sh" and I'm able to run from "start.sh" or "run-desktop.sh". Definitely seems like there's some conflict preventing Ardor from recognizing and using the OpenJFX libraries.

Thanks for your response, I'll keep searching.
Logged

Jose

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: +77/-1
  • Offline Offline
  • Posts: 305
    • View Profile
Re: Desktop wallet Ubuntu not loading GUI
« Reply #3 on: June 11, 2019, 01:15:32 pm »

From https://ardorforum.org/ardor-software-releases/ardor-v2-2-3/
Quote
...For the linux installation package, the code is compiled with OpenJDK 8, and
can still be run under either Java 8, or Java 11 or 12...

It's strange what's happening to you, and it looks like a java conflict to me

If the service is really running in the background, even if the GUI doesn't launch automatically, you still should be able to accesss to the wallet interface by typing in your web browser localhost:27876

Moreover, for Linux (or any other OS) you can try with the Platform Independent Zip Package (which doesn't require installation, you just need to unzip it - available from the Jelurida website) and launch the wallet service by running run.sh in the terminal. And then localhost:27876 in your webbrowser to access to the wallet interface

Logged

realbobross

  • Newbie
  • *
  • Karma: +1/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Desktop wallet Ubuntu not loading GUI
« Reply #4 on: June 11, 2019, 07:34:31 pm »

Thanks,  localhost:27876 worked to bring up the wallet interface in my browser.

I did end up finding the issue, which is with the most recent OpenJFX packages that apt-get supplies. OpenJDK-11 no longer supports OpenJFX for whatever reason, so I had to downgrade my OpenJFX packages in order to get them running with OpenJDK-8.

https://askubuntu.com/questions/1139155/recent-upgrade-of-openjfx-broke-my-installed-application

I followed those steps and made sure Ubuntu was using Java 8 by default, ran compile.sh with no errors, and everything worked fine from there.
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly