Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Steven Wood   on Jul 05 In Java Category.

  
Question Answered By: Clarence Nichols   on Jul 05

Perhaps you can do something as simple as:

java -cp . com.yourcompany.ClassName


It really comes down to what you want to do. Do you need to build up a class
path? Do you need to turn of echoing?
You may want to find a tutorial on writing batch  files to see what you can do.

I strongly suggest looking into the executable JAR mechanism as the way for
launching your applications. It is much
more elegant. You can find out more about executable JARs in the JavaDocs.

Share: 

 
 
Didn't find what you were looking for? Find more on Creating Batch file Or get search suggestion and latest updates.


Tagged: