Note

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)"

From Funtoo
Jump to navigation Jump to search
(Created page with "{{Ebuild |Summary=Oracle's Java SE Development Kit -- Java runtime, compiler, etc. |CatPkg=dev-java/oracle-jdk-bin |Maintainer= |Homepage=http://www.oracle.com/technetwork/jav...")
 
m (1.7)
 
(11 intermediate revisions by 5 users not shown)
Line 6: Line 6:
}}
}}


Jdk is {{package|dev-java/oracle-jre-bin}} & additional software for java development.
=== Installation ===
{{console|body=
###i## emerge dev-java/oracle-jdk-bin
}}
=== Configuration ===
==== JVM ====
list java virtual machines:
{{console|body=
###i## eselect java-vm list
}}
set java virual machine os oracle jdk:
{{console|body=
###i## eselect java-vm set system oracle-jdk-bin-1.7
}}
==== Browser Plugin ====
list java browser plugins:
{{console|body=
###i## eselect java-nsplugin list
}}
set java browser plugin to oracle jdk:
===== 32bit =====
{{console|body=
###i## eselect java-nsplugin set 32bit oracle-jdk-bin-1.7
}}
===== 64bit =====
{{console|body=
###i## eselect java-nsplugin set 64bit oracle-jdk-bin-1.7
}}
=== 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:
{{console|body=
$##i## java -jar file.jar
}}
== media ==
{{#widget:YouTube|playlist=PLD22A26A9CD8A1A51}}
{{PageNeedsUpdates}}
{{EbuildFooter}}
{{EbuildFooter}}

Latest revision as of 13:02, January 30, 2015

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.


Jdk is dev-java/oracle-jre-bin & additional software for java development.

Installation

root # emerge dev-java/oracle-jdk-bin

Configuration

JVM

list java virtual machines:

root # eselect java-vm list

set java virual machine os oracle jdk:

root # eselect java-vm set system oracle-jdk-bin-1.7

Browser Plugin

list java browser plugins:

root # eselect java-nsplugin list

set java browser plugin to oracle jdk:

32bit
root # eselect java-nsplugin set 32bit oracle-jdk-bin-1.7
64bit
root # eselect java-nsplugin set 64bit oracle-jdk-bin-1.7

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:

user $ java -jar file.jar

media