Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is java JDK 1.7?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Sep 18, 2012 5:39 am    Post subject: Where is java JDK 1.7? Reply with quote

Hello,

there's no java SDK & JDK in portage? How to install it? Needed for applets to work :)
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Tue Sep 18, 2012 7:11 am    Post subject: Reply with quote

sure there is, but you have to keyword it and accept the license.
Code:
echo dev-java/oracle-jdk-bin >> /etc/portage/package.keywords
echo dev-java/oracle-jdk-bin Oracle-BCLA-JavaSE >> /etc/portage/packages.licenses


or you could have a look at icedtea, which only needs to be keyworded
Code:
echo dev-java/icedtea-bin >> /etc/portage/package.keywords

_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Sep 18, 2012 1:50 pm    Post subject: Reply with quote

I've added those two, but emerge -s java gives me still same result i believe:
Code:
*  app-accessibility/java-access-bridge
      Latest version available: 1.26.0
      Latest version installed: [ Not Installed ]
      Size of files: 278 kB
      Homepage:      http://developer.gnome.org/projects/gap/
      Description:   Gnome Java Accessibility Bridge
      License:       LGPL-2

*  app-emacs/javascript [ Masked ]
      Latest version available: 2.2.1
      Latest version installed: [ Not Installed ]
      Size of files: 5 kB
      Homepage:      http://www.karllandstrom.se/emacs_modes.php http://www.emacswiki.org/emacs/JavaScriptMode
      Description:   Major mode for editing JavaScript source text
      License:       GPL-2

*  app-emulation/emul-linux-x86-java [ Masked ]
      Latest version available: 1.6.0.35
      Latest version installed: [ Not Installed ]
      Size of files: 21,188 kB
      Homepage:      http://www.oracle.com/technetwork/java/javase/
      Description:   Oracle's Java SE Runtime Environment (32bit)
      License:       Oracle-BCLA-JavaSE

*  dev-java/ant-javamail
      Latest version available: 1.8.4
      Latest version installed: [ Not Installed ]
      Size of files: 3,320 kB
      Homepage:      http://ant.apache.org/
      Description:   Apache Ant's optional tasks depending on --virtual javamail
      License:       Apache-2.0

*  dev-java/apple-java-extensions-bin
      Latest version available: 1.5
      Latest version installed: [ Not Installed ]
      Size of files: 17 kB
      Homepage:      http://developer.apple.com/samplecode/AppleJavaExtensions/
      Description:   A pluggable jar of stub classes representing the new Apple eAWT and eIO APIs for Java on Mac OS X.
      License:       Apple

*  dev-java/biojava [ Masked ]
      Latest version available: 1.7
      Latest version installed: [ Not Installed ]
      Size of files: 27,404 kB
      Homepage:      http://biojava.org
      Description:   A Java framework for processing biological data
      License:       LGPL-2.1

*  dev-java/dbus-java
      Latest version available: 2.7-r1
      Latest version installed: [ Not Installed ]
      Size of files: 142 kB
      Homepage:      http://dbus.freedesktop.org/
      Description:   Java bindings for the D-Bus messagebus.
      License:       || ( GPL-2 AFL-2.1 )

*  dev-java/freehep-graphicsio-java [ Masked ]
      Latest version available: 2.1.1
      Latest version installed: [ Not Installed ]
      Size of files: 15 kB
      Homepage:      http://java.freehep.org/
      Description:   High Energy Physics Java library - FreeHEP Java Driver
      License:       LGPL-2.1

*  dev-java/gnu-javamail
      Latest version available: 1.0-r2
      Latest version installed: [ Not Installed ]
      Size of files: 690 kB
      Homepage:      http://www.gnu.org/software/classpathx/javamail/
      Description:   GNU implementation of the Javamail API
      License:       GPL-2-with-linking-exception

*  dev-java/java-config
      Latest version available: 2.1.11-r3
      Latest version installed: 2.1.11-r3
      Size of files: 59 kB
      Homepage:      http://www.gentoo.org/proj/en/java/
      Description:   Java environment configuration tool
      License:       GPL-2

*  dev-java/java-config-wrapper
      Latest version available: 0.16
      Latest version installed: 0.16
      Size of files: 7 kB
      Homepage:      http://www.gentoo.org/proj/en/java
      Description:   Wrapper for java-config
      License:       GPL-2

*  dev-java/java-dep-check
      Latest version available: 0.3
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/proj/en/java
      Description:   Java Dependency checker
      License:       GPL-2

*  dev-java/java-getopt
      Latest version available: 1.0.13
      Latest version installed: 1.0.13
      Size of files: 44 kB
      Homepage:      http://www.urbanophile.com/arenn/hacking/download.html
      Description:   Java command line option parser
      License:       LGPL-2.1

*  dev-java/java-gnome
      Latest version available: 4.0.19
      Latest version installed: [ Not Installed ]
      Size of files: 1,023 kB
      Homepage:      http://java-gnome.sourceforge.net/
      Description:   Java bindings for GTK and GNOME
      License:       GPL-2-with-linking-exception

*  dev-java/java-sdk-docs
      Latest version available: 1.6.0.30
      Latest version installed: [ Not Installed ]
      Size of files: 57,701 kB
      Homepage:      http://download.oracle.com/javase/6/docs/index.html
      Description:   Sun's documentation bundle (including API) for Java SE
      License:       oracle-java-documentation

*  dev-java/java-service-wrapper
      Latest version available: 3.5.14-r1
      Latest version installed: [ Not Installed ]
      Size of files: 487 kB
      Homepage:      http://wrapper.tanukisoftware.org/
      Description:   A wrapper that makes it possible to install a Java Application as daemon.
      License:       tanuki-community

*  dev-java/javacc
      Latest version available: 4.0-r4
      Latest version installed: 4.0-r4
      Size of files: 747 kB
      Homepage:      https://javacc.dev.java.net/
      Description:   Java Compiler Compiler - The Java Parser Generator
      License:       BSD

*  dev-java/javacup
      Latest version available: 0.11a_beta20060608
      Latest version installed: 0.11a_beta20060608
      Size of files: 279 kB
      Homepage:      http://www2.cs.tum.edu/projects/cup/
      Description:   CUP Parser Generator for Java
      License:       GPL-2

*  dev-java/javahelp
      Latest version available: 2.0.05_p63
      Latest version installed: 2.0.05_p63
      Size of files: 3,659 kB
      Homepage:      https://javahelp.dev.java.net/
      Description:   The JavaHelp system online help system
      License:       GPL-2-with-linking-exception

*  dev-java/javassist
      Latest version available: 3.14.0
      Latest version installed: 3.14.0
      Size of files: 2,205 kB
      Homepage:      http://www.csg.is.titech.ac.jp/~chiba/javassist/
      Description:   Javassist makes Java bytecode manipulation simple.
      License:       MPL-1.1

*  dev-java/javatoolkit
      Latest version available: 0.3.0-r6
      Latest version installed: 0.3.0-r6
      Size of files: 16 kB
      Homepage:      http://www.gentoo.org/proj/en/java/
      Description:   Collection of Gentoo-specific tools for Java
      License:       GPL-2

*  dev-java/libmatthew-java
      Latest version available: 0.7.2-r1
      Latest version installed: [ Not Installed ]
      Size of files: 39 kB
      Homepage:      http://www.matthew.ath.cx/projects/java/
      Description:   A selection of libraries for Java
      License:       LGPL-2.1

*  dev-java/libreadline-java
      Latest version available: 0.8.0-r3
      Latest version installed: 0.8.0-r3
      Size of files: 75 kB
      Homepage:      http://java-readline.sourceforge.net/
      Description:   A JNI-wrapper to GNU Readline.
      License:       LGPL-2.1

*  dev-java/matrix-toolkits-java [ Masked ]
      Latest version available: 0.9.12
      Latest version installed: [ Not Installed ]
      Size of files: 2,516 kB
      Homepage:      http://code.google.com/p/matrix-toolkits-java/
      Description:   BLAS and LAPACK-derived matrix data structures and linear algebra methods
      License:       LGPL-3

*  dev-java/netbeans-java
      Latest version available: 7.1.2-r1
      Latest version installed: 7.1.2-r1
      Size of files: 205,189 kB
      Homepage:      http://netbeans.org/projects/java
      Description:   Netbeans Java Cluster
      License:       || ( CDDL GPL-2-with-linking-exception )

*  dev-java/netbeans-javacard
      Latest version available: 7.1.2
      Latest version installed: [ Not Installed ]
      Size of files: 176,096 kB
      Homepage:      http://netbeans.org/projects/javacard
      Description:   Netbeans JavaCard Cluster
      License:       || ( CDDL GPL-2-with-linking-exception )

*  dev-java/netbeans-javadoc
      Latest version available: 7.1.2
      Latest version installed: [ Not Installed ]
      Size of files: 170,522 kB
      Homepage:      http://netbeans.org/
      Description:   Netbeans JavaDocs
      License:       || ( CDDL GPL-2-with-linking-exception )

*  dev-java/netbeans-javafx
      Latest version available: 7.1.2
      Latest version installed: 7.1.2
      Size of files: 170,072 kB
      Homepage:      http://netbeans.org/projects/javafx
      Description:   Netbeans JavaFX Cluster
      License:       || ( CDDL GPL-2-with-linking-exception )

*  dev-java/sun-java3d-bin
      Latest version available: 1.4.0_pre5-r1
      Latest version installed: [ Not Installed ]
      Size of files: 1,251 kB
      Homepage:      https://j3d-core.dev.java.net/
      Description:   Sun Java3D API Core
      License:       sun-jrl sun-jdl

*  dev-java/sun-javamail
      Latest version available: 1.4.3
      Latest version installed: [ Not Installed ]
      Size of files: 1,147 kB
      Homepage:      http://java.sun.com/products/javamail/index.html
      Description:   A Java-based framework to build multiplatform mail and messaging applications.
      License:       CDDL GPL-2 BSD

*  dev-java/xjavac
      Latest version available: 20110814
      Latest version installed: 20110814
      Size of files: 2 kB
      Homepage:      http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tools/src/XJavac.java
      Description:   The implementation of the javac compiler for IBM JDK 1.4 (needed for xerces-2)
      License:       Apache-2.0

*  dev-java/xjavadoc
      Latest version available: 1.1-r1
      Latest version installed: [ Not Installed ]
      Size of files: 505 kB
      Homepage:      http://xdoclet.sourceforge.net/xjavadoc/
      Description:   A standalone implementation of JavaDoc engine suited for XDoclet
      License:       BSD

*  dev-java/xz-java
      Latest version available: 1.0
      Latest version installed: [ Not Installed ]
      Size of files: 116 kB
      Homepage:      http://tukaani.org/xz/java.html
      Description:   Implementation of xz data compression in pure java
      License:       public-domain

*  dev-perl/JavaScript-Minifier [ Masked ]
      Latest version available: 1.50.0
      Latest version installed: [ Not Installed ]
      Size of files: 7 kB
      Homepage:      http://search.cpan.org/dist/JavaScript-Minifier/
      Description:   Perl extension for minifying JavaScript code
      License:       || ( Artistic GPL-1 GPL-2 GPL-3 )

*  dev-perl/JavaScript-SpiderMonkey [ Masked ]
      Latest version available: 0.200.0
      Latest version installed: [ Not Installed ]
      Size of files: 18 kB
      Homepage:      http://search.cpan.org/dist/JavaScript-SpiderMonkey/
      Description:   Perl interface to the JavaScript Engine
      License:       || ( Artistic GPL-1 GPL-2 GPL-3 )

*  dev-php/PEAR-HTML_Javascript
      Latest version available: 1.1.2
      Latest version installed: [ Not Installed ]
      Size of files: 8 kB
      Homepage:      http://pear.php.net/HTML_Javascript
      Description:   Provides an interface for creating simple JS scripts within PHP
      License:       PHP-3

*  dev-ruby/bouncy-castle-java
      Latest version available: 1.5.0146.1
      Latest version installed: [ Not Installed ]
      Size of files: 1,945 kB
      Homepage:      http://www.bouncycastle.org/java.html
      Description:   A gem redistribution of 'Legion of the Bouncy Castle Java cryptography APIs'
      License:       MIT

*  dev-util/monodevelop-java
      Latest version available: 2.8.5.1
      Latest version installed: [ Not Installed ]
      Size of files: 43 kB
      Homepage:      http://www.monodevelop.com/
      Description:   Java Extension for MonoDevelop
      License:       GPL-2

*  java-virtuals/javamail
      Latest version available: 1.0-r1
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org
      Description:   Virtual for javamail implementations
      License:       GPL-2

*  kde-base/krossjava
      Latest version available: 4.8.5
      Latest version installed: [ Not Installed ]
      Size of files: 131 kB
      Homepage:      http://www.kde.org/
      Description:   Java plugin for the kdelibs/kross scripting framework.
      License:       GPL-2

*  net-misc/java-wakeonlan
      Latest version available: 1.0.0-r1
      Latest version installed: [ Not Installed ]
      Size of files: 343 kB
      Homepage:      http://www.moldaner.de/wakeonlan/
      Description:   A wakeonlan commandline tool and Java library
      License:       GPL-2

*  sec-policy/selinux-java [ Masked ]
      Latest version available: 2.20120215-r15
      Latest version installed: [ Not Installed ]
      Size of files: 631 kB
      Homepage:      http://www.gentoo.org/proj/en/hardened/selinux/
      Description:   SELinux policy for java
      License:       GPL-2

I don't see anything that looks like JDK and SDK...


Thanks for reply!
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 400
Location: münchen.de

PostPosted: Tue Sep 18, 2012 1:56 pm    Post subject: Reply with quote

Try emerge -s jdk
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Sep 18, 2012 2:01 pm    Post subject: Reply with quote

Code:
*  dev-java/apple-jdk-bin [ Masked ]
      Latest version available: 1.6.0
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://java.sun.com/j2se/1.6.0/
      Description:   Links to Apple's version of Sun's J2SE Development Kit
      License:       as-is

*  dev-java/db4o-jdk11
      Latest version available: 7.4
      Latest version installed: [ Not Installed ]
      Size of files: 312 kB
      Homepage:      http://www.db4o.com
      Description:   Core files for the object database for java
      License:       GPL-2

*  dev-java/db4o-jdk12
      Latest version available: 7.4
      Latest version installed: [ Not Installed ]
      Size of files: 89 kB
      Homepage:      http://www.db4o.com
      Description:   Core files for the object database for java
      License:       GPL-2

*  dev-java/db4o-jdk5
      Latest version available: 7.4
      Latest version installed: [ Not Installed ]
      Size of files: 63 kB
      Homepage:      http://www.db4o.com
      Description:   Core files for the object database for java
      License:       GPL-2

*  dev-java/diablo-jdk [ Masked ]
      Latest version available: 1.6.0.07.02
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.FreeBSDFoundation.org/downloads/java.shtml
      Description:   Java Development Kit
      License:       sun-bcla-java-vm

*  dev-java/gcj-jdk [ Masked ]
      Latest version available: 4.6.3
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/
      Description:   Java wrappers around GCJ
      License:       GPL-2

*  dev-java/hp-jdk-bin [ Masked ]
      Latest version available: 1.6.0.05
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.hp.com/go/java
      Description:   HP JDK/JRE and Plug-In
      License:       HP-JDKJRE6

*  dev-java/ibm-jdk-bin [ Masked ]
      Latest version available: 1.6.0.9_p2-r1
      Latest version installed: [ Not Installed ]
      Size of files: 93,588 kB
      Homepage:      http://www.ibm.com/developerworks/java/jdk/
      Description:   IBM Java SE Development Kit
      License:       IBM-J1.6

*  dev-java/oracle-jdk-bin [ Masked ]
      Latest version available: 1.7.0.7
      Latest version installed: [ Not Installed ]
      Size of files: 93,788 kB
      Homepage:      http://www.oracle.com/technetwork/java/javase/
      Description:   Oracle's Java SE Development Kit
      License:       Oracle-BCLA-JavaSE examples? ( BSD )

*  dev-java/sun-jdk [ Masked ]
      Latest version available: 1.6.0.35
      Latest version installed: [ Not Installed ]
      Size of files: 70,351 kB
      Homepage:      http://www.oracle.com/technetwork/java/javase/
      Description:   Oracle's Java SE Development Kit
      License:       Oracle-BCLA-JavaSE

*  java-virtuals/jdk-with-com-sun
      Latest version available: 20111111
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org
      Description:   Virtual ebuilds that require internal com.sun classes from a JDK
      License:       GPL-2

*  virtual/jdk
      Latest version available: 1.6.0-r1
      Latest version installed: 1.6.0-r1
      Size of files: 0 kB
      Homepage:     
      Description:   Virtual for JDK
      License:       


I'm so embarrased... :oops:
Is dev-java/oracle-jdk-bin [ Masked ] okay then?
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 400
Location: münchen.de

PostPosted: Tue Sep 18, 2012 2:36 pm    Post subject: Reply with quote

oracle-jdk-bin is the official binary java version from Oracle. Read the portage output, you must download it manually from the Oracle website.
dev-java/icedtea-bin (binary) and dev-java/icedtea (build from source) are the implementations of the OpenJDK project (build completely with free open source tools).

Most java programms run with icedtea, but some java programms (which use the proprietary com.sun.* packages) don't run with icedtea but with oracle-jdk. So if open source is most important for you, go for icedtea. If stability is more important for you, go for oracle-jdk-bin. Or install both and switch with "java-config -L" and "java-config -s".
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2463
Location: Austria

PostPosted: Wed Sep 19, 2012 9:05 am    Post subject: Reply with quote

forrestfunk81 wrote:
If stability is more important for you, go for oracle-jdk-bin. Or install both and switch with "java-config -L" and "java-config -s".

What stability do you mean there? Seems to me the only reason to use oracle-jdk would be the com.sun.* packages...
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 400
Location: münchen.de

PostPosted: Wed Sep 19, 2012 12:14 pm    Post subject: Reply with quote

genstorm wrote:
forrestfunk81 wrote:
If stability is more important for you, go for oracle-jdk-bin. Or install both and switch with "java-config -L" and "java-config -s".

What stability do you mean there? Seems to me the only reason to use oracle-jdk would be the com.sun.* packages...

You're right. Stability is the wrong term. I meant to be on the safe side and ensure that all java applications will run.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum