diff --git a/.travis.yml b/.travis.yml
index 3eded337aab4245fe7e31e9036bd397cf11c35d6..f47a5e98ed487dc68dd96b07130872c9bd998de1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,7 +95,7 @@ install: true
 before_script:
   - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; fi
 script: 
-  - if [ "$BINDINGS" == "java" ]; then sudo scons --prefix=/usr install && mvn package -P linux; else scons bindings=$BINDINGS test; fi
+  - if [ "$BINDINGS" == "java" ]; then sudo scons install prefix=/usr && mvn package -P linux; else scons bindings=$BINDINGS test; fi
 notifications:
   irc: 
     channels: