Answers

Question and Answer:

  Home  Full Stack Developer (Java)

⟩ Tell me how do you run a Java application on the command line and set the classpath with multiple jars?

Some people will be thinking “what!?” but I’ve met a lot of Java developers who’ve not run a Java application outside of an IDE for years.

java -cp /dev/myapp.jar:/dev/mydependency.jar com.codementor.MyApp

 147 views

More Questions for you: