Open ghost opened 8 years ago
This is running on Fedora 24 with openjdk 1.8:
$ java -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
If you look at the messages, it only appears to be unpacking XML files. This is a feature of the tool to always grab the latest XML.
The log messages may be misleading then, because .jar
pretty much always means "java executable code" (at least to me):
03:25:15.519 - [INFO] - Updating: /home/stewart/serverwiz/build/jars/serverwiz2_linux64.jar
03:25:15.520 - [INFO] - Querying: https://api.github.com/repos/open-power/serverwiz/releases/latest
03:25:17.169 - [INFO] - Remote File: https://github.com/open-power/serverwiz/releases/download/v2.2/serverwiz2_linux64.jar
03:25:17.175 - [INFO] - Latest version: v2.2
03:25:17.176 - [INFO] - Downloading: https://github.com/open-power/serverwiz/releases/download/v2.2/serverwiz2_linux64.jar
03:25:19.552 - [INFO] - File Size: 3218429
I added README with build instructions and behavior description of jars.
For the NullPointerException, do you see the GUI come up?
Looks like there have been some issues with GTK3 and SWT. For a temporary workaround:
export SWT_GTK3=0
I tested on Fedora24 and this worked for me. I will continue to investigate root cause.
With that work around, the GUI launched for me.
I pulled in newest jface jar and it fixes NPE, but the GUI is not pretty without SWT_GTK3=0. The GTK3 themes mess up the colors. You can switch to a high contrast theme and can see everything, but still not pretty. If you use GNOME, you can use gnome-tweak-tool to change theme.
nkskjames notifications@github.com writes:
I pulled in newest jface jar and it fixes NPE, but the GUI is not pretty without SWT_GTK3=0. The GTK3 themes mess up the colors. You can switch to a high contrast theme and can see everything, but still not pretty. If you use GNOME, you can use gnome-tweak-tool to change theme.
I love how Java is write once and run anywhere.
FWIW, on Fedora 24 it looks fine with SWT_GTK=0 or as default.
Stewart Smith OPAL Architect, IBM.
Considering there's no README, I did my best:
and then, considering there's no instructions on how to run, i tried this:
I certainly did not expect it to download code and execute it... very unexpected (is it even running what I built?)