Results 1 to 5 of 5

Thread: Batch copying

  1. #1
    DELTA_ is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Batch copying

    Hi im know this is java forim not batch but how to copy java .class files (from)to .jar file throught batch file
    i tryed command
    @copy myfile.class myjar.jar
    everithing ok i close batch but when i try to open jar it writes: Archive invalid or corrupted! (winrar)

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,560
    Blog Entries
    7
    Rep Power
    21

    Default Re: Batch copying

    Try the 'jar' tool; it's an executable file in your JDJK/bin and there's also a tutorial section that explains it all.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    DELTA_ is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Batch copying

    but how i use it?

  4. #4
    DELTA_ is offline Member
    Join Date
    Dec 2011
    Posts
    7
    Rep Power
    0

    Default Re: Batch copying

    howto do what i want with that?

  5. #5
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

Similar Threads

  1. need help copying (what is in address bar)
    By 3ammary in forum New To Java
    Replies: 0
    Last Post: 01-08-2011, 02:42 PM
  2. add to a zip file without copying it.
    By yurabita in forum New To Java
    Replies: 5
    Last Post: 08-21-2010, 03:16 AM
  3. Copying Files
    By tgns223 in forum New To Java
    Replies: 13
    Last Post: 06-12-2010, 03:15 AM
  4. Not Copying Libraries!?!
    By Atriamax in forum NetBeans
    Replies: 0
    Last Post: 10-13-2009, 07:56 AM
  5. Copying a derectory
    By linux1man in forum New To Java
    Replies: 10
    Last Post: 01-15-2009, 07:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •