You are not logged in.

#1 2020-12-14 10:57:57

greenleafvolatile
Member
Registered: 2019-08-10
Posts: 20

[SOLVED] bash: jar: command not found

Hi,

Im trying to create an executable jar with:

 jar cmf Test.mf Test.jar File1.class File2.class

But I get

bash: jar: command not found

I have jre-openjdk 14.0.2 installed, but /usr/lib/jvm/java-14-openjdk/bin contains no jar binary.

Any feedback appreciated.

Last edited by greenleafvolatile (2020-12-15 08:05:50)

Offline

#2 2020-12-14 11:13:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,102

Re: [SOLVED] bash: jar: command not found

You need the jdk packages for development libraries/tools i.e. jdk-openjdk

Offline

#3 2020-12-14 11:41:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,405
Website

Re: [SOLVED] bash: jar: command not found


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-12-15 07:54:38

greenleafvolatile
Member
Registered: 2019-08-10
Posts: 20

Re: [SOLVED] bash: jar: command not found

Thanks for the replies. Marked as SOLVED.

Offline

Board footer

Powered by FluxBB