javac: directory not found: bin
Usage: javac <options> <source files>
use -help for a list of possible options
when i try to run
javac -sourcepath src Downloads//Runner.java -d bin
i get error.
those are my paths
vegan@vegan:~$ echo $PATH
/home/vegan/bin:/home/vegan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/lib/jvm/java-8-oracle/bin
vegan@vegan:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
vegan@vegan:~$
because in doc it says
ACME has a utility which generates audit reports - lists of files owned by
users. Substitute JAVA_HOME with your JVM installation and you can build & run the utility like this:
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
$JAVA_HOME/bin/javac -sourcepath src src/com/reengen/utils/auditreporter/Runner.java -d bin
Create the bin
directory first. Run mkdir bin
and try again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.