• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packaging problem

 
Kannan Ekanath
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am doing the Bodgitt and Scarper application and I understand that we have to upload our assignment as a single jar (Lets call it "contractor.jar"). My instructions say that, the jar should contain a "runme.jar" which contains the executables and it also says that

When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
java -jar <path_and_filename> [<mode>]

Now I dont get what <path_and_filename> means? Is that for the runme.jar or the contractor.jar? Because contractor.jar is going to have all docs, userguide and runme.jar. In runme.jar I have added the "Main-Class" manifest entry and running it should be fine.

My question is will SUN run the "runme.jar" after extracting it from "contractor.jar" or will they run "contractor.jar" directly (which will be weird since it has all docs, userguide etc) ?
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Partner, take a look at this. I think it may be helpful!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic