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

m (vincent said accepting licenses isn't necessary....)
m (eselect garbage)
Line 8: Line 8:
 
Jdk is {{package|dev-java/oracle-jre-bin}} & additional software for java development.
 
Jdk is {{package|dev-java/oracle-jre-bin}} & additional software for java development.
  
== Installation ==
+
=== Installation ===
 
{{console|body=
 
{{console|body=
 
###i## emerge dev-java/oracle-jdk-bin
 
###i## emerge dev-java/oracle-jdk-bin
 
}}
 
}}
  
== Runtime ==
+
=== 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.8
 +
}}
 +
 
 +
==== 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.8
 +
}}
 +
 
 +
===== 64bit =====
 +
{{console|body=
 +
###i## eselect java-nsplugin set 64bit oracle-jdk-bin-1.8
 +
}}
 +
 
 +
=== 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:
 
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:
  

Revision as of 12:29, January 30, 2015

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

Keychain 2.8.2 Released

Keychain 2.8.2, a maintenance and bug fix release, is now available.
2015-11-16 by Drobbins
Drobbins

Unfork Tree is Live!

The "unfork" tree is now merged into the main Funtoo Linux tree, and Funtoo Linux is now using shards for core packages, x11 (including media libraries), KDE, GNOME, python and perl.
2015-10-12 by Drobbins
Drobbins

OpenSSH 7 Disables DSA Keys By Default

Please be aware of this important change to avoid getting locked out of your Funtoo server.
2015-10-07 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.

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

Installation

# emerge dev-java/oracle-jdk-bin

Configuration

JVM

list java virtual machines:

# eselect java-vm list
set java virual machine os oracle jdk:

# eselect java-vm set system oracle-jdk-bin-1.8

Browser Plugin

list java browser plugins:

# eselect java-nsplugin list
set java browser plugin to oracle jdk:

32bit
# eselect java-nsplugin set 32bit oracle-jdk-bin-1.8

64bit
# eselect java-nsplugin set 64bit oracle-jdk-bin-1.8

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