clerk

Jakub Holý (HolyJak) 2024-04-03T15:11:04.646129Z

Hello! Trying to run Clerk, I get > Execution error (NoSuchMethodError) at com.oracle.truffle.api.library.LibraryFactory/ensureLibraryInitialized (LibraryFactory.java:384). > ‘void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)’ > Cause: Syntax error macroexpanding at (markdown.clj:27:19) I have

java --version
openjdk 22 2024-03-19
OpenJDK Runtime Environment Temurin-22+36 (build 22+36)
OpenJDK 64-Bit Server VM Temurin-22+36 (build 22+36, mixed mode)
Though it seems the stack trace contains also org.graalvm.polyglot.* so I may be running GraalVM unknowingly. Is this a known issue? 🙏 (I switched to java 11, which fixed the problem for me.)

mkvlr 2024-04-03T15:59:04.348769Z

Yep, we’re tracking this as https://github.com/nextjournal/clerk/issues/642 and @andrea712 is evaluating options, maybe switching to a Java markdown parser

👍 1
🙏 1