From Fedora Project Wiki

< Java

Revision as of 19:02, 19 October 2017 by Brunovernay (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenJDK package name on Fedora is java-1.?.0-openjdk.

Java Consoles

There are at least 2 consoles:

  • OpenJDK 8
    • Monitoring ...
    • Policy ...
  • IcedTea (deprecated ??)
    • Monitoring
    • Policy ...

shared library paths

OpenJDK's java.library.path, shared library paths for i386 are:


and for x86_64:


Java subsystem debugging


For all Java subsystem debugging, installing the symbols package java-1.8.0-openjdk-debuginfo is essential. All debuginfo sub-packages reside in own repository which needs to be enabled for installation at least. An example yum command:

# dnf install --enablerepo=fedora-debuginfo -y java-1.8.0-openjdk-debuginfo

Applets ??

Applets are deprecated, no ???

Console has moved to icedTea itself (requires icedtea-web package). Activating the console can be done with gui-tool:

 Program menu --> Settings --> IcedTea Web Control Panel


Console can for example list detailed information about the environment which can be useful for bug reporting:

System Properties:

http.agent: Java(tm) 2 SDK, Standard Edition v1.6.0_0 true
java.version.applet: true OpenJDK Runtime Environment
sun.boot.library.path: /usr/lib/jvm/java-1.6.0-openjdk-
java.vm.version: 14.0-b16
browser: sun.applet.AppletViewer
java.vendor.applet: true
java.vm.vendor: Sun Microsystems Inc.
path.separator: : OpenJDK 64-Bit Server VM
file.separator.applet: true US SUN_STANDARD
sun.os.patch.level: unknown
os.version.applet: true Java Virtual Machine Specification
user.dir: /home/tuju/Documents
java.runtime.version: 1.6.0_0-b16
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.endorsed.dirs: /usr/lib/jvm/java-1.6.0-openjdk-
os.arch: amd64
browser.version: 1.06
javax.accessibility.assistive_technologies: org.GNOME.Accessibility.JavaBridge
line.separator: /tmp
java.vm.specification.vendor: Sun Microsystems Inc. Linux
java.class.version.applet: true
sun.jnu.encoding: UTF-8
java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-
java.class.version: 50.0 Java Platform API Specification
path.separator.applet: true HotSpot 64-Bit Server Compiler
package.restrict.definition.sun: true
os.arch.applet: true
browser.vendor: Sun Microsystems Inc.
user.home: /home/tuju
user.zoneinfo.dir: /usr/share/javazi
user.timezone: Europe/Tallinn
java.awt.printerjob: sun.print.PSPrinterJob
line.separator.applet: true
java.specification.version: 1.6
file.encoding: UTF-8
java.class.path: . tuju true
java.vm.specification.version: 1.0
java.home: /usr/lib/jvm/java-1.6.0-openjdk- 64
user.language: en
java.specification.vendor: Sun Microsystems Inc. mixed mode
java.version: 1.6.0_0
java.ext.dirs: /usr/lib/jvm/java-1.6.0-openjdk-
sun.boot.class.path: /usr/lib/jvm/java-1.6.0-openjdk-
java.vendor: Sun Microsystems Inc.
file.separator: /
java.vendor.url.bug: UnicodeLittle
sun.cpu.endian: little
java.vendor.url.applet: true

Test URLs

Fedora's JRE in browser environment can be tested using the following test pages:

Note that those pages itself are sad examples of compliance of specifications: buggy or buggier - if you know any better pages, change them here.

See Also