Re: Welcome to fedora 28!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2018-05-02 14:57, Kushal wrote:
Hi,

I don't know what I am doing wrong but I just installed Fedora 28 on a
new machine and I can't get javac so I will copy paste some terminal
output so someone can tell me what I did wrong

```@bash

[kus@localhost ~]$
[kus@localhost ~]$ dnf info java-openjdk
Last metadata expiration check: 0:22:54 ago on Wed 02 May 2018 08:32:45 AM EDT.
Installed Packages
Name         : java-openjdk
Epoch        : 1
Version      : 10.0.0.46
Release      : 10.fc28
Arch         : x86_64
Size         : 533 k
Source       : java-openjdk-10.0.0.46-10.fc28.src.rpm
Repo         : @System
 From repo    : updates
Summary      : OpenJDK Runtime Environment 10
URL          : http://openjdk.java.net/
License      : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with
exceptions and GPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public
Domain and W3C
Description  : The OpenJDK runtime environment.

Available Packages
Name         : java-openjdk
Epoch        : 1
Version      : 10.0.0.46
Release      : 10.fc28
Arch         : i686
Size         : 218 k
Source       : java-openjdk-10.0.0.46-10.fc28.src.rpm
Repo         : updates
Summary      : OpenJDK Runtime Environment 10
URL          : http://openjdk.java.net/
License      : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with
exceptions and GPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public
Domain and W3C
Description  : The OpenJDK runtime environment.

[kus@localhost ~]$ which javac
/usr/bin/which: no javac in
(/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/kus/.composer/vendor/bin:/home/kus/.local/bin:/home/kus/bin)
[kus@localhost ~]$


```

Hi,

you need to install java-devel (provided by java-1.8.0-openjdk-devel).
java (java-openjdk) is just runtime.

Michael


thank you much for all the hard work

sincerely,
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux