jar-files

5 Antworten [Letzter Beitrag]
Spinoza
Offline
Beigetreten: 07/07/2013

Noobquestion i think, but how do i open jar-files in trisquel ? and install the program ?

Magic Banana

I am a member!

Offline
Beigetreten: 07/24/2010

$ java [ options ] -jar file.jar [ argument ... ]

The arguments are passed to the main method of the Java program. As for the options passed to the interpreter (you probably want none), you can take a look at:
$ man java

Mzee
Offline
Beigetreten: 07/10/2013

Additionally, you may need to install java first:

sudo aptitude install openjdk-7-jre

should help.

Spinoza
Offline
Beigetreten: 07/07/2013

Is n't openjdk 7 already installed in Trisquel 6.0 ??

oralfloss
Offline
Beigetreten: 06/20/2013

On 07/14/2013 06:36 PM, name at domain wrote:
> Is n't openjdk 7 already installed in Trisquel 6.0 ??
Nope, but it's easy to install using Synaptic Package Manager. Just
search it and install it. No need to use terminal.

As for running the .jar files, you can simply right-click the files and
then click "Open With OpenJDK Java Runtime". I'm not sure if OpenJDK 7
is in the repository yet, but OpenJDK 6 is for sure.

edit: OpenJDK 7 is in the repository.

Spinoza
Offline
Beigetreten: 07/07/2013

Thx, i got the program installed.