Windows:
java -cp ppp.jar;dir/* my.app.ClassName
Linux:
java -cp ppp.jar:dir/* my.app.ClassName
Note:
- Windows path separator is ";"
- Linux path separator is ":"
- In Windows if cp argument does not contains white space, the "quotes" is optional
Hope it helps!
To know more about Java, It's recommended to join our Java Training in Chennai today.