SPMF : how to fix a HeadlessException?
Date: December 17, 2014 03:34PM
Hi,
Below, I post a solution to a problem that a few users have had using SPMF.
If you are running SPMF from the command line interface and are getting a HeadlessException, it means that you are running SPMF on a platform that has no configured graphical interface (e.g. on some linux server).
To solve the problem, run the code as follows using the headless parameter: java -Djava.awt.headless=true [....].
It should solve the problem.
For example:
java -Djava.awt.headless=true -Xms512m -Xmx10g -jar spmf.jar run FPGrowth_itemsets_with_strings trans-ww.csv outsup0.35.31114.txt 0.35
Best,
Philippe
Edited 1 time(s). Last edit at 12/17/2014 03:35PM by webmasterphilfv.