Closed Arsakes closed 1 year ago
Strange, the merge request #91 was supposed to fix that.
Yep that is strange indeed. The fact I don't know how to build java app is one thing. But unable to run prebuilt thing is another. The last release that I have and is working is from May 2021
Sorry tyronx, but…
So, I will clone the repos and try to launch from sources. Side note: I can't run the aur
package too, but that's on copygirl, but I left that here just in case someone like me is searching infos …
src/at/vintagestory/modelcreator/gui/right/ElementTree.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
And if someone is wondering, I do have extra/gtk4 1:4.8.2-1
installed, despite using KDE desktop environment.
██████████████████ ████████ kane-thornwyrd@monolith
██████████████████ ████████ -----------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 5.19.17-2-MANJARO
████████ ████████ Uptime: 1 hour, 14 mins
████████ ████████ ████████ Packages: 2474 (pacman), 8 (flatpak)
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 1920x1080, 1920x1080
████████ ████████ ████████ DE: Plasma 5.26.3
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ WM Theme: Klassy
████████ ████████ ████████ Theme: [Plasma], Qogir [GTK2/3]
████████ ████████ ████████ Icons: Vimix [Plasma], Vimix [GTK2/3]
████████ ████████ ████████ Terminal: konsole
Terminal Font: Victor Mono 12
CPU: AMD Ryzen 3 3300X (8) @ 3.800GHz
GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
Memory: 12474MiB / 32027MiB
Could you try copying the natives/linux/swt-gtk4.jar to vsmodelcreator_lib/swt.jar and see if that fixes it?
I tried changing the swt version, it didn't changed the outcome… But !
[rant toward java start] So… I got from error to error, at some point I even had to add the "--illegal-access=warn" to the java invokation… And I managed to understand that it require Java 11… I feel stupid… And my critics on how java handle the jars is increasing… Wouldn't be that hard to add somewhere in the JVM that the jar it is trying to launch need X version of the JVM ? -_-' I mean, they say "it require the X version of the API" (version 55.0 at least in this case), but it is a totally different version than the JRE/JDK… [rant end]
Thank you Tyron, it works perfectly, I just had to install the jdk11 package once ($ yay -Suy jdk11
) , to get the error that it need for us to download "manually" the archive from the oracle site and for the cache folder to be created, then do:
$ cp ~/[my download folder]/jdk-11.0.15.1_linux-x64_bin.tar.gz ~/.cache/yay/jre11
$ cp ~/[my download folder]/jdk-11.0.15.1_linux-x64_bin.tar.gz ~/.cache/yay/jdk11
$ yay -Suy jdk11
$ cd ~/[my download folder]/vsmodelcreator_14nov2022
$ java -jar vsmodelcreator.jar
And everything works and it's beautiful, and it's great, and I love that I can now enter a new stage in my modding journey :) ! THANK YOU TYRON !
P.S. Future Kane, I know you'll end up here again, you need to work on your memory, but here's the solution at least for the version of nov 2022, apart that try not remember too much of this year tho, it was the Hell year, so be grateful to your dumb past self.
Wow, strange, and on Windows it only runs under Java 8. I can leave a note about this on every release. 👍
I couldn't build the thing on linux some instructions in readme would be nice.
The builded version in zip doesn't work on linux (should it?) I can run it, but when I try to open a file I'm getting following error: