Java SE Development Kit (JDK)

Revision as of 11:45, January 30, 2015 by Oleg (Talk | contribs)

dev-java/oracle-jdk-bin


Source Repository:Repository:Funtoo Overlay

http://www.oracle.com/technetwork/java/javase/overview/index.html

Summary: Oracle's Java SE Development Kit -- Java runtime, compiler, etc.

Use Flags

derby
Enable Installation of Bundled Derby (Java DB)
jce
Enable Java Cryptographic Extension Unlimited Strength Policy files
pax_kernel
Use paxctl to mark the JVM binaries.

News

Drobbins

IP Space Migration Continues

All Funtoo user containers in the 8.28 IP space will be moving into our new IP space (172.97) over the next few days. If you have DNS set up -- be sure to watch your container and update to the new IP! container.host.funtoo.org DNS will be updated after the move.
2015-08-27 by Drobbins
Drobbins

Funtoo Hosting IP Move

Funtoo user containers with IPs in the 72.18.x.x range will be gradually migrating to new IP addresses this week. If you have DNS entries for your containers, please be aware that your DNS will need to be updated.
2015-08-11 by Drobbins
Drobbins

New ARM Stages

New ARM Stages, built with a new toolchain, are now hitting mirrors. Existing ARM users should re-install using these stages (dated Aug 3, 2015 or later,) rather than upgrade using emerge.
2015-08-06 by Drobbins
More...

Java SE Development Kit (JDK)

Tip

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 Package:Java SE Runtime Environment (JRE) & additional software for development.

Installation

# 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:

# 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

# 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:

$ java


media