Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

readme.txt

 
Nate Johnson
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we assume that the grader will have their path setup correctly to run java correctly? The syntax for my client is
java -jar client.jar <options>
If the bin directory for java is not in the path, it will not work (obviously)...
Thanks,
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nate,
He wouldn't be much of an examiner if he didn't, now would he? Seriously though, it is best to avoid all environmental setup if possible and most especially setting the CLASSPATH since there are as many ways to do it as there are platforms that Java runs on.
So I guess the short answer is that it is safe to assume that the examiner's CLASSPATH is properly set.
Hope this helps,
Michael Morris
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java -jar client.jar <options>

I'd day that is the best way to start the client.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic