WineHQ

Sun Java JRE

No Screenshot

Submit Screenshot
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: 5.0

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
/java
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 winehq.org.
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.

    -cp
    -classpath
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D=
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:
                  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
    -ea[:...|:]
    -enableassertions[:...|:]
                  enable assertions with specified granularity
    -da[:...|:]
    -disableassertions[:...|:]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:[=]
                  load native agent library , e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:[=]
                  load native agent library by full pathname
    -javaagent:[=]
                  load Java programming language agent, see java.lang.instrument
    -splash:
                  show splash screen with specified image
See http://www.oracle.com/technetw... 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

Workarounds


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 tools.zip should be created.

$ mkdir jdk
$ cd jdk
$ unzip ../tools.zip

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.

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

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.)
 Add
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

Lots

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
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 
ShowUbuntu 17.10 "Artful" amd64 (+variants like Kubuntu)Feb 23 20183.0No, but has workaround Yes YesBronzenoa body 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

Comments

Comments Disabled

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