Set CLASSPATH to be accessible in Apache

Asked

Viewed 34 times

1

How do I for the environment variable CLASSPATH be accessible by apache?

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

Everything works perfectly on the Django development server, however when I run on apache I get a bug not having found the LibSVM a library needed for code execution.

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 believe that it is not accessible inside the apache.

1 answer

0

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.