In a notebook I add classpath via %maven magic, e.g.: %maven org.dflib:dflib-jupyter:1.0.0-SNAPSHOT . Then trying to get classpath from system properties, only shows the kernel jar and no extra jars:
System.getProperty("java.class.path")
/Users/andrus/Library/Jupyter/kernels/java/jjava-1.0-M2.jar
The same thing works in JShell - all classpaths added via /env --class-path are visible in system properties.