What does not
First download both Java 7 JRE and Java 8 JRE.
Install Java 7 on wine and install Java 8 on Windows Virtual Machine.
from Windows copy C:/Program Files (x86)/Java/Jre8 folder into wine as jre7 in the same directory. you can delete old one but the name must be same.
now you can run wine java -version and see it working, hopefully...
What was not tested
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Ubuntu 17.10 "Artful" amd64 (+variants like Kubuntu)||Feb 26 2018||3.2||No, but has workaround||Yes||Yes||Bronze||noa body|
|Show||Ubuntu 17.10 "Artful" amd64 (+variants like Kubuntu)||Feb 23 2018||3.0||No, but has workaround||Yes||Yes||Bronze||noa body|
|Current||Arch Linux x86_64||Oct 22 2017||2.19||No, but has workaround||Yes||Yes||Silver||George|
|Show||Arch Linux x86_64||Dec 11 2016||1.9.24||No, but has workaround||Yes||Silver||Fabian Maurer|
|Show||Arch Linux x86_64||Nov 21 2016||1.9.22||No, but has workaround||Yes||Silver||Josh Zackeroff|
|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|