Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Running .jar file
qzgy
 Posted: Jun 5 2016, 01:39 PM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 3708
Joined: 5-June 16









Hello. Can anyone help me with running a .jar file?
I have already set it as executable, however, cannot run.
PM
^
Radiant Red
 Posted: Jun 17 2016, 02:36 AM
Quote Post


SLF Newbie


Group: Banned
Posts: 8
Member No.: 3628
Joined: 24-February 16









Have you installed Java?
PM
^
inittux
 Posted: Jun 17 2016, 06:40 AM
Quote Post


SLF Geek
****

Group: Members
Posts: 306
Member No.: 953
Joined: 20-October 11











Install java
CODE

yum install java-1.8.0-openjdk


Then run java with whatever jar file you want to run

CODE

java -jar  example.jar

--------------------
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll