diff --git a/tools/swig/run_java_example.sh b/tools/swig/run_java_example.sh index c84be3527b..2f5b28bdce 100755 --- a/tools/swig/run_java_example.sh +++ b/tools/swig/run_java_example.sh @@ -1,5 +1,11 @@ #!/bin/sh +if [ ! -f libjavalammps.so ] +then \ + echo "Need to compile 'libjavalammps.so' first for this script to work" + exit 1 +fi + cat > example.java < example.lua < example.pl < example.py < example.rb < example.tcl <