Set CLASSPATH to be accessible in Apache

0

How can I make the environment variable CLASSPATH accessible by apache?

I have a Django project that uses the python-weka-wrapper library that bridges Weka's Java implementation.

Everything works perfectly on the Django development server, however, when I run into apache I get a red error that I did not find LibSVM a library needed to run the code.

I made a export as follows.

export CLASSPATH=/home/wilker/wekafiles/packages/LibSVM/LibSVM.jar:/home/wilker/wekafiles/packages/LibSVM/lib/libsvm.jar

But I do not think it's accessible within Apache.

    
asked by anonymous 08.09.2017 / 18:37

1 answer

0

The libSVM algorithm does not come natively in WEKA until version 3.8.2, you must add the package by the WEKA home screen, in the TOOLS -> Package manager

    
08.03.2018 / 17:35