Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
endif
JFLAGS = -g
-JC = javac -cp "$(CLASSPATH):."
+JC = javac -classpath "$(CLASSPATH):."
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
LIBPATH="/usr/local/lib:/usr/lib"
fi
-java -cp "$CLASSPATH:." -Djava.library.path="$LIBPATH" Hello
+java -classpath "$CLASSPATH:." -Djava.library.path="$LIBPATH" Hello
cd -
rm -f *.class
JULTest.class: JULTest.java
- $(JCC) -cp $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java"
+ $(JCC) -classpath $(JUL_jar_file) -d "$(builddir)" "$(srcdir)/JULTest.java"
endif