Eclipse Kepler JDK issues. [message #1276376] |
Mon, 24 March 2014 13:28  |
Eclipse User |
|
|
|
I am new to this forum so hopefully im in the right section.
I have been using Netbeans IDE for JSP development(no issues) but switched to Eclipse Kepler. But i have an error where Eclipse Kepler says
"There is an error in invoking javac. A full JDK (not just JRE) is required"
I have downloaded and installed the JDK from
"h t t p ://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-windows-x64.exe"
And been in Eclipse and select the jdk Window -> Preferences -> Java -> Installed JREs and selected the jdk from the path C:\Program Files\Java\jdk1.7.0_51\jre.
The path C:\Program Files\Java\jdk1.7.0_51 was not good enough since Eclipse could not see it as the root of the directory.
What do i do? It seems no matter what i do then Eclipse wont work with my JSP pages and the local server inside the program. But normal Java console programs have no JDK issues.
Hope that someone can help me.
Thanks on advance
Kind regards.
|
|
|
Re: Eclipse Kepler JDK issues. [message #1276448 is a reply to message #1276376] |
Mon, 24 March 2014 15:24   |
Eclipse User |
|
|
|
Cristian,
JDT doesn't support JSP, so I assume you're using technology provided by
the Web Tools project, so best you ask about it on their forum.
On 24/03/2014 7:29 AM, cristian ambaek wrote:
> I am new to this forum so hopefully im in the right section.
>
> I have been using Netbeans IDE for JSP development(no issues) but
> switched to Eclipse Kepler. But i have an error where Eclipse Kepler says
> "There is an error in invoking javac. A full JDK (not just JRE) is
> required"
>
> I have downloaded and installed the JDK from
> "h t t p
> ://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-windows-x64.exe"
> And been in Eclipse and select the jdk Window -> Preferences -> Java
> -> Installed JREs and selected the jdk from the path C:\Program
> Files\Java\jdk1.7.0_51\jre.
>
> The path C:\Program Files\Java\jdk1.7.0_51 was not good enough since
> Eclipse could not see it as the root of the directory.
>
> What do i do? It seems no matter what i do then Eclipse wont work with
> my JSP pages and the local server inside the program. But normal Java
> console programs have no JDK issues.
>
> Hope that someone can help me.
> Thanks on advance
> Kind regards.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24908 seconds