Specified JRE not being used from eclipse.ini [message #1696842] |
Thu, 28 May 2015 20:16  |
Eclipse User |
|
|
|
Hi,
I'm on Ubuntu 14.04 using Luna. I've got JDK 6, 7, and 8 installed on the system in the 'normal' locations, but for other purposes I also have separate directories of those JDKs.
Because I'm using Oracle tools, JRE 8 is required. I do have the system Java set to JDK 8 from the /usr/lib/jvm/java-8-oracle directory. This is also what /usr/bin/java executes.
In my eclipse.ini file however, I have:
-vm
/home/lesh/jdk180_45/bin/java
When I go into Eclipse and go to 'Help->About Eclipse->Installation details->Configuration', it shows:
Why isn't the path I've specified used?
Do JAVA_HOME/JRE_HOME have any impact on how this plays out or any other effect within Eclipse?
Thanks.
Les
|
|
|
Re: Specified JRE not being used from eclipse.ini [message #1696851 is a reply to message #1696842] |
Fri, 29 May 2015 01:02   |
Eclipse User |
|
|
|
Les,
Try specifying /home/lesh/jdk180_45/ and keep in mind that if there are
symbolic links involved, the Configuration shows the resolved result,
and will likely show the final canonical path...
Also try specifying a wrong location (one where there is no executable)
and note whether the IDE refuses to start in that case.
I'm not sure JAVA_HOME/JRE_HOME have any impact; I kind of doubt it.
On 29/05/2015 2:16 AM, Les Hartzman wrote:
> Hi,
>
> I'm on Ubuntu 14.04 using Luna. I've got JDK 6, 7, and 8 installed on
> the system in the 'normal' locations, but for other purposes I also
> have separate directories of those JDKs.
>
> Because I'm using Oracle tools, JRE 8 is required. I do have the
> system Java set to JDK 8 from the /usr/lib/jvm/java-8-oracle
> directory. This is also what /usr/bin/java executes.
>
> In my eclipse.ini file however, I have:
>
> -vm
> /home/lesh/jdk180_45/bin/java
>
>
> When I go into Eclipse and go to 'Help->About Eclipse->Installation
> details->Configuration', it shows:
>
> -vm
> /usr/bin/java
>
>
> Why isn't the path I've specified used?
>
> Do JAVA_HOME/JRE_HOME have any impact on how this plays out or any
> other effect within Eclipse?
>
> Thanks.
>
> Les
|
|
|
|
|
|
|
|
|
Re: Specified JRE not being used from eclipse.ini [message #1696977 is a reply to message #1696969] |
Fri, 29 May 2015 19:21  |
Eclipse User |
|
|
|
On 05/29/2015 02:37 PM, Les Hartzman wrote:
> Well, now there is a thought. I'll go see if there are any errors being
> generated.
A couple of additional guesses. Make sure you're working directory when
launching is the directory where the eclipse.ini file is located. Make
sure that the eclipse.ini file is in the directory with the eclipse
executable.
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds