3 ms·
It's not officially supported as I can't test it myself. It should work in theory but as far as I know it nobody got it to run yet.
by mslivo 3y ago
It's not officially supported as I can't test it myself. It should work in theory but as far as I know it nobody got it to run yet.
- t0ps0il 3y ago`java -XstartOnFirstThread -jar setris-desktop-1.0-SNAPSHOT-jar-with-dependencies.jar` I had to add the start on first thread flag to prevent errors and start a launch. I do get stuck after `Starting UI Subsystem` gets logged but I havent put any real effort into trying to debug that yet.
- m_eiman 3y agoI get this when run with homebrew's openjdk (which is JDK 20, I think): mikaeleiman@iMac ~/D/Setris-1.2_LINUX> java -XstartOnFirstThread -jar setris-desktop-1.0-SNAPSHOT-jar-with-dependencies.jar [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers. [30.05.23][11:52:12] Loading Assets [30.05.23][11:52:12] Done. [30.05.23][11:52:12] Starting UI Subsystem [30.05.23][11:52:12] Done. [30.05.23][11:52:12] 0 FPS | 260MB RAM | 8 Threads | Render: 13ms mikaeleiman@iMac ~/D/Setris-1.2_LINUX> A window is opened, looks like the title screen with the text "press A". But nothing happens when I press keys, A or others. Maybe related to the LWJGL warning?
- m_eiman 3y agoI know little of how Java works, and especially how to override libs, but I did try downloading lwjgl's latest release and put all its jars in the classpath: CLASSPATH=(string join ':' (find . | grep jar | grep lwjgl)) java -XstartOnFirstThread -Xmx4G -jar setris-desktop-1.0-SNAPSHOT-jar-with-dependencies.jar (fish instead of bash; the "string join" part takes all the jar paths and joins them on a single line with colon separators) Same output and behavior, though. Also tried with an older JDK (version 17), but that fails to even open a window.
- Tepix 3y agoPerhaps someone can sponsor access to a macOS VM? Renting a Mac Mini M1 is $0.11 per hour at Scaleway.com (by the way, their launch video is hilarious https://youtu.be/jZJnrKjfA3s https://youtu.be/jZJnrKjfA3s )
- gitgud 3y agoThat is the weirdest Saas company video I’ve ever seen…