(GUIChooser.java:1371)Īt (GUIChooser.java:1099)Īt (GUIChooser.java:1371)Īnd I'm not sure how to continue. If you run from the command line you can use the -p option to output predictions plus any other attributes you are interested in. People often want to tag their instances with identifiers, so they can keep track of them and the predictions made on them. I'm not concerned about the above, because JDBC is database-related, which I'm not dealing with. For example, if the jar file is located at c:weka-3-2weka.jar you can use: java -cp c:weka-3-2weka.jar weka.classifiers. Trying to add database driver (JDBC): - Error, not in CLASSPATH? Trying to add database driver (JDBC): .mysql.Driver - Error, not in CLASSPATH? In a terminal window with a command line prompt, go to the directory where you have Weka installed, that is where the weka.jar file is located. Trying to add database driver (JDBC): jdbc.idbDriver - Error, not in CLASSPATH? Trying to add database driver (JDBC): RmiJdbc.RJDriver - Error, not in CLASSPATH? This does actually generate some output in y.txt as I'll need to read it later, but it gives: -Registering Weka Editors.
Īll on one line, but broken up for clarity.
All the functionality available in the command line client to the package management system is available in the GUI version, along with the ability to install and uninstall multiple. This is available from the Tools menu in the GUIChooser. As well as a command line client, there is also a graphical interface to Weka’s package management system. So I appended arguments, specific to my problem: java -jar "\C:\Program Files\Weka-3-6\weka.jar" /weka.jar:HOME/wekafiles/packages/DTNB/DTNB.jar rweka.Run -no-load -no-scan GUI package manager. That makes the applet initialize and nothing else. I tried: java -jar "\C:\Program Files\Weka-3-6\weka.jar" In this case, the JAR file is an executable JAR.
A JAR file can have one entry point set in its manifest file. The CLI p Sometimes its desirable to run Weka from a command line interface. So, a JAR file can theoretically contain more than one application, but it has to contain at least one main class to be able to run. .Weka GUI Chooser p Weka is a java program distributed as a JAR file. Each main class is the entry point of an application. I'm trying to run the Weka ML package from the command line without the GUI popping up. A JAR file can contain one or more main classes.