File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar file in classpath " Watch ".jar file in classpath " New topic
Author

.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?


Thanks,
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

javac -classpath "path\file.jar" JavaFileName.java


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: http://aspose.com/file-tools
 
subject: .jar file in classpath