The Data Mining Forum                             open-source data mining software data mining conferences Data Science for Social and Behavioral Analytics DSSBA 2022 data science journal
IMPORTANT: This is the old Data Mining forum.
I keep it online so that you can read the old messages.

Please post your new messages in the new forum: https://forum2.philippe-fournier-viger.com/index.php
 
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.

Options: ReplyQuote


This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.