summaryrefslogtreecommitdiffstats
path: root/gcj
diff options
context:
space:
mode:
Diffstat (limited to 'gcj')
-rw-r--r--gcj/.cvsignore13
-rw-r--r--gcj/Hello.java6
-rw-r--r--gcj/Makefile.am5
3 files changed, 24 insertions, 0 deletions
diff --git a/gcj/.cvsignore b/gcj/.cvsignore
new file mode 100644
index 00000000..e250e085
--- /dev/null
+++ b/gcj/.cvsignore
@@ -0,0 +1,13 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+dbus-test
+*.bb
+*.bbg
+*.gcov
+*.da
+dbus-arch-deps.h
+.dbus-keyrings
diff --git a/gcj/Hello.java b/gcj/Hello.java
new file mode 100644
index 00000000..b7a10180
--- /dev/null
+++ b/gcj/Hello.java
@@ -0,0 +1,6 @@
+
+class Hello {
+ public static void main(String[] args) {
+ System.out.println("Hello World!"); //Display the string.
+ }
+} \ No newline at end of file
diff --git a/gcj/Makefile.am b/gcj/Makefile.am
new file mode 100644
index 00000000..8381afe6
--- /dev/null
+++ b/gcj/Makefile.am
@@ -0,0 +1,5 @@
+noinst_PROGRAMS=hello
+
+hello_SOURCES=Hello.java
+
+hello_LDFLAGS=--main=Hello