Maple 18 and Java

denmoff
Contributor III

Has anyone had any luck getting Maple 18 to work with an Oracle version of Java? Seems like it will only recognize version 1.6 and i'd rather not enable 1.6 if i can avoid it.

5 REPLIES 5

CasperSally
Valued Contributor II

We don't run 6 here, nor Maple, but some of our apps look for 6 too.

When I get this prompt, there are 2 ways I know to fake the program into working without installing Java 6

1) run following which creates a sym link so when program looks for Java6 virtual machines in System folder path, it's redirected to the 7 JavaVirtual machines. Tried this, it didn't work for some apps

sudo mkdir /System/Library/Java/JavaVirtualMachines

sudo ln -s /Library/Java/JavaVirtualMachines/1.7.0.jdk /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

2) follow the alternative solution offered by Crashplan at this link. This fixed the issue for us with all of our Adobe Suite products.

http://support.code42.com/CrashPlan/Latest/Troubleshooting/Systems_Upgraded_to_Mac_OS_X_Mavericks_Require_Manual_Intervention

I did have another program that didn't work with either method - for that we had to ask developer to update for Java 7 - and they did thankfully.

denmoff
Contributor III

Good suggestions @CasperSally. I tried something similar to the first one already but didn't have any luck. First time seeing the second one, but no luck on that one either.

I curious to know if it would even work with the Oracle versions, even if i can trick it to think it's the system version.

mfcfadmin
Contributor II

@denmoff did you ever get a working solution to this issue. I am faced with the exact same predicament currently.

denmoff
Contributor III

@mfcfadmin Unfortunately, no. I've resorted to allowing the user to install Java 6.

mfcfadmin
Contributor II

@denmoff I was finally able to get this to work and I won't go into all the gory details but I suspect it is all in the way and order that things get installed, and the methods by which you do the installing.

If Java 6 http://support.apple.com/kb/dl1572 from here is installed first it creates a symbolic in /Library/Internet Plug-Ins. Java 7 http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html needs to be installed next. Do an

ls -al /Library/Internet Plug-Ins

to make sure that the symbolic link has now been replaced with a valid JavaAppletPlugin.plugin directory. Test to verify that java 7 is the primary version with

java -version
You can also check to see that all java virtual machines are available by doing
/usr/libexec/java_home -V

Once you have both javas living harmoniously on the Mac you should be able to install Maple 18 and have it work and be happy.

This method works if all the installs are being done manually. If however, you are wanting automate in any manner then some things break. I can elaborate on the workaround I have been able to cobble together if it will assist you, but we can take that offline.