Making Maple use the lastest JVm

Hi

I noticed that the java virtual machine that comes with MAPLE is behing the current JVM which is installed on my system. Is there a way to make maple use my current up to date version instead of its own obsolete version ?

acer's picture

yes

Yes. But how to do that depends on which OS your are using.

acer

I use Windows XP SP3

I use Windows XP SP3

Is it a good idea?

Apparently, the reason that Maple uses only the bundled Java is that testing was done against this version. So, it may have more problems with some other

.

Is there a way to try using

Is there a way to try using my latest JVM?

No body is interested to

No body is interested to give me a clue on how to try the latest java in maple ? may be I get a better performance than the little bit sluggish performance i have right now. Thanks in advance

alec's picture

I'm not sure

I'm not sure that it would be better. I don't know about the current situation, but in the past Maple's distribution included some additional Java packages which were not a part of the newest Java distribution, and using the newest distribution instead of Maple's created some problems because of that.

Alec

Not the issue

Actually that's not the issue Alec. The Issue is backward compatibility of Java.

David Clayworth Maplesoft GUI Developer

alec's picture

Deprecated

When I used to use it, Java usually keeped deprecated features for 2-3 releases (actually, longer than that) after they were deprecated. How large is the difference between the current release and the release used in Maple?

I should say that I was pleasantly surprised that Standard Maple worked in Vista with Aero without changing to the compatibility mode, as many other Java applications do. That was done well.

Alec

Not deprecated

It's not a question of deprecated features. Sun are very good about continuing to support those. There are, however, small differences in the behaviour of Java from one release to the next, as there are in any complex computer system, despite the best efforts of the programmers to eliminate them. I should say that in the big picture those differences are very minor, but Maple only needs to make use of one of them to cause a potential problem.

In answer to your second question, Maple 12 shipped with Java 6 Update 3 on Windows. Sun's most recent supported version is Java 6 update 7, and the most recent beta Java 6 update 10. Neither of these will differ very much from update 3. The beta may have bugs of its own, of course - that's why it's a beta. On the Mac Maple ships with Java 5, and there are good reasons for that. Mac implementations usually lag a little behind Windows.

David Clayworth Maplesoft GUI Developer

Latest JVM

Hi Infinity

Jakubi is absolutely right that Maple is tested only against the versions of the JVM that it is shipped with. If you run it with any other version then there may be errors - big ones or subtle ones.  It's not recommnded that you try this. Although Java tries to make it's latest releases back compatible with old ones in a complex system like Java that's not always possible. It's unlikely that you will get noticeably faster performance.

If you really want to try a different JVM then I'll try to find you a method for doing so. Obviously one way is to overwrite the JVM in the Maple installation with a new one, but that's even less recommended than any other way. Make sure you keep a copy of the installation Maple created so that you can go back to it.

If you do try using a new JVM then please make sure that if you encounter problems you try switching back to the old JVM, especially before posting to this website or talking to Tech Support. I say this for your own benefit since we may not be able to help you if we don't know the exact setup.

I should add that I really, really don't recommend even trying this if you are on a Mac. And remember that Maplesoft doesn't support anything other than the JREs we shipped with - anything different from that and you're on your own.

I hope that helps.

David Clayworth Maplesoft GUI Developer

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}