LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-25-2014, 10:47 AM   #1
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Rep: Reputation: Disabled
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
 
Old 08-25-2014, 01:34 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
1 members found this post helpful.
Old 08-26-2014, 02:51 AM   #3
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-26-2014, 12:33 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
1 members found this post helpful.
Old 08-27-2014, 02:34 AM   #5
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is javac? svar Slackware 1 05-31-2009 01:20 PM
gcj javac instead of jdk javac rvindiola Linux - Newbie 2 03-29-2006 08:18 PM
javac zaicheke Programming 2 10-05-2004 10:46 PM
javac linuxRules Linux - General 3 05-23-2002 07:45 AM
javac linuxRules Linux - General 0 05-21-2002 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration