Hi everyone!
I have just performed a clean install of opensuse 13.2 (kde).
Now i need to use the java jdk.
If I use the command “java -version” I have this result:
antonio@linux-3apr:~> java -version
openjdk version "1.8.0_40"
OpenJDK Runtime Environment (build 1.8.0_40-b10)
OpenJDK 64-Bit Server VM (build 25.40-b14, mixed mode)
But when I try to use the command “javac -version” I have this result:
antonio@linux-3apr:~> javac -version
If 'javac' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf javac
And the output of “zypper se jdk” is:
antonio@linux-3apr:~> zypper se jdk
Lettura dei dati del repository in corso...
Lettura dei pacchetti installati in corso...
S | Nome | Sommario | Tipo
--+---------------------------------------+-------------------------------------------+-------------------
i | java-1_7_0-openjdk | Java runtime environment based on OpenJ-> | pacchetto
| java-1_7_0-openjdk-accessibility | Accessibility connector for OpenJDK 7 | pacchetto
| java-1_7_0-openjdk-bootstrap | Java runtime environment based on OpenJ-> | pacchetto
| java-1_7_0-openjdk-bootstrap-devel | SDK Java basato su OpenJDK 7 e IcedTea 7 | pacchetto
| java-1_7_0-openjdk-bootstrap-headless | JRE based on OpenJDK 7 and IcedTea 7 wi-> | pacchetto
| java-1_7_0-openjdk-demo | Sources for building demo applications -> | pacchetto
| java-1_7_0-openjdk-devel | SDK Java basato su OpenJDK 7 e IcedTea 7 | pacchetto
i | java-1_7_0-openjdk-headless | JRE based on OpenJDK 7 and IcedTea 7 wi-> | pacchetto
| java-1_7_0-openjdk-javadoc | Documentation of the Java API of OpenJD-> | pacchetto
i | java-1_7_0-openjdk-plugin | Java Web Start and plugin implementation | pacchetto
| java-1_7_0-openjdk-src | OpenJDK 7 Java class sources for develo-> | pacchetto
i | java-1_8_0-openjdk | OpenJDK Runtime Environment | pacchetto
| java-1_8_0-openjdk-accessibility | OpenJDK accessibility connector | pacchetto
| java-1_8_0-openjdk-demo | OpenJDK Demos | pacchetto
| java-1_8_0-openjdk-devel | OpenJDK Development Environment | pacchetto
i | java-1_8_0-openjdk-headless | OpenJDK Runtime Environment | pacchetto
i | java-1_8_0-openjdk-plugin | Java Web Start and plugin implementation | pacchetto
| java-1_8_0-openjdk-src | OpenJDK Source Bundle | pacchetto
| java-1_8_0-openjdk-javadoc | OpenJDK API Documentation | pacchetto
| ldapjdk | The Mozilla LDAP Java SDK | pacchetto
| ldapjdk-javadoc | Javadoc for ldapjdk | pacchetto
| java-1_7_0-openjdk | Java runtime environment based on OpenJ-> | pacchetto sorgente
| java-1_7_0-openjdk-bootstrap | Java runtime environment based on OpenJ-> | pacchetto sorgente
Now I don’t understand why I have both version 1.7.0 and 1.8.0, and why the command javac don’t work.
Please help me, I need java to work as soon as possible!