From 5a2a1694e3790e97da5933ac66ff68fb3170c8f0 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 25 Jan 2020 19:39:49 +0000 Subject: Support java directory Add an example of two java files, Main.java and Another.java, where Main.java depends on Another.java. This is part of a larger example of attempting to use Nix to package these. Also ignoring the *.class files that `javac ` outputs. --- java/Main.java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 java/Main.java (limited to 'java/Main.java') diff --git a/java/Main.java b/java/Main.java new file mode 100644 index 000000000000..0bfa9ebc2a34 --- /dev/null +++ b/java/Main.java @@ -0,0 +1,6 @@ +public class Main { + public static void main(String[] args) { + System.out.println(System.getProperty("java.class.path")); + System.out.println(Another.whatis()); + } +} -- cgit 1.4.1