knowitall / openie

Quality information extraction at web scale.
Other
457 stars 108 forks source link

Failing to create stand-alone jar. #17

Closed smatthewenglish closed 9 years ago

smatthewenglish commented 9 years ago

I've run the commands described in the README document, i.e. the variations of: 'sbt clean compile assembly' However my machine is just stuck on the following screen: cap Is there something I can do to compel this jar file into existence?

What I actually want to do is to input my own data to OpenIE and specify the output destination, is that possible if one runs the program with the command sbt 'run-main edu.knowitall.openie.OpenIECli'

It seems like the specifications for particular data input parameters are set up to work with the .jar file, at least according to the README doc.

bhadramani commented 9 years ago

Then should use java option -J-Xmx2700M or -J-Xmx4G as mention in Readme.

smatthewenglish commented 9 years ago

I attempted that but the result was the same. I've been using reVerb because it built normally.

bhadramani commented 9 years ago

you should have 4-8GB memory along with jdk7.

smatthewenglish commented 9 years ago

maybe it's because I have jdk8? I'll change the default to jdk7 and let you know what happens.

bhadramani commented 9 years ago

hope it is solved...

skprasadu commented 8 years ago

Looks like it is only windows specific issue. This can be built both by Java 7 and Java 8, but the way to build it is,

set JAVA_OPTS=-Xmx4g && sbt clean compile assembly

It will take about 15min and will be built.