PDA

View Full Version : Maple 12 input problem


c03
August 6th, 2008, 09:04 AM
Hi, I did the export awkat workaround thingy to go from a blank window in Maple 12 to something that works, that's great, BUT.

If I open a window in maple, "Save as..", "Insert Spreadsheet" any of the tutors or what so ever, I can't input any text, numbers, etc. the worksheet anymore!

If I close maple, and restart it, it works fine again, but I can't input any text, numbers, etc. into anything after opening an internal java window in maple.

I can copy and pasty by clicking, but the keyboard does nothing!

Also, the CommandAutoComplete (Ctrl+space) doesn't work.


I really suspect java in this one =/

What can I do?
- Regards c03

manualfaderen
August 24th, 2008, 07:23 AM
I just wanted to let everyone know that I have the same problem.

I'm running maple 12 on 8.04 on a lenovo T61

mali2297
August 25th, 2008, 03:15 PM
Do you use Sun Java or GCJ (GNU Java)?

HK1
August 31st, 2008, 12:38 AM
I am experiencing the same problem.
maple12 on hardy.
sun-java6-jre

baggins
September 9th, 2008, 10:22 AM
Do you use Sun Java or GCJ (GNU Java)?

Maple ships with its own java, and it's broken!
Sun fixed the compiz problem :
http://http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775
At least they have if the lines:
Release Fixed : 6u1(b01)
State : 10-Fix Delivered
Means what I think it does :)

So maybe maple will release a update that uses this fix.
Or maybe it's possible to force maple to use the "real" sun-java vm.

Other than that only "fix" seems to be disabling compiz (easy to do if you use Compiz-Switch (http://forlong.blogage.de/entries/pages/Compiz-Switch)). Only don't use the AWT_TOOLKIT fix if you disable compiz, or it still wont work.

-- Jon

baggins
September 9th, 2008, 07:13 PM
Maple ships with its own java, and it's broken!
Sun fixed the compiz problem :

...

Or maybe it's possible to force maple to use the "real" sun-java vm.

Yep it's possible to edit the script that starts maple, so it will use what ever java you choose.
Looks like everything works fine too. Wonder why thy ship their own java?
Anyway the fix is:

locate your maple script, location differs depending on where you installed.
open in a editor, and locate the section that matches your hardware (for most that will be : bin.IBM_INTEL_LINUX
In that section there is two lines starting with MAPLE_JRE_BIN and JRE_ROOT. They contain the folowing $MAPLE/jre.IBM_INTEL_LINUX/ swap this with the path to your jre of choice.


In my "fixed" maple script I have the following.
In the top I set a variable :
export JRE_BASE='/usr/lib/jvm/java-6-sun/jre'


Further down in the file I comment the lines
MAPLE_JRE_BIN="$MAPLE/jre.IBM_INTEL_LINUX/bin/"
JRE_ROOT="$MAPLE/jre.IBM_INTEL_LINUX/lib"
and add these
MAPLE_JRE_BIN="$JRE_BASE/bin/"
JRE_ROOT="$JRE_BASE/lib"

-- Jon

cantinflasa
October 26th, 2008, 01:06 AM
thank you very much, that was really useful, sorry if my english is not so good, itīs not my native language. That really worked for me, iḿ really thank.. i did just what you told me to do, and at moment everything is going good...

walki
November 30th, 2008, 10:31 PM
Thanks, this solved my problem also. Note edit the

MAPLE_JRE_BIN="$MAPLE/jre.X86_64_LINUX/bin/"
JRE_ROOT="$MAPLE/jre.X86_64_LINUX/lib"

lines if using the 64 bit version!

c03
December 10th, 2008, 08:48 AM
Thank you very much, this solved the problem! =)

c03
December 10th, 2008, 08:51 AM
I still can't use Auto-completion though. Ctrl+space does nothing =/

GjesBolan
February 14th, 2009, 08:58 AM
Thank you very much to all of you, this solves my problem!
:) :) :)

Good luck to all

FranzZdyb
February 23rd, 2009, 07:24 AM
Thank you so much...!

How do you people achieve such a level of expertise?

gian666
August 4th, 2010, 10:24 AM
with maple 12, on ubuntu 10.04 64 bit, it seems that the java workaround above (thank you, btw !) does not work using sun java, but DOES work if the "default java" package is installed and used (i.e. /usr/lib/jvm/java-1.6.0-openjdk/jre/).