D
D
DarkByte20152017-04-16 22:46:54
linux
DarkByte2015, 2017-04-16 22:46:54

Installing jdk on Antergos?

I have Antergos. Installed with yaourt first jre, then jdk. But now for some reason not all commands are available to me.

For example:

$ jar
bash: jar: команда не найдена
$ javac
bash: javac: команда не найдена

Wherein:
$ whereis java
java: /usr/bin/java /usr/share/java
$ whereis jar
jar: /usr/bin/jar
$ whereis javac
javac: /usr/bin/javac

Everything seems to be in place. What to do? :(

PS At the same time, the java command itself is available. That is, apparently jre was installed correctly, but it's not clear what's wrong with jdk. :(

In general, I have such a vague suspicion that something was clumsily installed. in the /usr/bin folder Pay attention to the flags...

94df4b3a860f44019506f2dfc997df4f.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xotkot, 2017-04-17
@DarkByte2015

Java[en] | Java

Note: After installation, you may need to update the $PATH environment variable. To do this, edit the /etc/profile file or relogin to your desktop environment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question