Skip to content

vmendo/HelloWorldAnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloWorldAnt

En ese repositorio vamos a:

Creamos el proyecto en el filesystem

training@ubuntu-devops:~/devops/repomartes$ more src/oata/HelloWorld.java
package oata;

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
training@ubuntu-devops:~/devops/repomartes$

Probamos

training@ubuntu-devops:~/devops/repomartes$ mkdir -p  build/classes
training@ubuntu-devops:~/devops/repomartes$ javac -sourcepath src -d build/classes src/oata/HelloWorld.java
training@ubuntu-devops:~/devops/repomartes$ java -cp build/classes oata.HelloWorld
Hello World

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published