Mix --class-path and --module-path in javac (JDK 9)
问题 I tried to follow this question but it does`t work for me. I want to compile 1 module (which does not requires any other module or jar) together with other classes which use this module and will be in unnamed module. javac -cp lib\* --module-path modules --add-modules simpleModule -d out @classes.txt After I run this command I get " package org.... does not exist". But jar with this package is in lib directory lib - directory with my libraries-jars modules - this folder contains module