Results 1 to 3 of 3
  1. #1
    Raul Menendez is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    Unhappy Adding a new class to a jar file

    How can I add a new class to a jar file to extend it's functionality???

  2. #2
    Rooneyz is offline Member
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    25
    Rep Power
    0

    Default

    Just compile the .java file. The compiler will generate the .class file for you.

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,556
    Rep Power
    25

    Default

    The jar command has an update option that will allow you to add more files to a jar file. Read the doc.

Similar Threads

  1. Replies: 0
    Last Post: 05-13-2008, 06:16 AM
  2. Adding file contents to Choice component
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-07-2008, 09:06 AM
  3. Eclipse adding $1.class files
    By eboraks in forum Eclipse
    Replies: 1
    Last Post: 11-28-2007, 04:35 PM
  4. Adding file names(Help!!)
    By Gambit17 in forum New To Java
    Replies: 4
    Last Post: 11-09-2007, 07:26 AM
  5. Convert my class file into a exe file
    By carl in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 08:35 AM

Posting Permissions

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