https://supertokens.com/ logo
Title
b

BeeMoe

10/26/2022, 2:36 PM
i tried both, but both failed
r

rp

10/26/2022, 2:45 PM
hey @BeeMoe which OS are you running on the raspberry pi?
b

BeeMoe

10/26/2022, 2:47 PM
Should be raspbian
r

rp

10/26/2022, 2:47 PM
maybe try installing docker in it and using our docker image?
b

BeeMoe

10/26/2022, 2:48 PM
I would rather not use docker because I don't know how to use docker
r

rp

10/26/2022, 2:49 PM
i see. Im not sure our core would work without docker on this OS
so then you can use our managed service where we host a core for you
b

BeeMoe

10/26/2022, 2:50 PM
I think its just the java binary that won't work
Maybe if I use a different one it might work
r

rp

10/26/2022, 2:51 PM
different what though?
b

BeeMoe

10/26/2022, 2:51 PM
Java binary
r

rp

10/26/2022, 2:51 PM
i don't understand
b

BeeMoe

10/26/2022, 2:52 PM
I tried running the Java binary that's with the core unzipped folder
(Sorry for taking long on that, was trying to find the exact error on mobile)
r

rp

10/26/2022, 3:05 PM
hmm. I see. So it seems that the JRE we bundle in is not built for that OS
b

BeeMoe

10/26/2022, 3:05 PM
Anyway thats what I found when I looked up the error
Yep
r

rp

10/26/2022, 3:05 PM
maybe you can replace the JRE we have in the installation folder with one that works on your OS
b

BeeMoe

10/26/2022, 3:06 PM
Yea I'll try that later
If this theory is correct then you can easily add support for the OS, too
r

rp

10/26/2022, 3:07 PM
yea true. But tbh, it's super niche and we probably won't be doing it anytime soon anyway
b

BeeMoe

10/26/2022, 3:07 PM
Thats fair
what version of java is it supposed to be?
okay so i think it is the java being incompatible with my raspberry pi, side note i think i broke supertokens from messing with it lol
r

rp

10/27/2022, 5:05 AM
> what version of java is it supposed to be? OpenJDK 15.0.1
b

BeeMoe

10/27/2022, 5:08 AM
okay
for now, do you think a good "bandaid" for this problem could be to host on my (windows 10) computer?
r

rp

10/27/2022, 5:12 AM
yea. that would work for sure
b

BeeMoe

10/27/2022, 5:13 AM
okay nice
im thinking later i fork the core's repository for a better way to modify the installation to work on the pi
i didnt fork, but after i unzipped the zip i replaced the /jre directory with a copy of a java 17 jre directory
and i havent configured and ran the core yet, but this is the furthest i have gotten so far
i will try starting the core in a bit, and i have high hopes it will work
r

rp

10/27/2022, 7:40 AM
sounds good.
b

BeeMoe

10/27/2022, 9:29 AM
i am able to run the core
r

rp

10/27/2022, 9:31 AM
awesome!
b

BeeMoe

10/27/2022, 9:33 AM
yep!
thank you
r

rp

10/27/2022, 10:07 AM
happy to help 🙂