jbake-org / jbake

Java based open source static site/blog generator for developers & designers.
http://jbake.org
MIT License
1.11k stars 327 forks source link

"Could not find or load main class org.jbake.launcher.Main" when running Jbake installed with Sdkman on Msys2 #781

Open desmond27 opened 6 months ago

desmond27 commented 6 months ago

I have been doing some tests to see if this works on Msys2. I created a directory and ran jbake -i and I get the following error:

REDACTED@REDACTED MSYS /c/Users/REDACTED/temp/jbake-test
$ jbake -i
Error: Could not find or load main class org.jbake.launcher.Main
Caused by: java.lang.ClassNotFoundException: org.jbake.launcher.Main

Jbake was installed to this path:

$ which jbake
/home/REDACTED/.sdkman/candidates/jbake/current/bin/jbake

Could someone check what's the issue here?

Edit: FWIW, the JVM used to run Jbake was also installed via Sdkman.

$ which java
/home/REDACTED/.sdkman/candidates/java/current/bin/java
lealceldeiro commented 6 months ago

Sometimes I'm wondering if this project will be maintained in future. I see almost no active development on it.