Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CLASSPATH base startup

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All, I have a doubt. Do I need to provide instructions of running the client and server applications if they are not executed from the directory in which the jars are present?
What I mean is can I just say something like:
1. cd to the directory where the jar files are located.
2. Start the server with java -jar server.jar
3. Start the client with java -jar client.jar
or should I account for the tester running it from other directory in which the class path would be required like:
1. Start the server with java -classpath C:\fbn\jars\client.jar -jar C:\fbn\jars\client.jar
Also when I type these in the README.txt they goto differnt lines, do we need to specify that the entire command is one and that there should be spaces between parameters and so on???
How detailed should this be???
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
Mark

having it run on two lines in your readme.txt is fine. And you don't need to worry about them not running it from a different directory. If you tell the to be in that directory that has the ajr files, then they will do that.
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks dude . I am a bit sick of this documentation part, what is the need to describe the files submitted when the javadoc is already there along with the desing and user doc..grrr
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic