Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Rome, Italy

    other .java file

    i've to include a library named

    in my midlet...
    how can i do that? where shall i put the .java files of that library?
    have to add them in a single .jar files?
    this java files are from a network operator, they aren't documented well.i want to know if i have to put this files in a specific folder!
    i'm using JBuilder...
    thanks a lot
    Last edited by marcgom; 2003-03-19 at 18:29.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Tampere / Finland

    Copy the whole library to the /src under your JBuilder project directory. Don't change the sructure of the library, which means simply copy the com directory to the /src, then you can implement and use this library in your code same as the standard java libraries. (import com.x.x.x)

    If you only use certain classes in the library, then only copy the files you need to /src, which will reduce the size of the jar file.

    The library as well as your code will be compiled and packaged in the jar file.


Posting Permissions

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