forked from Qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
b0b0e2ac18
AdvancedInstaller's Java launcher EXE seems to use JNI to launch the JAR, instead of using the command-line 'java' binary directly. When AI's launcher does this, it adds options like "abort" and "exit", along with corresponding hook addresses. These options are returned by the call to ManagementFactory.getRuntimeMXBean().getInputArguments() which is done in AutoUpdate while building the command line for launching ApplyUpdate. Because command-line 'java' binary doesn't support these options, they are now stripped out. |
||
---|---|---|
lib/org/ciyam/at | ||
src | ||
tools | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.sh | ||
stop.sh |
Qortal Project - Official Repo
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- Use Maven to fetch dependencies and build:
mvn clean package
- Built JAR should be something like
target/qortal-1.0.jar
- Create basic settings.json file:
echo '{}' > settings.json
- Run JAR in same working directory as settings.json:
java -jar target/qortal-1.0.jar
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
- Or use supplied example shell script: run.sh