Try to execute from opennlp-tools folder. The command would be bin/opennlp.bat
Em quarta-feira, 16 de abril de 2014, dhanashree thakur < [email protected]> escreveu: > when I open opennlp.bat file,it closes itself immediately.and when i write > command in cmd promt, set -Xmx4096m to -Xmx1024m ,it give error that > environmental variable for -Xmx4096m to -Xmx1024m is not defined. > How to set environmental variable for setting this. > > > On Wed, Apr 16, 2014 at 1:29 AM, swapnil marathe > <[email protected]<javascript:;> > >wrote: > > > On Wed, Apr 16, 2014 at 1:42 PM, dhanashree thakur < > [email protected] <javascript:;> > > >wrote: > > > > > Invalid maximum heap size: -Xmx4096m > > > > > > this is your problem > > > > > > > > open opennlp.bat file edit it : > > > > if you have 2gb of ram on your pc you can set > > -Xmx4096m to -Xmx1024m or -Xmx512m > > > > so set it according to ram present on your system > > > -- William Colen
