jar-files
- Inicie sesión o regístrese para enviar comentarios
Noobquestion i think, but how do i open jar-files in trisquel ? and install the program ?
$ 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
Additionally, you may need to install java first:
sudo aptitude install openjdk-7-jre
should help.
Is n't openjdk 7 already installed in Trisquel 6.0 ??
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.
Thx, i got the program installed.
- Inicie sesión o regístrese para enviar comentarios