Who can tell me about the usage of jar -m ?

Hi!
When I try to add my Manifest.mf to my .jar file , use :
jar -cvfm mytest.jar Manifest.mf -C camon/test/ test.class
but the result is a error :
  java.io.FileNotFoundException: Manifest (The system cannot find the file specifi
   ed)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:64)
        at sun.tools.jar.Main.run(Main.java:124)
        at sun.tools.jar.Main.main(Main.java:904)
my Manifest.mf is like following :
    Manifest-Version: 1.0
    Name: "Camon Test for Manifest"
    Main-Class: camon.test.Test
    Created-By: 1.3.1_01 (Sun Microsystems Inc.)
Any help is appreciated!!

Yes , it can work normally ,but you can't access your Manifest.mf when you java -jar mytest.jar , I get the way now :
1 . Create folder meta-inf ,and copy Manifest.mf here;
2 . use this command :
jar -cvfm mytest.jar meta-inf/Menifest.mf -C camon/test/ Test.class
3 . then ,you can run a .jar with :(of course you will init the Main- Class)
java -jar mytest.jar

Similar Messages

  • Who can tell me about the plugin bug

    The Plugin
    X-Plane 10/Resources/plugins/shrink-wrap.plugin/mac.xpl.
    on my iMac 27' refuse to start because my iMac 27' system is blocking it.
    Who can tell me why this blocade and
    What can I do abot?

    I need more details about the exception and where it occurs in your program.
    Also, the protocol trace with your mail server might help. (See the JavaMail
    FAQ.)
    BTW, you should probably use the setText method instead of setContent.

  • Who can tell me about his forms2adf experience?

    Hello!
    Why is forms2adf not part of the evaluation version? This makes no sense to me. It is hard for me to convince my chef, to buy a software and I can't even tell him, if we will need it or not. All the reports and demos on forms2adf look very nice, but I have to see how it works with our forms implementations.
    What exactly is happening when forms2adf does the conversion? Did I understand it correct that forms2adf does the following things.
    1. Create jsp pages based on the forms canvas
    2. Create the ADF task flows
    3. Create the ADF Datacontrols Model
    4. Create the ADF BC EO, VO and AppModule
    5. Copy all the plsql code from forms into the database
    Does anyone have experience with forms2adf and can tell me about his experience?
    Greetings
    Tobi

    Tobi,
    I will get back to you later with a longer reply, there is a lot of "misperception" around forms2adf.
    Regarding the functionality: 1) to 4): correct, 5) not correct, we only copy the PL/SQL code as documentation nodes to the application definition editor.
    You might want to check out chapter 13 of the JHeadstart Developers guide:
    http://download.oracle.com/consulting/jhsdevguide1111.pdf
    Steven Davelaar,
    JHeadstart team.

  • Who can I call about the email message to change my password when I haven't requested this

    Who can I call about email messages to change my password when I have not requested this

    See my reply to your earlier post.

  • I got hacked and the 'Report a Problem' isn't working. Who can I contact about the purchase I didn't make?

    There is a purchase on my iTunes account made yesterday. I DID NOT make this purchase, but the 'Report a Problem' feature is not working. I am following the directions from the Help section accurately. When I logged in though, it said I needed to change my password because of suspicious activity. Who can I contact?

    Hello,
    I woke up today around 9:30 am UK Time, checked my emails on my phone and then started playing "Talking Ginger" kids game because of one of the offers, around 10:00 I noticed an email alert on top of my iphone screen about itunes receipt.
    When I opened this, it was about "Kids Song Collection" purchase reciept for £1:49.
    I was shocked because first of all my 3 years old daughter is sleeping, secondly I have security settings configured in iphone with a complex password to purchase and she does not know that password and thirdly I am using the phone and I know I didn't even open App Store or that app so how come this has happened.  I did a search on google about how to report and tried to follow the process through itunes but every time I click on "report a problem in itunes" this opens a new apple page in firefox "http://www.apple.com/uk/support/itunes/"
    Whilst further browsing Purchase History in itunes I also noticed another purchase from yesterday about "FireWorks Arcade" and this was unbelieveable because I didn't even receive any receipt yesterday about that purchase and again I am the only one who can make purchases due to the complex password known only to myself.
    I am not sure what is going on here, but clearly as per today's incident it seems that apple is loosing their control.
    Please advise what can be done here.

  • Who can tell me all the "App of the Week"?

    I wanna know App of the Weeks before, who can give me the list?

    No one.
    You can look in the iTunes store for the current app of the week.

  • Who can tell when will the version of JES for RHEL5 be leased?

    One of my customer had ordered the version for RHEL4, but they changed their platform from 4 to 5 for the free HA software in 5. Now the project is pending because we can not install JES for RHEL4 on RHEL5 well. Asked Sun postsales and presales, no one can answer my question. I remembered there should be JES project roadmap inside Sun - before it was opened for partners. Now they said no.
    -Sun lost his software developing plan? or can not control his SW dev. progress? why I can't know the answer?

    Yes , it can work normally ,but you can't access your Manifest.mf when you java -jar mytest.jar , I get the way now :
    1 . Create folder meta-inf ,and copy Manifest.mf here;
    2 . use this command :
    jar -cvfm mytest.jar meta-inf/Menifest.mf -C camon/test/ Test.class
    3 . then ,you can run a .jar with :(of course you will init the Main- Class)
    java -jar mytest.jar

  • Who can help me about the "Quartz Enterprise Job Scheduler"?

    i do not kown how to use that .

    It is very easy,read the begineers tutorial and u
    will get itI htink after more then two years, he either found it out or stopped caring. If you have to revive a dead thread, why not at least with a useful reply?

  • Who can tell me where the j2ee.jar is?

    i do not know where this package locate, there
    are jdk1.3,sdk1.3, but which package i should download to get the personal test kits?

    j2sdkee1.3

  • Who can tell me for the drivers

    Thank you for you reading.
    I have some question
    I want to know ,
    How can I Write windows or Linux Device Drivers in Java
    Thank you very much!!!!!!!!

    To write device drivers, you should go for C, C++ or MFC. I dont think Java is a good choice to do that, as it is platform independent.

  • Who can tell me for the drivers  please!

    Thank you for you reading.
    I have some question
    I want to know ,
    How can I Write windows or Linux Device Drivers in Java
    Thank you very much!!!!!!!!

    To write device drivers, you should go for C, C++ or MFC. I dont think Java is a good choice to do that, as it is platform independent.

  • Is there anyone there who can tell me about batch input?

    What is batch input?
    Thanks.

    HI,
    this is a technique to update the sap database from non-sap database.
    non-sap data will be stored to some flat file first and the it will be moved to sap data base.
    here is an example which will update the purchase order details from flat file check it.
    report ZBH_PURORDER no standard page heading line-size 255.
    PARAMETERS:P_FILE LIKE IBIPPARMS-PATH.
    DATA FILENAME TYPE STRING.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    CALL FUNCTION 'F4_FILENAME'
       EXPORTING
          program_name  = sy-cprog
          dynpro_number = sy-dynnr
       IMPORTING
          file_name     = P_FILE.
    START-OF-SELECTION.
    FILENAME = P_FILE.
    DATA:BEGIN OF XTAB OCCURS 0,
    TYP,
    DES(255) TYPE C,
    END OF XTAB.
    DATA:BEGIN OF ITAB OCCURS 0,
    SUPERFIELD LIKE MEPO_TOPLINE-SUPERFIELD,
    EKORG LIKE MEPO1222-EKORG,
    EKGRP LIKE MEPO1222-EKGRP,
    BUKRS LIKE MEPO1222-BUKRS,
    END OF ITAB.
    DATA:BEGIN OF JTAB OCCURS 0,
    N(4) TYPE C,
    EMATN LIKE MEPO1211-EMATN,
    MENGE(13) TYPE C,
    NETPR(13) TYPE C,
    NAME1 LIKE MEPO1211-NAME1,
    END OF JTAB.
    DATA:BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    DATA:DELIMITER VALUE '*'.
    DATA A TYPE I.
    DATA M(4) TYPE N.
    DATA L_FNAM(30) TYPE C.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = FILENAME
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = XTAB.
    LOOP AT XTAB.
    IF XTAB-TYP = 'H'.
      SPLIT XTAB-DES AT DELIMITER INTO ITAB-SUPERFIELD ITAB-EKORG ITAB-EKGRP
      ITAB-BUKRS.
      JTAB-N = JTAB-N + 1.
      APPEND ITAB.
    ELSEIF XTAB-TYP = 'I'.
      SPLIT XTAB-DES AT DELIMITER INTO JTAB-EMATN JTAB-MENGE JTAB-NETPR
      JTAB-NAME1.
    APPEND JTAB.
    ENDIF.
    ENDLOOP.
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
       CLIENT                    = SY-MANDT
       GROUP                     = 'PORDER'
       KEEP                      = 'X'
       USER                      = SY-UNAME.
    LOOP AT ITAB.
    A = SY-TABIX.
    REFRESH BDCTAB.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO_TOPLINE-SUPERFIELD'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                  ITAB-SUPERFIELD.
    perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                  '09.02.2007'.
    perform bdc_field       using 'DYN_6000-LIST'
                                  '                                      1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MEV4000BUTTON'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                  ITAB-SUPERFIELD.
    perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                  '09.02.2007'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO1222-EKORG'.
    perform bdc_field       using 'MEPO1222-EKORG'
                                  ITAB-EKORG.
    perform bdc_field       using 'MEPO1222-EKGRP'
                                  ITAB-EKGRP.
    perform bdc_field       using 'MEPO1222-BUKRS'
                                  ITAB-BUKRS.
    perform bdc_field       using 'DYN_6000-LIST'
                                  '                                      1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MEV4001BUTTON'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                  ITAB-SUPERFIELD.
    perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                  '09.02.2007'.
    perform bdc_field       using 'MEPO1222-EKORG'
                                  ITAB-EKORG.
    perform bdc_field       using 'MEPO1222-EKGRP'
                                 ITAB-EKGRP.
    perform bdc_field       using 'MEPO1222-BUKRS'
                                 ITAB-BUKRS.
    M = 1.
    LOOP AT JTAB.
    IF JTAB-N = A.
    WRITE:/ JTAB.
    CONCATENATE 'MEPO1211-EMATN(' M ')' INTO L_FNAM.
    perform bdc_field       using 'BDC_CURSOR'
                                  L_FNAM.
    perform bdc_field       using L_FNAM
                                  JTAB-EMATN.
    CONCATENATE 'MEPO1211-MENGE(' M ')' INTO L_FNAM.
    perform bdc_field       using L_FNAM
                                  JTAB-MENGE.
    CONCATENATE 'MEPO1211-NETPR(' M ')' INTO L_FNAM.
    perform bdc_field       using L_FNAM
                                  JTAB-NETPR.
    CONCATENATE 'MEPO1211-NAME1(' M ')' INTO L_FNAM.
    perform bdc_field       using L_FNAM
                                  JTAB-NAME1.
    M = M + 1.
    ENDIF.
    ENDLOOP.
    perform bdc_field       using 'DYN_6000-LIST'
                                  '                                      1'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPLMEGUI' '0014'.
    perform bdc_field       using 'MEPO_TOPLINE-BSART'
                                  'NB'.
    perform bdc_field       using 'MEPO_TOPLINE-SUPERFIELD'
                                  ITAB-SUPERFIELD.
    perform bdc_field       using 'MEPO_TOPLINE-BEDAT'
                                  '09.02.2007'.
    perform bdc_field       using 'MEPO1222-EKORG'
                                  ITAB-EKORG.
    perform bdc_field       using 'MEPO1222-EKGRP'
                                  ITAB-EKGRP.
    perform bdc_field       using 'MEPO1222-BUKRS'
                                  ITAB-BUKRS.
    perform bdc_field       using 'DYN_6000-LIST'
                                  '                                      1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MEPO1319-MATKL'.
    perform bdc_field       using 'MEPO1319-SPINF'
                                  'X'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MESAVE'.
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
       TCODE                  = 'ME21N'
      TABLES
        DYNPROTAB              = BDCTAB.
    ENDLOOP.
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCTAB.
      BDCTAB-PROGRAM  = PROGRAM.
      BDCTAB-DYNPRO   = DYNPRO.
      BDCTAB-DYNBEGIN = 'X'.
      APPEND BDCTAB.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
        CLEAR BDCTAB.
        BDCTAB-FNAM = FNAM.
        BDCTAB-FVAL = FVAL.
        APPEND BDCTAB.
    ENDFORM.
    FLAT FILE:
    H1171611000001*1000
    ICPU116000*1000
    ILEY BOARD1010000*1000
    IMOUSE66000*1000
    H1171711000001*1000
    ICPU580000*1000
    H1171701000001*1000
    IMOUSE33000*1000
    ILEY BOARD1010000*1000
    reward if helpful.
    rgds,
    bharat.

  • I wanna to ask who can tell me iphone 5 when release at malaysia...??the price how much...??

    i wanna to ask who can tell me when the iphone 5 release at malaysia...??the price how much...??

    Put the phone in DFU mode (google it) and restore as new.
    When prompted during the restore process, select restore from an iCloud backup, enter your Apple ID credentials and the device will restore.  Once complete, everything should be as it was without the passcode.
    FYI, syncing photos to PhotoStream on iCloud is NOT a backup.  It merely keeps the last 30 days and a set number of photos... anything beyond that rolls off PhotoStream.
    You really should be using the device as designed, meaning regularly copying pictures/videos taken with the device off to a computer.
    Contacts, if configured, should be synced to iCloud based on your statements above.

  • Who can tell me the usage of TCode:OMFS?

    Who can tell me the usage of TCode:OMFS?
    When we need to configurate these?
    Thank in advance.

    Hi,
    By flagging a field on here, yes, that is what it is designed to do.
    If you change the delivery address for instance you would surely need to tell the vendor? So you would flag these fields so that the new PO (which can be a PO with ONLY the changes on it, or a full reprint of the PO, depending on which you want), is printed and sent to the vendor.
    If the Purchasing group is changed then you may decide that this should NOT trigger a print of the changes, so you don't flag that field.
    It is entirely up to you which fields you flag, all, some or none.
    There is a flag for each type of document (RFQ, PO, Contract and Scheduling agreement and so you can set different flags for each)
    You can also specify the text number to control what the change text is, such as "Delivery address changed" etc.
    You can even use special routines that can manage more complex actions for each change.
    As susual the SAP system is giving you many options that you CAN use if you want to, but you don't have to use them if you don't want to.
    Steve B

  • I've seen all the posts for fixing the wifi on the 4s, none of them work!  So, who can tell me why my iPhone 4S cannot find any wifi when it used to easily, and when it does it can never connect?

    I've seen all the posts for fixing the wifi on the 4s, none of them work!  So, who can tell me why my iPhone 4S cannot find any wifi when it used to find wifi, and when it does find a wifi network it can never connect?  You think apple would have a clue how to fix it!  Because turning the wifi on and off doesn't work, resorting network settings doesn't work, even restoring phone to factory default doesn't work...

    Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.

Maybe you are looking for

  • Cant copy files from a crushed hard disk

    Hello, I use macbook pro (bought few months ago from the US) with 10.6.3 OS. I had a 500GB hard disk and had MacOS and Windows 7 installed through Parallel's Plesk. Few days ago, the computer frooze and i had to reboot. Once i reboot, i got the flash

  • Iphoto 8.1.2 won't open

    iphoto 8.1.2 won't open. The error message says "You can't open your current photo library using this version of iPhoto. You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto." M

  • IFS-21030 - ?

    Hello, I have this error: oracle.ifs.common.IfsException: IFS-21030: Database operation timed out java.sql.SQLException: ORA-01013: user requested cancel of current operation I need as soon as possible some explanation about this, and possible causes

  • Audigy ZS 2 Platinum - Xbox In

    Hi all, I've got my Xbox going through my pc and I'm having trouble getting the Dobly Digital Surround sound to work with the Optical cable plugged in. The Xbox is set up to put Dolby Digital Surround and DTS out thought the Optical cable and I've se

  • Elements Organizer 10.0 Disappeared

    I have been using PSE 10 since October.  All of a sudden the Organizaer is gone.  I looked under Program Files/Adobe and the Elements Organizer 10.0 is gone.  Not sure what happened.   My question is I also have PSE 10 on my laptop.  Can I just copy