Sun Java JRE

Java Runtime Environment, a virtual machine to run Java programs (programmed using Java, Scala, Groovy, ...).

Application Details:

Version: 8
License: Free to use
Votes: 4
Latest Rating: Gold
Latest Wine Version Tested: 6.23

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

$ wine bin/java -version
000b:fixme:winediag:start_process Wine Staging 4.21 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on
002c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
                  The default VM is server.

                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
                  set a system property
                  enable verbose output
    -version      print product version and exit
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
                  enable assertions with specified granularity
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
                  load native agent library , e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
                  load native agent library by full pathname
                  load Java programming language agent, see java.lang.instrument
                  show splash screen with specified image
See for more details.
002b:fixme:msvcrt:__clean_type_info_names_internal (0x702630) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x6b5d20) stub
002b:fixme:msvcrt:__clean_type_info_names_internal (0x18000b670) stub

What does not

The installation


Manual installation of Java 8.

Due to the nature of Java, you can run this on a Unix-like or
Windows, provided you have an existing Java 8 installation. However
these instructions will be for Unix-like systems. You will also need
p7zip-full (available in Debian) along with unzip.

Download jdk-8u60-windows-i586.exe and place it into C:\.

$ cd ~/.wine/drive_c
$ 7z x jdk-8u60-windows-i586.exe

A file called should be created.

$ mkdir jdk
$ cd jdk
$ unzip ../

The installation cannot yet be run, unpack200 must be called on all
pack200ed JAR files. Using a POSIX compatible shell this is simple. This
will take awhile to complete. If you do not have unpack200, you can use
one from another Java installation on another system.

find -type f | grep '\.pack$' | while read __line;
  __outjar="$(dirname "$__line")/$(basename "$__line" .pack).jar"
  echo "$__line" -- "$__outjar";
  unpack200 "$__line" "$__outjar";

After it is complete, check that your installation works.

$ wine bin/java -version

You should see

fixme:heap:HeapSetInformation (nil) 1 (nil) 0 java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM)
Client VM (build 25.60-b23, mixed mode)

This means that your installation works.

After this you can either:

Call via c:\jdk\bin\java (or relative paths, etc.)
c:\jdk\bin to your Windows PATH JAVA_HOME should not have to be set at
all, however if it complains about it then you can set it to c:\jdk\jre.

What was not tested


Hardware tested


  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
ShowManjaro LinuxDec 14 20216.23No, but has workaround Yes YesGoldJosesk Volpe 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Apr 15 20205.0No, but has workaround Yes YesGoldLeith Bade 
CurrentFedora 30 x86_64Jan 21 20204.21No, but has workaround Yes YesSilverTravis Sidelinger 
ShowGentoo Linux x86_64Dec 11 20194.20-stagingNo, but has workaround Yes YesGoldMyk Taylor 
ShowUbuntu 17.10 "Artful" amd64 (+variants like Kubuntu)Feb 26 20183.2No, but has workaround Yes YesBronzenoa body 

Known Bugs

Bug # Description Status Resolution Other apps affected
38624 jre-8u45-windows-i586.exe installer exits silently (needs advapi32.dll GetWindowsAccountDomainSid stub) CLOSED FIXED View
38811 Java JRE 8 installer 'jre-8uXX-windows-i586.exe' crashes on startup (GetThreadPreferredUILanguages is a stub) CLOSED FIXED View
40821 Multiple applications crash with stack overflow when setting IHTMLElement2::accessKey property (Java JRE 8 installer, RealNetworks RealPlayer 18.x, Adobe Photoshop CS3 installer) CLOSED FIXED View
52219 Java 8 offline installer crashes CLOSED DUPLICATE View

Show open bugs


Comments Disabled

Comments for this application have been disabled because there are no maintainers.