diff --git a/install/install.sh b/install/install.sh index 9228f09..85549b5 100644 --- a/install/install.sh +++ b/install/install.sh @@ -235,4 +235,9 @@ if [[ $? != 0 ]]; then echo "[ERROR] install_library returned a non zero status code" exit fi +finish_installation +if [[ $? != 0 ]]; then + echo "[ERROR] finsh_installation returned a non zero status code" + exit +fi echo "[INSTALL] LinkJVM java environment installed!" diff --git a/java-environment/javac/javac.c b/java-environment/javac/javac.c index 101fc46..1a15899 100644 --- a/java-environment/javac/javac.c +++ b/java-environment/javac/javac.c @@ -2,7 +2,7 @@ #include int main(int argc, char *argv[]){ - char command[2048] = "java -jar /usr/local/LinkJVM/lib/javac/ecj-3.7.jar -7"; + char command[2048] = "java -jar /usr/local/LinkJVM/lib/javac/ecj-3.7.jar -7 "; int i = 1; for(i; i < argc; i++){ strcat(command, argv[i]);