Package:Java SE Runtime Environment (JRE)

From Funtoo
Jump to: navigation, search

Java SE Runtime Environment (JRE)

   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.


JRE is oracles java runtime environment. Package:Java SE Development Kit (JDK) also includes JRE. This package is for running java programs.

Installation

# emerge dev-java/oracle-jre-bin

Configuration

JVM

list java virtual machines:

# eselect java-vm list

set java virual machine os oracle jre:

# eselect java-vm set system oracle-jre-bin-1.7

Browser Plugin

list java browser plugins:

# eselect java-nsplugin list

set java browser plugin to oracle jre:

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

Runtime

To run java jar packages:

# java -jar package-to-run.jar