Which JVM in Linux

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
robs
Master MS/Extra'er
Posts: 564
Joined: Sun Jan 17, 2010 4:26 pm
Location: Sydney, Australia

Which JVM in Linux

Post by robs »

I have been running TunerStudio 2.5.05 under Debian 8.6 (jessie) using the java-6-openjdk jre. It has behaved pretty well.

I finally got around to upgrading TunerStudio to 3.0.10 yesterday. It quit at startup with that Java environment. I tried upgrading to java-7; it started, but stopped with a blank canvas after the splash screen. Same when I tried the java-8 environment. The older version of TunerStudio also stops with a blank screen with the newer jre. Rolled back Java too, and at least I have the old version working again.

Is there some other Java environment that might behave better? Or some way of getting this Java into gear?

This may be a result of my odd tastes. I use the Ratpoison window manager and it's not very popular. Perhaps it doesn't generate the same X expose events etc. that KDE/Gnome does and the jvm developers haven't catered for it. Thought I should check here first.

**News flash**
Before I posted this I thought "maybe I should check the Java forums", sure enough, Ratpoison + Java-8 + AWT toolkit leads to empty grey windows. Rather than cancel this posting, here's the answer:
There are two solutions to work around this issue:
1. mask your window manager as one of the non-reparenting ones supported by AWT, using the wmname <http://tools.suckless.org/wmname> tool from the dwm-tools package:
$ wmname LG3D
2. set the environment variable _JAVA_AWT_WM_NONREPARENTING:
$ export _JAVA_AWT_WM_NONREPARENTING=true
Works for me. Thanks everyone -- I wouldn't have solved it without you!

Have fun,

Rob.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Which JVM in Linux

Post by LT401Vette »

TS 3.x does require a 1.7+ JRE.

Thanks for posting the solution in case someone else runs into it...
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Post Reply