Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Remove the % sign before javac, and there will be happiness (if, of course, the other paths are correct).
If it is unclear why: the example is given for a unix-like system with some csh or tcsh shell. This can already be seen at least from the file delimiters (forward slash). And the % sign simply symbolizes that the javac command is being entered in response to a shell prompt, which it is. Under Windows, of course, you don’t need to write it :)
1) Compile from under the environment.
2) If you want from the CS, then the javac command does not work for you. You even wrote about it in Russian.
3) In Tomcat, you only run the servlet, you don't compile it. Here you are using the Kota library to compile your class.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question