summaryrefslogtreecommitdiff
path: root/examples/classpath-from-jars-1
diff options
context:
space:
mode:
authorStephane Bortzmeyer <bortz@debian.org>2000-11-09 16:27:52 +0000
committerStephane Bortzmeyer <bortz@debian.org>2000-11-09 16:27:52 +0000
commit4038e562e8cdab39cb008fa3fb61848c60424023 (patch)
tree713e0f217b31d782fa46a64a557393e4530f7ce8 /examples/classpath-from-jars-1
parent373e81fe1c0f5aafa010bf4c6003eb8162f8e4b1 (diff)
downloadjava-common-4038e562e8cdab39cb008fa3fb61848c60424023.tar.gz
examples/ directory
Diffstat (limited to 'examples/classpath-from-jars-1')
-rw-r--r--examples/classpath-from-jars-112
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/classpath-from-jars-1 b/examples/classpath-from-jars-1
new file mode 100644
index 0000000..bea5802
--- /dev/null
+++ b/examples/classpath-from-jars-1
@@ -0,0 +1,12 @@
+# No shebang here: you have to source this file or to include
+# it into a shell startup file, since it changes the environment.
+# Bourne shell syntax.
+
+# From: Aaron Brashears <gila@gila.org>
+
+for jar in /usr/share/java/*.jar ; do
+ CLASSPATH=${CLASSPATH}:$jar
+done
+
+
+