Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Java SE Runtime Environment (JRE)"
Jump to navigation
Jump to search
Threesixes (talk | contribs) m |
(Updating to current 1.8 version for easier copy/paste) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
JRE is oracles java runtime environment. {{package|dev-java/oracle-jdk-bin}} also includes JRE. This package is for running java programs. | JRE is oracles java runtime environment. {{package|dev-java/oracle-jdk-bin}} also includes JRE. This package is for running java programs. | ||
=== Installation === | |||
{{console|body= | {{console|body= | ||
###i## emerge dev-java/oracle-jre-bin | ###i## emerge dev-java/oracle-jre-bin | ||
}} | |||
=== Configuration === | |||
==== JVM ==== | |||
list java virtual machines: | |||
{{console|body= | |||
###i## eselect java-vm list | |||
}} | |||
set java virual machine os oracle jre: | |||
{{console|body= | |||
###i## eselect java-vm set system oracle-jre-bin-1.8 | |||
}} | |||
==== Browser Plugin ==== | |||
list java browser plugins: | |||
{{console|body= | |||
###i## eselect java-nsplugin list | |||
}} | |||
set java browser plugin to oracle jre: | |||
===== 32bit ===== | |||
{{console|body= | |||
###i## eselect java-nsplugin set 32bit oracle-jre-bin-1.8 | |||
}} | |||
===== 64bit ===== | |||
{{console|body= | |||
###i## eselect java-nsplugin set 64bit oracle-jre-bin-1.8 | |||
}} | }} | ||
Latest revision as of 18:59, December 6, 2020
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. dev-java/oracle-jdk-bin also includes JRE. This package is for running java programs.
Installation
root # emerge dev-java/oracle-jre-bin
Configuration
JVM
list java virtual machines:
root # eselect java-vm list
set java virual machine os oracle jre:
root # eselect java-vm set system oracle-jre-bin-1.8
Browser Plugin
list java browser plugins:
root # eselect java-nsplugin list
set java browser plugin to oracle jre:
32bit
root # eselect java-nsplugin set 32bit oracle-jre-bin-1.8
64bit
root # eselect java-nsplugin set 64bit oracle-jre-bin-1.8
Runtime
To run java jar packages:
root # java -jar package-to-run.jar