JAR file creation issues

Discussion in 'Java' started by Krishnan Raghu, Apr 5, 2004.

  1. I've looked at various resources to figure out how to create a JAR file for
    my application but none could address my specific situation's problems.

    The application's name is AppRun. It is run from the directory $APPDIR as
    follows:
    java -Djava.endorsed.dirs="libs" edu.xba.AppRun <input_file>
    <output_file>

    (AppRun.class is in $APPDIR/edu/xba/. The $APPDIR/libs directory is the
    directory of endorsed files required for running AppRun. <input_file> and
    <output_file> default to files in AppRun, but they take the values of
    <input_file> and <output_file> if they're specified.)

    Now I want to create a JAR file such that when a user executes AppRun from,
    say, $USERDIR/AppRun.jar, the application runs, looks for the default I/O
    files in $USERDIR, and proceeds from there.

    Is this even possible?

    Thanks,
    Krishnan
    Krishnan Raghu, Apr 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lucy
    Replies:
    6
    Views:
    30,525
    steve
    Sep 7, 2004
  2. Arnold Peters
    Replies:
    0
    Views:
    543
    Arnold Peters
    Jan 5, 2005
  3. muttley
    Replies:
    0
    Views:
    2,677
    muttley
    Oct 20, 2005
  4. cyberco
    Replies:
    4
    Views:
    3,706
    Roedy Green
    Feb 14, 2006
  5. Arnold Peters
    Replies:
    0
    Views:
    630
    Arnold Peters
    Jan 5, 2005
Loading...

Share This Page