• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conexion of server

 
Gerenne Vives
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I conect the server , I must be executable using a command line :

java -jar ...

and my doubt is: it,s necessary to write the mode for the server too.

Thanks in advance.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Irene,

Check your instructions for a statement similar to:

When you submit your assignment, each part (client and server) must be executable using a command of this exact form:

Your programs must not require use of command line arguments other than the single mode flag, which must be supported. Your programs must not require use of command line property specifications. All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.

The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and gui must run.


Note: Highlighting is mine.

So for server mode, you must enter java -jar runme.jar server.

Regards, Andrew
 
Gerenne Vives
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok , thanks for your help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic