Results 1 to 10 of 10
  1. #1
    rams is offline Member
    Join Date
    Oct 2008
    Posts
    6
    Rep Power
    0

    Default how to make header file?

    i have got the folder containing information and i would like to make it as the header file if any body got the knowledge of making header file then could help me.

  2. #2
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    Java doesn't have header files

  3. #3
    linux0kernel is offline Member
    Join Date
    Oct 2008
    Posts
    19
    Rep Power
    0

    Default

    you can use the properties files or some xml files

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,416
    Rep Power
    25

    Default

    folder containing information and i would like to make it as the header file
    Can you explain? A folder contains files. Files contain data.
    What do you want to get into a java program?

  5. #5
    rams is offline Member
    Join Date
    Oct 2008
    Posts
    6
    Rep Power
    0

    Default

    ....actually i'm making chat program using SCTP protocol. And i downloaded the package called ...tar.gz which contain the file for supporting the SCTP portocol. So i want to use that .tar file as a header file in java program so any body if got the knowledge of making that folder as header file can contact me. Actually i have extracted that .tar file and view the files but couldn't make it as a header file and the files are all .java files.

  6. #6
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    Quote Originally Posted by rams View Post
    ....actually i'm making chat program using SCTP protocol. And i downloaded the package called ...tar.gz which contain the file for supporting the SCTP portocol. So i want to use that .tar file as a header file in java program so any body if got the knowledge of making that folder as header file can contact me. Actually i have extracted that .tar file and view the files but couldn't make it as a header file and the files are all .java files.
    What do you imagine "header file" actually means in this context, because your explaination has actually made things less clear

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,240
    Rep Power
    19

  8. #8
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    I wonder if Sun are paying the owners of this forum for their mirroring services?

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by rams View Post
    i have got the folder containing information and i would like to make it as the header file if any body got the knowledge of making header file then could help me.
    Java doesn't have header files like in C/C++. So the best thing is use a configuration file. XML files is the best choice.

  10. #10
    DevzAbhi's Avatar
    DevzAbhi is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    Please complile all the files ... which will give the .class file . than you can jar them up .. and put that .jar in your classpath and import all those files .. as you do in c and c++

Similar Threads

  1. Reading file header
    By mew in forum New To Java
    Replies: 9
    Last Post: 02-19-2009, 07:29 PM
  2. How do you make a jar file
    By alex_cunningham in forum New To Java
    Replies: 3
    Last Post: 07-15-2008, 03:56 AM
  3. Servlet sending the file (setting header)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-27-2008, 08:14 PM
  4. Replies: 1
    Last Post: 08-07-2007, 05:09 AM
  5. How to make a web application as .exe file
    By madhusudhangovindu in forum Advanced Java
    Replies: 1
    Last Post: 08-02-2007, 03:58 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
  •