./mvnw compile exec:java -Dexec.mainClass="tech.catheu.jnotebook.Main"
Use --class-path
or -cp
like with java
.
Make sure your project is built with mvn install
.
If there is a pom.xml
file where jNotebook is launched, jNotebook tries to add the maven runtime dependencies to the classpath.
For more fined grained control, use the following:
java -jar jNotebook.jar --class-path $(./mvnw -q exec:exec -pl 'jnotebook-core' -Dexec.executable=echo -Dexec.args="%classpath")
Use -pl
to control which module classpath you want. Use ... to include test dependencies.
This is undocumented. Please contribute!
Set the log level to DEBUG
:
-Dorg.slf4j.simpleLogger.defaultLogLevel=debug