Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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! –  Anders Hovgaard Aug 18 '12 at 12:48
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.