'How compile and run a java program using shell script?
My shell script is:
javac Problem10.java
java Problem10
and run this command
sh repeticao1/Problem10/malha1/cover.sh
The output is:
error: file not found: Problem10.java Usage: javac use --help for a list of possible options Erro: Não foi possível localizar nem carregar a classe principal Problem10 Causada por: java.lang.ClassNotFoundException: Problem10
What am I doing wrong?
Tk
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
