Closed A4D4R closed 3 years ago
There was a but and I updated the tool about 35 minutes ago. So if this is the old version try downloading it again. I'm not sure it works with OpenJDK however I need to test it myself too.
Update Here. I've managed to build the development branch on ubuntu and it runs just fine. It was a bit of hassle to get latest version of gradle was repository was only at 4.0 or something.
It runs okay with the build (Except minor UI issues with text overlapping other area and "Start" button being super small. I've attached the screenshot for references.
For those who want to build it for themselves:
sudo apt install openjdk-11-jre
(minecraft auto installs them so if you have minecraft you are good to go)sudo apt install openjfx
Here is a quick tutorial on how to do that: https://linuxize.com/post/how-to-install-gradle-on-ubuntu-18-04/ (Instead of version 5.0 on the tutorial, use 6.3 [replace every 5.0 on that tutorial with 6.3]
git checkout development
chmod +x ./gradlew
Edit: You dont need to switch to that branch, its already merged to master.
gradle wrapper
./gradlew build
./gradlew run
Also @Zodsmar, You can also test using WSL for windows with latest Ubuntu build 20.04, its in microsoft store I think. Edit: Fix the openjdk package name.
I will look into this more but for now I updated the main Readme linking to a wiki page I made on how to build for v0.5.0 on Linux using OpenJDK: https://github.com/Zodsmar/SeedSearcherStandaloneTool/wiki/Building-SASSA-for-Linux-(OpenJDK)---v0.5.0 (I gave your recognition since its your post but I figured I would make it more accessible to everyone)
Thanks! I'll leave this issue open till I find a proper solution!
Addition to Above: In Arch Linux (and derivatives like Manjaro), SASSA v0.5.0 runs just fine (ignoring the visual glitches like the screenshots above), if you have java-openjfx
package installed.
If you are using Java 8 instead of latest version, install java8-openjfx
package instead.
Of-course you will need to have java installed but minecraft-launcher
from AUR does that automatically.
(@Zodsmar I updated the package name for the previous building on ubuntu, previously I put it wrong! You might want to update the wiki or wait till the new release, I'll test it and comment here.)
I'm gonna be revamping the wiki and creating a proper github.io page for the project with the next release because of all the new additions I am adding. But ill keep this in mind thanks!
That would be nice. If you want anyone to design github page, I can do that for you with any site generators (like Hugo) or just plain static HTML/CSS.
I will try my best to test linux and mac going forward, but for now I updated the readme with the Wiki link to the fix for Linux users. 6cc7f96
Closed for now.
The Latest version v0.5.0 crashes on start.
Here is the command line output when running
java -jar sassa-v0.5.0.jar
Without openjfx installed:
With openjfx installed:
Output of
java --version
I also tried installing openjfx with version
11.0.7+0-2ubuntu1
It might be an issue with Java 11 or OpenJFX but I cant remove Java 11 because minecraft requires openjdk meta package (which points to openjdk-11-jre) instead of exact java-8 version for some reason. I'll look into it more and post update here by running the program on different configuration.