Install Open Workbench and JRE on Wine in Linux Mint

3 minute read

What is Open Workbench?

Open Workbench is a Project Planning Software comparable to Microsoft Project. There are mixed views on whether it is truly open source or not but as it is considered a very good alternative for Microsoft Project and it is free to download, it is something I as a Project Manager would want to know about. After all some of my clients are going to be using this. :) Now then, as of writing this article Open Workbench is not available from the well publicised site www.openworkbench.org which seems to be down. Instead it is available for download fromhttp://www.itdesign.de/en/products-solutions/open-workbench.html As you will find that the installer is an exe and the product is made for Windows platform and requires Java Runtime Environment, we will need to either use Windows in virtualbox or Wine. I am going to cover below the steps for installing the software on Linux using Wine. Steps to install Open Workbench and JRE on Wine V1.2.2 in Linux Mint:

  1. Install JRE in wine
  2. Install Open Workbench in wine
  3. Configure wine to play well with Open Workbench
  4. Configure icon to launch Open Workbench

What do we need?

  1. We will need to download the installer exe file from http://www.itdesign.de/en/products-solutions/open-workbench.html
  2. As the product requires Java Runtime Environment, we will need to download the JRE for windows.
  3. We will need access to system32 folder of a WindowsXP machine or in Virtualbox.

Step 1: Install JRE in wine

You can download the JRE file from http://www.oracle.com/technetwork/java/javase/downloads/index.html . Remember, we only need JRE not JDK so click the download button in second column. This will open another page for you to select which JRE package you want to download.
Alt Text Click on the radio-button to accept license agreement and then select Windows x86 Offline for download.

I am assuming that your hardware is 32 bit, if not please select Windows x64 but it will not have the offline version and I have no way of checking if it will work or not; so please leave a comment either way as it will help others.

Alt Text a) Copy the downloaded (jre-6u25-windows-i586.exe) file into .wine/drive_C/Program Files. You can do this using GUI on Linux Mint using steps below:

  • Goto MENU-ALL APPLICATIONS-WINE and click on BROWSE C: DRIVE
  • Click on Program Files folder.
  • Paste the copied exe file here.

Alt Text b) Right click on the exe file and select "open with wine windows program loader".
c) Follow the installation wizard.
Alt Text
Once completed move on to next step.

Step 2: Install Open Workbench in wine

a) Download the “Open Workbench” installer file(Open_Workbench_Setup_1.1.6.exe) and copy it into .wine/drive_C/Program Files.

TIP: You can use Step 1 bullet "a" to reach drive_c and then click on windows folder and then on system32 folder.

b) Right click on the exe file and select "open with wine windows program loader".

TIP: You can use Step 1 bullet "b" to reach drive_c and then click on windows folder and then on system32 folder.

c) Follow the installation wizard. Step 3: Configure wine to play well with Open Workbench Due to some bug identified in Wine V1.2 the odbc32.dll file does not work and gives the error “err:module:attach_process_dlls “odbc32.dll” failed to initialize, aborting” if you try to run file from Terminal. The following workaround is one suggested on Launchpad (https://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/572393) and does solve the problem. I have just tried to make it easier to follow the instructions by providing screenshots and explaining each step.

  1. On the WindowsXP machine / virtualbox goto following location – C:\WINDOWS\system32
    Alt Text
  2. Now copy odbc32.dll and odbcint.dll files onto the Linux machine at this location - .wine/drive_c/windows/system32 .
TIP: You can use Step 1 bullet "a" to reach drive_c and then click on windows folder and then on system32 folder.
  1. Now goto wine configuration (On Linux Mint: MENU-ALL APPLICATIONS-WINE-CONFIGURE WINE)
  2. Click on Libraries tab.
  3. From the dropdown select odbc32 and click add.
  4. Click OK

Step 4: Configure Open Workbench icon to launch the application

  1. Open terminal (MENU - TERMINAL)
  2. Type: wine ~/.wine/drive_c/Program\ Files/Open\ Workbench/bin/npWBench.exe
  3. Once Open Workbench is opened we are sure the command works. Select this command and right click and select copy.
TIP: You can also press Ctrl+Shift+C to copy the selected text from terminal
  1. Close "Open Workbench" and goto icon in MENU-ALL APPLICATIONS-WINE.
  2. Right click the "Open Workbench" icon and click on "Edit Properties".
  3. In Command click on browse and navigate to following location: .wine/drive_c/Program Files/Open Workbench/bin/ and select the file npWBench.exe.

Alt Text

  1. Now click "OK"

This is it. You are ready to use Open workbench on Linux using wine.

Updated:

Leave a comment