Javac fails to find symbol when wildcard is used, but works when .java file is manually specified -
when compile compiler code:
@echo off javac -d bin -sourcepath src/*.java src/sign/*.java src/alert.java pause i don't errors. when compiler code
@echo off javac -d bin -sourcepath src/*.java src/sign/*.java pause i errors 
the alert.java first file

have tried one
navigate src directory javac -d ../bin *.java sign/*.java all required jars , dependencies must set in class path before compilation or can use -classpath option while compiling.
--edit--
try 1 without -sourcepath option
javac -d bin src/*.java src/sign/*.java
Comments
Post a Comment