The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Java SE Development Kit (JDK)"
Line 23: | Line 23: | ||
[##g##ebuild N ##!g##] ##g##dev-java/java-config-2.2.0-r1000 ##!g## PYTHON_ABIS="##r##2.7 3.3##!r## ##bl##-2.6 -3.1 -3.2 -3.4 (-3.5)##!bl##" | [##g##ebuild N ##!g##] ##g##dev-java/java-config-2.2.0-r1000 ##!g## PYTHON_ABIS="##r##2.7 3.3##!r## ##bl##-2.6 -3.1 -3.2 -3.4 (-3.5)##!bl##" | ||
[##g##ebuild N ##!g##] ##g##dev-java/oracle-jdk-bin-1.8.0.11 ##!g## USE="##r##X alsa fontconfig nsplugin##!r## ##bl##(-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source##!bl##" | [##g##ebuild N ##!g##] ##g##dev-java/oracle-jdk-bin-1.8.0.11 ##!g## USE="##r##X alsa fontconfig nsplugin##!r## ##bl##(-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source##!bl##" | ||
}} | |||
Now you can emerge {{c|oracle-jdk-bin}} | Now you can emerge {{c|oracle-jdk-bin}} |
Revision as of 11:45, January 30, 2015
Java SE Development Kit (JDK)
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
You can install the free icedtea jdk or Oracle's version.
Therefore we have a virtual package called virtual/jdk. By default it will install the Oracle version. Jdk is dev-java/oracle-jre-bin & additional software for development.
Installation
root # emerge -a virtual/jdk
If you receive a message similar to the following, you will have to accept the Oracle java license to emerge the oracle-jdk-bin
:
root # emerge virtual/jdk Calculating dependencies... done! [ebuild N ] dev-java/java-config-wrapper-0.16 [ebuild N ] sys-apps/baselayout-java-0.1.0 [ebuild N ] app-admin/eselect-java-0.1.0 [ebuild N ] dev-java/java-config-2.2.0-r1000 PYTHON_ABIS="2.7 3.3 -2.6 -3.1 -3.2 -3.4 (-3.5)" [ebuild N ] dev-java/oracle-jdk-bin-1.8.0.11 USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source"
Now you can emerge oracle-jdk-bin
root # emerge virtual/jdk
After the installation finishes, you may want to check and see if you can use the jdk. You can do so by issuing the following command:
user $ java
media