0

I can't seem to get this to work from a unix terminal

java -cp a.jar;b.jar ...

I know that this works:

java -c "./*" ...

But python doesn't know how to recognize and recover the output of a wildcard statement. Is there a way to explicitly state the class path jars in a unix terminal?

user455497
  • 637
  • 2
  • 6
  • 13
  • Possible duplicate of [Including all the jars in a directory within the Java classpath](https://stackoverflow.com/questions/219585/including-all-the-jars-in-a-directory-within-the-java-classpath) – Stewart Oct 04 '17 at 11:50

1 Answers1

1

You are using the wrong path separator for unix based java.

Try

java -cp a.jar:b.jar ...
Steve C
  • 18,876
  • 5
  • 34
  • 37