JAR file creation issues

K

Krishnan Raghu

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top