Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Maple 16 (computer algebra system) to the directory /opt/maple16/ and the installation and registration progress is finished succesfully. I am running Arch Linux.

The terminal version of the program (maple) works fine, but when I start the GUI version (xmaple), the actual interface doesn't show up, however it does display the 'hint of day' window and it is possible to use, for instance, Ctrl + S for saving.

The program also opens two windows, the actual empty maple document and an empty java window.

I have tried runing it as both a normal user and as root, but that does not seem to change anything. I am using Awesome WM, but I'm not sure if that might be part of the problem.

What might the problem be and have anyone experienced the same problems? How can I debug a problem like this?

share|improve this question
up vote 0 down vote accepted

If the Maple 16 GUI is Java (which it is, judging from the documentation - at least for an older version), try this procedure from the Arch wiki (refers to Xmonad but other tiling WMs might need it):

If you are using openjdk6, you can export _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/openjdk6.sh.
If you are using jre7-openjdk, you can export _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh.

So, try launching the GUI after export _JAVA_AWT_WM_NONREPARENTING=1.

share|improve this answer
1  
I copied the jre folder from my $JAVA_HOME directory (/usr/lib/jvm/java-7-openjdk/ in my case) and replaced the jre.X86_64_LINUX in the maple directory with that, as described on the maplesoft.com page. Then I added 'export _JAVA_AWT_WM_NONREPARENTING=1' to /etc/profile.d/jre.sh as described on the Xmonad arch-wiki page. This seems to work just fine, so thank you for your help! – user20771 Aug 18 '12 at 12:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.