Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

CLASSPATH base startup

 
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???
 
ranger
Posts: 17346
11
Mac IntelliJ IDE 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
 
"I know this defies the law of gravity... but I never studied law." -B. Bunny Defiant tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic