Skip to content
Snippets Groups Projects
Commit a366c48b authored by Tomas Stupka's avatar Tomas Stupka
Browse files

[GR-11215] Warnings installing rJava.

PullRequest: fastr/1641
parents 86d2ac3b 7aa0cf57
No related branches found
No related tags found
No related merge requests found
JAVA_SRC=$(wildcard java/*.java)
JFLAGS=-Xlint:none
JAVAC=${JAVA_HOME}/bin/javac
all: $(SHLIB)
......@@ -7,7 +8,7 @@ $(SHLIB): java
.PHONY: all java
java: $(JAVA_SRC)
$(JAVAC) $(JAVA_SRC) || (echo "ERROR: compilation failed, do you have properly configured JAVA_HOME environment variable?"; exit 1)
$(JAVAC) $(JFLAGS) $(JAVA_SRC) || (echo "ERROR: compilation failed, do you have properly configured JAVA_HOME environment variable?"; exit 1)
rm -rfv ../inst/java
mkdir -p ../inst/java
mv java/*.class ../inst/java
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment