Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
desmond27 opened this issue Feb 19, 2024 · 1 comment

Comments

@desmond27
Copy link

desmond27 commented Feb 19, 2024

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
@desmond27 desmond27 changed the title "Could not f8ind or load main class org.jbake.launcher.Main" when running Jbake installed with Sdkman in Msys2 "Could not f8ind or load main class org.jbake.launcher.Main" when running Jbake installed with Sdkman on Msys2 Feb 19, 2024
@desmond27 desmond27 changed the title "Could not f8ind or load main class org.jbake.launcher.Main" when running Jbake installed with Sdkman on Msys2 "Could not find or load main class org.jbake.launcher.Main" when running Jbake installed with Sdkman on Msys2 Feb 19, 2024
@lealceldeiro
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants