commit 77acfd99bc9c1f521988ebf75c44be735513c0ee Author: Ramon Caballero Date: Tue Jul 23 15:21:48 2024 +0100 Typical Hello World written in Java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8aa9ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Unwanted Eclipse IDE settings files: +/.classpath +/.project +/.settings/ + +# Unwanted build generated folders: +/bin/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..1b8addb --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# HelloJava + +Typical Hello World written in Java + +## Compile + +javac HelloJava.java + +## Run + +java HelloJava diff --git a/src/HelloJava.java b/src/HelloJava.java new file mode 100644 index 0000000..d8d6cf6 --- /dev/null +++ b/src/HelloJava.java @@ -0,0 +1,7 @@ +public class HelloJava +{ + public static void main(String[] args) + { + System.out.println("Hello Java!"); + } +} \ No newline at end of file