WineHQ

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
URL: http://java.sun.com/
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

  • Java control panel
  • Java applications on Wine

What does not

  • Installer crashes after clicking "Next" (has workaround)
  • Java commands are not added to CMD (has workaround)

Workarounds

Installer crashes after clicking "Next"

Open winecfg and select Windows version to "Windows XP"

You have to do this, or else installation will be incomplete

use this command to install Java and wait it to complete:

wine jre-8uXXX-windows-x64.exe /s

Where "jre-8uXXX-windows-x64.exe" is the location and name of the Java installation file


Java commands are not added to CMD

1. Open regedit

wine regedit

2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment

3. Create a new "multiple word value" key named "JAVA_HOME" with the value "C:\Program Files\Java\jre1.8.0_XXX" (where XXX is the Java version you installed in)

NOTE: You can add both 32-Bits and 64-Bit version of Java alongside each other on the key

4. Modify "PATH" key and add to the key: ";%JAVA_HOME%\bin"

WARNING: DO NOT erase and replace it, add it to the key value instead. Eg: 

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;%SystemRoot%\system32\WindowsPowershell\v1.0;%JAVA_HOME%\bin

5. (Optional) Check it by opening wine CMD and using:

echo %JAVA_HOME%

java -version

6. Close regedit :3

What was not tested

  • Java update
  • rmiregistry and many other Java tools
  • Java JDK 8
  • Java web framework
  • Java SE is a huge platform, many and many Java applets were not tested

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

You may need to repeat workaround #2 manually everytime you update Java (change only JAVA_HOME path value)

jre1.8.0_311 was tested on this report

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentManjaro 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 
ShowFedora 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
52219 Java 8 offline installer crashes UNCONFIRMED View

Show all bugs

Comments

Comments Disabled

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