Maple uses JOGL, and it has a feature called Automated Native Library Loading, which allows systems to automatically extract the proper native libraries required to use it. By default, this feature is enabled for all programs that use JOGL, but it can cause some programs (like Maple and Gephi) to run into start-up issues due to lingering processes with names of the form jogamp_exe_tst#####. To get around this, it's best to disable the Automated Native Library Loading. To do this for 64-bit Maple on 64-bit Windows:
- Open the following file in a text editor (such as Notepad++):
C:\Program Files\Maple 2021\bin.X86_64_WINDOWS\maplelauncher.l4j.ini
- Copy and paste the last line of the content below so that the file now looks the same. Note that the # that you see in the other lines means that those lines aren't used.
# Define a folder where to store Maple preferences # -Dmaple.user.home="C:\Temp" # Language # -Duser.language=en -Djogamp.gluegen.UseTempJarCache=false
- Save and close the file. Note that if you don't have the proper permissions, you may need to drag the file to your desktop first, make and save the change, then drag it back to bin folder.
Note that you can do the same thing for the mapleplayerlauncher.l4j.ini file if you have the same issue with the Maple Player. The file path will be same, except that instead of Maple 2021, the folder is Maple Player.
If you have the same issue with MapleSim, applying this change to the maplesimlauncher.l4j.ini file will work as well. It should be in
C:\Program Files\Maple 2021\toolbox\MapleSim\bin.X86_64_WINDOWS
but if you don't see it there, you can create it yourself; just make sure that you use the same file path if you do.