Running an app that requires Java..

Questions about Wine on macOS.
Post Reply
iome
Newbie
Newbie
Posts: 2
Joined: Mon Mar 02, 2015 9:08 am

Running an app that requires Java..

Post by iome » Fri Jan 29, 2021 8:05 am

I am trying to run the windows version of this software on mac, through wine (it is a database manager by the Uni of Berlin, they macOS version is not supported anymore and doesn't work):

BTS_3.2.4-win32.win32.x86.zip or BTS_3.2.4-win32.win32.x86_64.zip

from here: http://aaew64.bbaw.de/bts/get/

However, when I launch it with wine, it looks for Java within its own folder..

Does anyone have any idea about how to solve this issue?

jkfloris
Level 9
Level 9
Posts: 1435
Joined: Thu Aug 14, 2014 10:10 am

Re: Running an app that requires Java..

Post by jkfloris » Sun Jan 31, 2021 4:45 pm

Summary: Install Java inside your BTS directory.

I've tried the 32-bit version
- Download BTS_3.2.4-win32.win32.x86.zip and the Java Windows Offline installer (jre-8u281-windows-i586.exe)
- Extract the BTS archive to $HOME/.wine/drive_c/BTS

Your $HOME/.wine/drive_c/BTS directory should like:

Code: Select all

jkfloris:~/.wine/drive_c/BTS$ ls -asl
totaal 456
  4 drwxr-xr-x  8 jkfloris jkfloris   4096 31 jan 22:25 .
  4 drwxr-xr-x  8 jkfloris jkfloris   4096 31 jan 22:23 ..
 64 -rw-r--r--  1 jkfloris jkfloris  63933 11 apr  2019 artifacts.xml
312 -rw-r--r--  1 jkfloris jkfloris 319488 11 apr  2019 BTS.exe
  4 -rw-r--r--  1 jkfloris jkfloris    256 11 apr  2019 BTS.ini
  4 drwxr-xr-x  9 jkfloris jkfloris   4096 31 jan 22:25 configuration
 24 -rw-r--r--  1 jkfloris jkfloris  24576 11 apr  2019 eclipsec.exe
  4 drwxr-xr-x 11 jkfloris jkfloris   4096 11 apr  2019 features
  4 drwxr-xr-x  4 jkfloris jkfloris   4096 11 apr  2019 p2
 24 drwxr-xr-x  7 jkfloris jkfloris  24576 11 apr  2019 plugins
  4 drwxr-xr-x  3 jkfloris jkfloris   4096 31 jan 22:25 workspace
Create the file $HOME/.wine/drive_c/java.cfg with the following two lines:

Code: Select all

INSTALL_SILENT=Enable
INSTALLDIR=C:\BTS\jre
Run the Java installer

Code: Select all

wine jre-8u281-windows-i586.exe INSTALLCFG=C:\\java.cfg
Run BTS

Code: Select all

cd $HOME/.wine/drive_c/BTS
wine BTS.exe

Post Reply