wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes A trouble of System class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "A trouble of System class path" Watch "A trouble of System class path" New topic

A trouble of System class path

chris liao

Joined: Jul 24, 2005
Posts: 27
I have met a trouble.I want to find out all jar files below a folder them orgnize them into system class path, but i don't know the detail about those files,for example:file name or others. The calss path shoulb be ready bofore run my java program in a bat file. We can use bat script to combine these files ? Would you help me on it ?


rem organize files into classpath from a folder

/************ How to organize them? **************

set classpath =........


java XXXX
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60752

Please take the time to choose the correct forum for your posts. This forum is for questions on Servlets.

This post has been moved to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: A trouble of System class path
Similar Threads
I can't run my first program on command line
how to compile using Eclipse
Shortcut for Project Execution
Getting error in sample program