File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes java -cp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java -cp" Watch "java -cp" New topic

java -cp

Shelly Biswal

Joined: Sep 07, 2007
Posts: 17
hi was just wondering what does java -cp exactly do and what parameters does it take???
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Documentation of "java" command

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15081

"shelly", please check your private messages. You can see them by clicking My Private Messages.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
subject: java -cp
It's not a secret anymore!