sandoche / Proof-of-Stake-Cryptocurrency-generator

🍀 Create your own Proof of Stake cryptocurrency with its own blockchain based on NXT
https://coingenerator.sh
MIT License
358 stars 437 forks source link

Issue with nxt #47

Closed 0xnim closed 3 years ago

0xnim commented 3 years ago

I have a problem with java that is installed

azureuser@Nim-node:~/Proof-of-Stake-Cryptocurrency-generator$ npm run nxt

proof-of-stake-cryptocurrency-generator@1.0.0 nxt /home/azureuser/Proof-of-Stake-Cryptocurrency-generator cd nxt ; sh ./compile.sh ; sh ./run.sh

compiling core...

Killed Starting default mode Error: Could not find or load main class nxt.Nxt Caused by: java.lang.ClassNotFoundException: nxt.Nxt

npm ERR! Linux 5.4.0-1039-azure npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "nxt" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! proof-of-stake-cryptocurrency-generator@1.0.0 nxt: cd nxt ; sh ./compile.sh ; sh ./run.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the proof-of-stake-cryptocurrency-generator@1.0.0 nxt script 'cd nxt ; sh ./compile.sh ; sh ./run.sh'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the proof-of-stake-cryptocurrency-generator package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cd nxt ; sh ./compile.sh ; sh ./run.sh npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs proof-of-stake-cryptocurrency-generator npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls proof-of-stake-cryptocurrency-generator npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/azureuser/Proof-of-Stake-Cryptocurrency-generator/npm-debug.log

Output of java --version

openjdk 11.0.10 2021-01-19 OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.18.04) OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)