@here
do we to go with jre-15 specifically for https://github.com/supertokens/supertokens-core/wiki/Building-from-source
as when I try with jre-17, and run docker image i get error
sudo docker run -p 3567:3567 authright-mysql
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/Unsafe
at io.supertokens.Main.suppressIllegalAccessWarning(Main.java:472)
at io.supertokens.Main.start(Main.java:101)
at io.supertokens.Main.main(Main.java:89)
Caused by: java.lang.ClassNotFoundException: sun.misc.Unsafe
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 3 more
r
rp
03/02/2023, 10:04 AM
hey @paras - yes. OpenJDK 15.0.1
p
paras
03/02/2023, 10:42 AM
what's the reason for that?
r
rp
03/02/2023, 10:42 AM
at the time we started work, that was the latest one i think
p
paras
03/02/2023, 10:44 AM
so is there any way to use tha latest one?
or maybe other
r
rp
03/02/2023, 10:44 AM
not without changing the existing code to get it to work with the latest one