-1

I can run elki's algorithm with command like this:

java -jar elki-bundle-0.7.1.jar

But how to run algorithms within elki-tutorial-0.7.0.jar?

Has QUIT--Anony-Mousse
  • 76,138
  • 12
  • 138
  • 194
Alex Luya
  • 9,412
  • 15
  • 59
  • 91

2 Answers2

0

You need to add it to your Java classpath.

Has QUIT--Anony-Mousse
  • 76,138
  • 12
  • 138
  • 194
0

Add all jars you want to the classpath:

java -cp elki-bundle-0.7.1.jar:elki-tutorial-0.7.0.jar de.lmu.ifi.dbs.elki.application.ELKILauncher

If you have all jars in a folder jars, then

java -cp "jars/*" de.lmu.ifi.dbs.elki.application.ELKILauncher

If you use -cp, you need to give the main class with full class name. With -jar (which only supports a single jar), the class name is in the jar.

Erich Schubert
  • 8,575
  • 2
  • 26
  • 42