Closed F1reP0wer12345 closed 10 months ago
This is issue of your minecraft server jar file. It doesn't include .so
file(s) for your CPU architecture.
Considering that it looks number of paths including /data/data/com.termux/files/usr/lib
, you may try to run
pkg install libsqlite
though I won't guarantee that it would work properly (https://wiki.termux.com/wiki/Differences_from_Linux).
I'm closing this ticket as issue neither bug of openjdk-17
nor of Termux environment.
Problem description
I hope this description is more helpful then the title. Hi! I'm trying to run a Minecraft papermc server from my phone because, why not? Everything in a vanilla Minecraft server works, but when i try to install certain plugins that save configs to an SQLite db file, it has trouble doing so. Because I think the fork of openjdk-17 is doing this i thought I'd share it here. The only reason i think this is because it does work on my computer. Correct me if I'm wrong. The two plugins I can confirm have this behavior are: XConomy Itemjoin
The following error code occurs for Xconomy:
I've also found some codesnippets from these plugins, and because they're opensource, I thought sharing what code triggers this might help. A simple search for sqlite inside of the repo for XConomy might also help. Here are some code snippets that trigger this behavior: https://github.com/YiC200333/XConomy/blob/e57b9c8b3c4b21eb5f0da829b1baee5e312eab5e/XConomy-Core/src/main/java/me/yic/xconomy/utils/DatabaseConnection.java#L119 https://github.com/YiC200333/XConomy/blob/e57b9c8b3c4b21eb5f0da829b1baee5e312eab5e/XConomy-Core/src/main/java/me/yic/xconomy/data/sql/SQL.java#L50 https://github.com/YiC200333/XConomy/blob/e57b9c8b3c4b21eb5f0da829b1baee5e312eab5e/XConomy-Core/src/main/java/me/yic/xconomy/data/DataLink.java#L43
Correct me if it's not the openjdk fork, but if it is, could you please fix it? Otherwise could you try to give me some pointers of what else could be going wrong here? I honestly don't know where else to ask.
What steps will reproduce the bug?
pkg install openjdk-17
java -Xmx3G -DPaper.IgnoreJavaVersion=true -jar server.jar nogui
(change the first parameter to change how much ram it is allowed to use. I prefer 3GB)What is the expected behavior?
No response
System information
termux-info: