7
$\begingroup$

I would like to update the Java version used by Mathmematica 10 from 1.7.x to 1.8.x/ Is it possible without installing Mathematica 11?

I have the latest Java on my system, but Mathematica 10 uses an old one.

$\endgroup$

1 Answer 1

5
$\begingroup$

You may use ReinstallJava with the CommandLine option.

ReinstallJava[CommandLine->"d:\\full\\path\\to\\java.exe"]

This information is not on ReinstallJava's documentation page but in the Calling Java from the Wolfram Language guide under the Launching the Java Runtime | Controlling the Command Used to Launch Java section.

Hope this helps.

$\endgroup$
2
  • $\begingroup$ I've already tried this, and I didn't work. But I will try it again, thanks! $\endgroup$
    – pnz1337
    Dec 16, 2017 at 1:35
  • $\begingroup$ @pnz Try calling UninstallJava first. That might help. $\endgroup$
    – Edmund
    Dec 16, 2017 at 12:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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