Java program accessible by all users
Les Mikesell
lesmikesell at gmail.com
Fri Dec 2 23:01:18 UTC 2005
On Fri, 2005-12-02 at 15:57, Christofer C. Bell wrote:
> JAR Files as Applications
>
> You can run JAR-packaged applications with the Java interpreter.
> The basic command is:
>
> java -jar jar-file
>
> The -jar flag tells the interpreter that the application is
> packaged in the JAR file format.
Which means that if you want a program that you can execute by
typing its name or clicking on it, you need to make a shell
script with the above syntax. Or use a gnome/kde launcher with
that as the command. As a side effect, the jar file doesn't
need to be in your PATH.
--
Les Mikesell
lesmikesell at gmail.com
More information about the users
mailing list