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
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