简体   繁体   English

Debian上的Javac bash文件无法正常工作

[英]Javac bash file on debian not working properly

I need a quick conversion for my compiler and run batch files. 我需要对编译器进行快速转换并运行批处理文件。

I tried looking up the documentation for java and im not understanding why im getting errors with the current command I am preforming. 我尝试查找有关Java的文档,但我不理解为什么我正在执行的当前命令出现错误。

My current command: javac -d bin -cp lib/*: -sourcepath src src/com/rs/*.java 我当前的命令: javac -d bin -cp lib/*: -sourcepath src src/com/rs/*.java

My current error http://puu.sh/92E7H/c75bc01448.png 我当前的错误http://puu.sh/92E7H/c75bc01448.png

This does work on windows and all of the javac options are the same on debian so I am unsure as to why this is happening 这在Windows上确实有效,并且所有javac选项在debian上都是相同的,所以我不确定为什么会这样

Thanks. 谢谢。

It says "file not found." 它说“找不到文件”。 In most cases, that means that the file is not found. 在大多数情况下,这意味着找不到文件。 You probably misspelled something or are in the wrong directory. 您可能拼写错误或目录错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM