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$ Commented Dec 16, 2017 at 1:35
  • $\begingroup$ @pnz Try calling UninstallJava first. That might help. $\endgroup$ Commented Dec 16, 2017 at 12:38

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.