# Installing JD-GUI on openSUSE

*2014-07-27*

> Run the JD-GUI Java decompiler on openSUSE by installing its required libraries, with dependency lists for 32-bit and 64-bit systems.

[JD-GUI](https://java-decompiler.github.io/) is a standalone graphical utility for viewing Java source code reconstructed from `.class` files. It lets you inspect methods and fields in the decompiled code.

At the time of writing, the Linux download page didn't list the required libraries. To run that version on openSUSE, I had to install the dependencies below.

Run the command for your architecture as root.

For 64-bit openSUSE, install these 32-bit compatibility libraries:

- `libgtk-2_0-0-32bit`
- `libgthread-2_0-0-32bit`
- `libXxf86vm1-32bit`

```sh
zypper in libgtk-2_0-0-32bit libgthread-2_0-0-32bit libXxf86vm1-32bit
```

For 32-bit openSUSE, install:

- `libgtk-2_0-0`
- `libgthread-2_0-0`
- `libXxf86vm1`

```sh
zypper in libgtk-2_0-0 libgthread-2_0-0 libXxf86vm1
```

