• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bodgitt and Scarper jar file

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
in the Bodgitt and Scarper assignment I'm packaging the solution into the executable jar but having a few problems with

the manifest file.

My command line is

jar cvfm runme.jar manifest.mft *.*

this is run in the root directory of the submission to include code & docs directories.

My problem is with the manifest file and correctly specifying the path to main in suncertify.client.ContractClient.class

At the moment my manifest contains the two lines below
Manifest-Version: 1.0
Main-Class: suncertify\client\ContractClient.class


Do I need a Classpath command too? Is my syntax for the location of main ok?

Any help appreciated

T.
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is my syntax for the location of main ok?


I think it should be this:
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic