weka.sh 475 B

1234567891011121314151617
  1. #! /bin/sh
  2. # Note: the '-Xmx2g' flag is used to set the maximum memory that the java
  3. # program is allowed. When working with large data sets, this number may need
  4. # to be increased based on how much memory you wish to allow weka to have.
  5. # Specifying command line arguments will override the defaults shown here.
  6. # Example: '-Xmx4g'
  7. DEFAULT_ARGS='-Xms32m -Xmx2g'
  8. if [ $# -gt 0 ]; then
  9. ARGS="$@"
  10. else
  11. ARGS="$DEFAULT_ARGS"
  12. fi
  13. java $ARGS -jar /usr/share/java/weka/weka.jar