Difference between revisions of "Package:Java SE Development Kit (JDK)"

m (vincent said accepting licenses isn't necessary....)
Line 6: Line 6:
 
}}
 
}}
  
You can install the free icedtea jdk or Oracle's version.
+
Jdk is {{package|dev-java/oracle-jre-bin}} & additional software for java development.
Therefore we have a virtual package called ''virtual/jdk''. By default it will install the Oracle version.  Jdk is {{package|dev-java/oracle-jre-bin}} & additional software for development.
+
  
 
== Installation ==
 
== Installation ==
 
{{console|body=
 
{{console|body=
###i## emerge -a virtual/jdk
+
###i## emerge dev-java/oracle-jdk-bin
 
}}
 
}}
  
If you receive a message similar to the following, you will have to accept the Oracle java license to emerge the {{c|oracle-jdk-bin}}:
+
== Runtime ==
{{console|body=
+
After the installation finishes, you may want to check and see if you can use the jre components of jdk. You can do so by issuing the following command:
###i## emerge virtual/jdk
+
Calculating dependencies... done!
+
[##g##ebuild  N    ##!g##] ##g##dev-java/java-config-wrapper-0.16 ##!g##
+
[##g##ebuild  N    ##!g##] ##g##sys-apps/baselayout-java-0.1.0 ##!g##
+
[##g##ebuild  N    ##!g##] ##g##app-admin/eselect-java-0.1.0 ##!g##
+
[##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##"
+
}}
+
 
+
Now you can emerge {{c|oracle-jdk-bin}}
+
{{console|body=
+
###i## 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:
 
 
{{console|body=
 
{{console|body=
$##i## java
+
$##i## java -jar file.jar
 
}}
 
}}
  

Revision as of 12:05, January 30, 2015

dev-java/oracle-jdk-bin


Source Repository:Funtoo Overlay
Homepage

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

Mgorny

New OpenGL management in Funtoo

Funtoo is switching to an improved system for managing multiple OpenGL providers (Mesa/Xorg, AMD and nVidia). The update may involve blockers and file collisions.
30 March 2015 by Mgorny
Drobbins

Subarch Profiles are coming...

Subarch profiles are on their way! Learn more here.
29 March 2015 by Drobbins
Drobbins

RSS/Atom Support

You can now follow this news feed at http://www.funtoo.org/news/atom.xml .
10 February 2015 by Drobbins
View More News...

Java SE Development Kit (JDK)

Tip

This is a wiki page. To edit it, 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.


Jdk is Java SE Runtime Environment (JRE) & additional software for java development.

Installation

# emerge dev-java/oracle-jdk-bin


Runtime

After the installation finishes, you may want to check and see if you can use the jre components of jdk. You can do so by issuing the following command:

$ java -jar file.jar


media