CREDITSCOM / node

Credits Node is the main module that provide an opportunity to run a node and participate in CREDITS blockchain network.
https://developers.credits.com/
GNU Affero General Public License v3.0
151 stars 16 forks source link

Credits Desktop Wallet can't be launched - OS Ubuntu 18.04 #8

Closed angelesmanzo closed 5 years ago

angelesmanzo commented 5 years ago

After starting the node, this new client can't connect to Credits blockchain. Besides the Credits Wallet GUI interface can Not be launched.

The following steps were performed:

  1. Oracle Java was installed from Linux Uprising Java PPA repository according to this: sudo add-apt-repository ppa:linuxuprising/java sudo apt update sudo apt install oracle-java11-installer sudo apt install oracle-java11-set-default

  2. The archive, Credits_Node_Linux_x64_ver_4.2.412.3_test.tar.gz, was downloaded from: https://developers.credits.com/en/Articles/Releases

  3. The node was launched by typing on the prompt: "./client"

  4. The Keys were generated by entering a password.

  5. The executor was launched also: java -jar contract-executor.jar

After launching the node, it should be able to connect to Credits blockchain and the GUI Desktop wallet should be launched. (I tried for TestNet and MainNet)

Please see the screenshot: issue 2 mainNet

The current OS is Ubuntu 18.04 Bionic Beaver

Thank you in advace for the support!

micmac0 commented 5 years ago

Hello can you please show the result of : java -version because if you re using oracle jvm, javafx should be included. Also you can use openjdk 11 and follow instructions in the README : https://github.com/CREDITSCOM/ewa

Team can you add this link in the readme : https://gluonhq.com/products/javafx/

angelesmanzo commented 5 years ago

This is the Oracle Java version installed.: 11.0.2.

Version Java 11

micmac0 commented 5 years ago

OK anyway looks like your problem is related to javafx missing lib. As describe at the end of this README : https://github.com/CREDITSCOM/ewa you can download javafx here : https://gluonhq.com/products/javafx/ Install it somewhere than launch wallet like this example :

java --module-path=/srv/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml,javafx.graphics -jar wallet-desktop.jar (replace what follow module-path with the path where you install openjfx (with lib subfolder) Also do not forget to change settings.properties file to set IP with the IP of your node

angelesmanzo commented 5 years ago

Good day! Thanks for the support. Now, with JavaFX -sdk-11 in root directory src/ wallet was launched! Here, the screenshot.

Linux Wallet