http preview starts the wrong jdk (and then aborts) [message #1740660] |
Tue, 16 August 2016 15:46  |
Eclipse User |
|
|
|
I'm running the latest Eclipse-Neon on a Mac running El Capitan. I have installed the latest JDK (1.8.x) and have relinked the /Library/Java/Home link to point to the 1.8 jdk rather than the 1.6 that is installed by default.
When I try to run an html file with HTTP Preview, it uses 1.6 to run, and since this version of eclipse wants a higher version, it aborts.
How do I configure Eclipse to launch preview with 1.8?
|
|
|
Re: http preview starts the wrong jdk (and then aborts) [message #1740668 is a reply to message #1740660] |
Wed, 17 August 2016 00:23  |
Eclipse User |
|
|
|
Sean,
I'm not sure what HTTP Preview is, but if there are launchers involved,
Window -> Preferences -> Java -> Installed JREs lets you configure which
JREs are available for compiling and launching. Does that help?
On 16.08.2016 22:14, Sean Rhody wrote:
> I'm running the latest Eclipse-Neon on a Mac running El Capitan. I
> have installed the latest JDK (1.8.x) and have relinked the
> /Library/Java/Home link to point to the 1.8 jdk rather than the 1.6
> that is installed by default.
> When I try to run an html file with HTTP Preview, it uses 1.6 to run,
> and since this version of eclipse wants a higher version, it aborts.
> How do I configure Eclipse to launch preview with 1.8?
|
|
|
Powered by
FUDForum. Page generated in 0.12853 seconds