Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

What does the java cp option do?

Asked by Anusha Acharya Oct 13, 2022 1.4K views 1 answer
Share

About this question

java -cp FILE.jar FILE.Main inputfile 

What does the -cp option mean? For that matter, what does a negative sign in front mean? I've searched everywhere and couldn't find the answer.

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.