When you compile a java file have to use the tool "javac" javac
Archivo.java
The problem we have when we have the files in packages and we have to compile these packages. We could compiilar file by file, but we would have problem if these files have references between them so it would compile in order specific files. To solve this we have to put in "root" of the project and apply the tool javac: javac
package / subpackage / *. java
This will compile all the files in that package without problems, without having to be compiled individually.
0 comments:
Post a Comment