Java executable and "make" help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • somyav
    New Member
    • Mar 2007
    • 1

    #1

    Java executable and "make" help

    Hi,
    I need some guidance on how to turn in the java programs as a executable. My requirement is this: I have a package(with .java and .class files) that I am sending it to my clients. They want the file to be sent as JAR. They need a makefile in it so that they can invoke make command to compile the project. To run the project, they want to give a name project1. Also this project1 should be able to be invoked from any directory.

    Can anybody help me on how to do this?

    -S
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by somyav
    Hi,
    I need some guidance on how to turn in the java programs as a executable. My requirement is this: I have a package(with .java and .class files) that I am sending it to my clients. They want the file to be sent as JAR. They need a makefile in it so that they can invoke make command to compile the project. To run the project, they want to give a name project1. Also this project1 should be able to be invoked from any directory.

    Can anybody help me on how to do this?

    -S
    So you need help:
    1) turning your project into a .jar
    2) creating a makefile to install the project
    3)making sure the makefile installs into the path (I'm assuming this is a cygwin or *nix box because they are using makefiles...)

    Is that right?

    Comment

    • N002199B
      New Member
      • Feb 2007
      • 41

      #3
      Originally posted by sicarie
      So you need help:
      1) turning your project into a .jar
      2) creating a makefile to install the project
      3)making sure the makefile installs into the path (I'm assuming this is a cygwin or *nix box because they are using makefiles...)

      Is that right?
      If that is not want somyav wants, then can you satrt the thread for me. Oh yes, I would like that tutorial. I have been meaning to ask someone for help in those three steps.

      I know I am not alone

      Comment

      Working...