https://bugzilla.novell.com/show_bug.cgi?id=476393 User funtasyspace@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=476393#c3 Jörg Hermsdorf <funtasyspace@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Jörg Hermsdorf <funtasyspace@yahoo.com> 2009-02-25 05:15:23 MST ---
Eclipse in SUSE cannot use Java 5 as a runtime environment, because it was built with target 1.6, so classes are incompatible with Java 5. I don't want to use Java 5 as the runtime environment for running eclipse. But I want it as the JRE for my project.
You can change the JRE for project. I know I can change it for my project but this doesn't help since I'm using the Maven integration, which will change the JRE again at the next execution. And since I can't specify the vendor of the JRE to use in the Maven pom.xml file for my project, but only the target execution environment the Maven plugin always configures SUN JRE 1.6 for my project because the SUN JRE 1.5 is not detected/listed as a compatible execution environment in eclipse. I want to re-emphasize, I'm not talking about compatible execution environment for running the eclipse IDE, but compatible execution environment for projects with target 1.5. For some reason the Sun JRE 1.5 shipped with openSUSE 11.1 is not detected as compatible for ANY target execution environments, whereas all the other JREs (Sun 1.6, OpenJDK, IcedTea, ...) are.
Maybe you have to tweak a Compiler compliance level to 1.5 in Project/Properties/Java compiler, because it was decreased to 1.4 after switch to JRE 1.5. This is done automatically by the Maven plugin. I just rechecked and confirmed, that it is set to 1.5 for my project. But what eclipse does is like: OK, I need a compatible JRE for 1.5... let me see what I find. OK, let's use Sun 1.6... well, this is not a perfect match, but the best I have available. Why is this? Well the Sun JRE 1.5 which would be a perfect match (and is installed on my system) is not recognized by eclipse neither as perfect nor compatible for 1.5 targets.
So this is not an invalid bug. It works as expected with eclipse on Windows XP, but not on openSUSE 11.1. And I don't feel this is a problem with eclipse on openSUSE 11.1, because all other available JREs are detected and mapped correctly... just the supplied Sun JRE and JDK versions 1.5 are not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.