#SpiralView 1.8.5 OpenJDK compatibility [linux ubuntu/pop_os 22.04]

1 messages · Page 1 of 1 (latest)

scenic terrace
#

entire log for the Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path:

scenic terrace
#

I might test/reproduce this behavior on default ubuntu distribution (22.04) to exclude any distribution fork-specific behavior, although I believe it uses same packages as the upstream

cerulean kiln
#

Have you tried any more recent jre?

#

Actually does spiralview even use systemwide java...

#

I don't think it does

#

Also I don't think you can run any SK related stuff natively with 64bit jre on linux (in the steam build though?)

#

I'm not certain

#

@fierce vale

#

How did it work on linux

#

It's spiralview but I'm wondering if anything is broken aside from steam login

cerulean kiln
#

Doesn't matter, can you run it natively on 64bit jre?

fierce vale
fierce vale
#

Well, the client

cerulean kiln
#

Okay so that excludes both of my hypothesis

fierce vale
#

Haven't tried Spiralview

cerulean kiln
#

Can you try it?

#

And see if you can reproduce this issue

fierce vale
#

I could try later in a couple hours maybe

cerulean kiln
#

Sure

fierce vale
#

The initial "no such file or directory" sounds like something flatpak would be the cause of

scenic terrace
#

Forgot that Spiral Knights use proton compatibility in order to run on linux, my bad. So, I installed the default steam .deb package from steam.com + default proton experimental. Same issues as above w/ openjdk 8 jre

#

Will try more recent jre, it seems 21 is current lts release

scenic terrace
scenic terrace
#

I might also try installing and running with Oracle HotSpot JRE implimentation, will report back

cerulean kiln
#

Can you try installing an older spiralview version

#

Like 1.6

scenic terrace
cerulean kiln
#

If it still doesn't work install Knight launcher and try opening spiralview through it

scenic terrace
cerulean kiln
#

Odd

fierce vale
#

Well, 21 would never work

cerulean kiln
#

@mighty relic what does no compatible java check exactly?

cerulean kiln
#

Or 17 at least

fierce vale
#

Really?

#

Interesting

cerulean kiln
#

Yeah

scenic terrace
#

Could it be an issue of using OpenJRE implimintation?

cerulean kiln
#

I'm sure running 17 with spiralview through KL works

mighty relic
#

spiralview requires a compatible java vm which means any 1.7 or 1.8, bear in mind that even if you start spiralview.jar through any java it does not mean it's using that to launch the editors

#

the spiralview "launcher" scouts for any valid java install in your machine and uses that

cerulean kiln
#

Is 1.8 akin to what openjdk8 is
Java versioning is confusing

scenic terrace
#

I updated java through sudo update-java-alternatives --set, based on version outputted by --list, installed over apt, java -version updated immidiately

mighty relic
#

oh

#

I believe I know what the issue there is

#

the launcher checks for the version by checking if the version string explicitly contains "1.7" or "1.8", openjdk does not use that nomenclature and simply displays an "8" so it will not find it compatible even though it is

cerulean kiln
#

that does explain it

#

There were similar issues on linux with no compatible java error iirc

fierce vale
cerulean kiln
#

Ty

mighty relic
#

I'll push a fix for that in kl 2.0.4

#

could I send you the kl version with the fix and let me know if it does work now?

scenic terrace
mighty relic
#

wait reading back on this, it did find openjdk8 compatible

cerulean kiln
#

That's

#

Hm

mighty relic
#

what you're missing is lwjgl64

#

in the native folder, allegedly

scenic terrace
#

checked for potential permission issues: -rwxrwxr-x 1 spiralview spiralview 25966175 Sep 3 20:28 ./KnightLauncher.jar*

#

the user-owner of ubuntu instance is spiralview, under him steam was installed

mighty relic
#

wait

#

why is there a java_vm folder aren't you on linux

#

that's for windows only

#

oh well you got it from steam

cerulean kiln
#

Did you install SK through proton compatibility layer

mighty relic
#

I guess that makes sense

#

delete the java_vm folder

#

so it doesn't detect it as windows

#

altho you'll have another issue and I believe this is the root of the problem

scenic terrace
mighty relic
#

if you're trying to start it from the steam version downloaded with proton

scenic terrace
mighty relic
#

you wont have the .so files for lwjgl

#

cause it'll all be .dll

#

the ones in the native folder in sk's root directory I mean

scenic terrace
mighty relic
#

seeing how your sk root directory is inside a folder named spiralview I assume you only want this installation to toy with spiralview

cerulean kiln
#

I wonder if you can launch spiralview through proton

mighty relic
#

so I'd suggest downloading the standalone version and then using kl from there

fierce vale
#

I was very tempted to suggest that myself earlier lol

scenic terrace
mighty relic
#

nono my bad I didn't mean standalone spiralview

#

install it, and then put kl's jar within that installation

#

and it should be good to go

scenic terrace
mighty relic
#

yes when running spiralview through kl you don't need the spiralview.jar

#

it's already bundled within

scenic terrace
#

understood, will install and check, although it might be tomorrow, is this okay?

mighty relic
#

no problem

scenic terrace
#

ty, one more thing - knight launcher I should use one that is patched?

mighty relic
#

the one I sent here you mean?

scenic terrace
#

yes

mighty relic
#

nope I just reverted the change as it wasn't anything to do with it

#

you can use 2.0.3

scenic terrace
#

got it, appreciate the help!

mighty relic
#

no worries let me know if it works later

fierce vale
mighty relic
#

let me add some logging to see where the issue is there

fierce vale
#

Isn't it the same issue as earlier?

mighty relic
#

shouldn't be, I saw this one before but I couldn't debug it

#

sec I'll dm you so the logs aren't public

fierce vale
#

Ok

scenic terrace
mighty relic
#

the warning should be gone when 2.0.4 goes live in a bit

scenic terrace
mighty relic
#

the one you attached is the log on pop os?

scenic terrace
#

no, it's one from ubuntu

mighty relic
#

send me the one from pop os so I can take a look

scenic terrace
#

OS's names in logs' filenames

#

Regarding ubuntu log: spiralview@spiralview-Standard-PC-Q35-ICH9-2009:~/spiral$ file java/bin/jar java/bin/jar: cannot open 'java/bin/jar' (No such file or directory) - the searched jar seem to be abscent

mighty relic
#

the warning I see on pop os isn't an issue, java 11 is indeed non compatible

scenic terrace
mighty relic
scenic terrace
mighty relic
#

there's also some null pointer exceptions in both logs files which I know why are occurring and should be fixed next update

#

but they shouldn't break the launcher nonetheless

scenic terrace
mighty relic
#

great to hear

scenic terrace
#

just tested steam version for linux, seems that it is detected as windows

#

1 moment, i'll attach logs

mighty relic
#

I believe the steam one is always windows regardless if you have proton enabled or not

#

cause there's no linux version of it

#

only windows and mac

scenic terrace
#

there KL crashes with the log above

#

this is same SK installation from Steam where java_vm was removed

#

please note, this is not an issue for me, only testing wherein it is appropriate in a current context

mighty relic
#

I see. this should be normal behavior too, java_vm would never be missing from the steam install in a normal scenario

#

at first I thought you had it for some other reason that's why I asked for it to be removed

scenic terrace
#

ok, I can reinstall Steam's SK and test KL there

mighty relic
#

I assume kl will launch but the game won't since it won't be able to execute java.exe to launch the game for obvious reasons

scenic terrace
#

for behavior reproduction, it's ubuntu 22.04.4 LTS desktop, installer was run with default settings. Very gratefull for 2.0.4 release

cerulean kiln
#

Is the issue solved then?

scenic terrace
cerulean kiln
#

Thanks