Skip to main content



      Home
Home » Newcomers » Newcomers » j2sdk=1.8.0 BUT jre=1.7.0 Eclipse reports Compliance Issue(When JDK and JRE versions are different)
j2sdk=1.8.0 BUT jre=1.7.0 Eclipse reports Compliance Issue [message #1710907] Sat, 10 October 2015 15:15 Go to next message
Eclipse UserFriend
I make some adjustments to Java versions that Eclipse should use:
<b>Windows -> Preference -> Java</b>

I can see both

    Jdk1.7.0 which I use for development
    jre 1.8.0 which I use for runtime


I selected jdk1.7.0 in Eclipse for runtime over jre1.8.0 because I think using j2sdk at runtime gives me a better handle on the project.

index.php/fa/23505/0/

Eclipse reports: "The selected JRE does not support the current compiler compliance level of 1.8"

I hope I am not going to regret this!

Postscript"
OK, I regretted it, Help->Welcome threw error, does not display hiearchy-tree anymore.
Reset JRE back to 1.8.0 clears the error.

[Updated on: Sat, 10 October 2015 15:47] by Moderator

Re: j2sdk=1.8.0 BUT jre=1.7.0 Eclipse reports Compliance Issue [message #1710939 is a reply to message #1710907] Sun, 11 October 2015 09:03 Go to previous messageGo to next message
Eclipse UserFriend
It sounds like you've chosen 1.8 for source compliance and for that a
1.8 JRE is needed.


On 10/10/2015 9:15 PM, Arthur Chan wrote:
> I make some adjustments to Java versions that Eclipse should use:
> <b>Windows -> Preference -> Java</b>
>
> I can see both
>
> Jdk1.7.0 which I use for development
> jre 1.8.0 which I for runtime
>
>
> Eclipse reports: "The selected JRE does not support the current compiler compliance level of 1.8"
>
> I think using j2sdk at runtime gives me a better handle on the project.
>
> I hope I am not going to regret this!
Re: j2sdk=1.8.0 BUT jre=1.7.0 Eclipse reports Compliance Issue [message #1711054 is a reply to message #1710939] Mon, 12 October 2015 11:09 Go to previous message
Eclipse UserFriend
Thx.

Fixed that up.

Steep learning curve, most enjoyable, cool stuff.

Sorry, actually the other way around: J2SDK 1.7.0 and JRE 1.8.0 Embarrassed

Now the ADT bundle Shocked

I hope ADT bundle won't complain about my Java settings. Confused

[Updated on: Mon, 12 October 2015 11:12] by Moderator

Previous Topic:Newbie Asking
Next Topic:Server Tomcat v8.0 Server at localhost failed to start on eclipse
Goto Forum:
  


Current Time: Wed Apr 23 02:03:49 EDT 2025

Powered by FUDForum. Page generated in 0.07296 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top