• We did not send an email asking for donations - please read this post.

Java in Fedora

Carbide

New Member
Joined
Jul 17, 2021
Messages
3
Reaction score
0
Credits
30
So I tried to write a Helloworld program in my fedora 34 machine. But when I tried to compile it, it said javac not found. I believe I need to set environment variable.
Please Help Me On How To Do It!
Thanks!!
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,553
Reaction score
1,170
Credits
9,870
dnf install -y java-11-openjdk-devel.x86_64
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top