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 .jar file in classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar file in classpath " Watch ".jar file in classpath " New topic

.jar file in classpath

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
How to set the .jar file in classpath through javac command?

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

javac -classpath "path\file.jar"

If there are more than two jar file, seprate them with comma ";" in between them !!

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: .jar file in classpath
It's not a secret anymore!