LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   OpenSuSE 13.1 does not come with javac? (https://www.linuxquestions.org/questions/suse-opensuse-60/opensuse-13-1-does-not-come-with-javac-4175516309/)

pschmitt 08-25-2014 10:47 AM

OpenSuSE 13.1 does not come with javac?
 
I have installed openSuSE 13.1 on my computer.
Output of

rpm -qa | grep java yields:

libjavascriptcoregtk-3_0-0-2.2.1-1.1.x86_64
java-1_7_0-openjdk-headless-1.7.0.6-24.13.5.x86_64
timezone-java-2013h-1.1.noarch
libjavascriptcoregtk-1_0-0-2.2.1-1.1.x86_64
java-1_7_0-openjdk-1.7.0.6-24.13.5.x86_64
javapackages-tools-2.0.1-4.1.2.x86_64

But, javac cannot be found. So I suspect that only the runtime is
installed but not the development package of Java.
Is that a correct analysis?

I want to proceed to download and install

from the site http://de.opensuse.org/Sun_Java

But, before I get myself into trouble I wanted to ask the experts hopefully
listening in on this forum.
Do I really have to trigger the download myself, will an appropriate zypper command not do that for me?

Thanks Peter

John VV 08-25-2014 01:34 PM

you really should NOT be using "rpm" to look for software
it will only tell you what is already installed

use the packagemanager
yast / "install and remove software"

or in the terminal do a search
Code:

su -
zypper se java


pschmitt 08-26-2014 02:51 AM

Thanks John VV, for your comment.
In fact, I first wanted to find out what is installed on my machine after installing OpenSuSE 13.1.
The documentation is a bit weak concerning the Java part.

Peter

I will follow your suggestions later. I am typing this answer from a different machine.

John VV 08-26-2014 12:33 PM

the search with zypper will show you what is installed
there will be a "i" infront of the name in the output
Code:

i | java-1_7_0-openjdk  | Java runtime environment based on OpenJDK-> | package
as to the java c

Code:

zypper se javac
Loading repository data...
Reading installed packages...

S | Name            | Summary                                | Type 
--+-----------------+-----------------------------------------+--------
  | javacc          | A Parser and Scanner Generator for Java | package
  | javacc-demo    | A Parser and Scanner Generator for Java | package
  | javacc-manual  | A Parser and Scanner Generator for Java | package
  | javacc3        | A parser/scanner generator for java    | package
  | javacc3-demo    | A parser/scanner generator for java    | package
  | javacc3-manual  | A parser/scanner generator for java    | package
  | javacc3-repolib | A parser/scanner generator for java    | package
------------- and this -------------
  | gcc49-java      | The GNU Java Compiler                  | package


pschmitt 08-27-2014 02:34 AM

Thanks John VV,
I declare this thread as closed now.

Peter

---------- Post added 08-27-14 at 02:35 AM ----------

Thanks John VV,
I declare this thread as closed now.

Peter


All times are GMT -5. The time now is 03:37 PM.