Hi All,
I'm running kubuntu 11.4 and am having a problem with the distribution of weka, the machine learning and knowledge analysis program. It's a java program, and requires being able to adjust one's classpath in order to use supporting classes, in my case the jdbc postgres driver.
Expected behavior:
Running weka using the kubuntu supplied startup script should honor and pass along the CLASSPATH environment variable
$ export CLASSPATH=/usr/share/java/postgresql.jar
$ weka
[select help->Systeminfo]
[ java.class.path shoud show "/usr/share/java/postgresql.jar:/usr/share/java/weka.jar" ]
Actual behavior:
The CLASSPATH environment variable is either overwritten or ignored
$ export CLASSPATH=/usr/share/java/postgresql.jar
$ weka
[select help->Systeminfo]
[ java.class.path shows ":/usr/share/java/weka.jar" ]
Workaround:
Set the CLASSPATH environment variable to point to everything needed and then run the program manually:
$ export CLASSPATH=/usr/share/java/postgresql.jar:/usr/share/java/weka.jar
$ java weka.gui.GUIChooser
This work-around is silly... clearly the start up script /usr/bin/weka that is distributed with kubunutu is broken. What do I need to do to get this fixed in subsequent versions of the package?
I'm running kubuntu 11.4 and am having a problem with the distribution of weka, the machine learning and knowledge analysis program. It's a java program, and requires being able to adjust one's classpath in order to use supporting classes, in my case the jdbc postgres driver.
Expected behavior:
Running weka using the kubuntu supplied startup script should honor and pass along the CLASSPATH environment variable
$ export CLASSPATH=/usr/share/java/postgresql.jar
$ weka
[select help->Systeminfo]
[ java.class.path shoud show "/usr/share/java/postgresql.jar:/usr/share/java/weka.jar" ]
Actual behavior:
The CLASSPATH environment variable is either overwritten or ignored
$ export CLASSPATH=/usr/share/java/postgresql.jar
$ weka
[select help->Systeminfo]
[ java.class.path shows ":/usr/share/java/weka.jar" ]
Workaround:
Set the CLASSPATH environment variable to point to everything needed and then run the program manually:
$ export CLASSPATH=/usr/share/java/postgresql.jar:/usr/share/java/weka.jar
$ java weka.gui.GUIChooser
This work-around is silly... clearly the start up script /usr/bin/weka that is distributed with kubunutu is broken. What do I need to do to get this fixed in subsequent versions of the package?
Comment