• 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

Packaging problem

 
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) ?
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Partner, take a look at this. I think it may be helpful!
 
Replace the word "snake" with "danger noodle" in all tiny ads.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic