[jbosstools-issues] [JBoss JIRA] (JBIDE-17829) Server adapter chooses wrong runtime for launches and validation is inconsistent
Rob Stryker (JIRA)
issues at jboss.org
Tue Jul 8 14:36:24 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983275#comment-12983275 ]
Rob Stryker commented on JBIDE-17829:
-------------------------------------
If you're confused why the error is showing at all, I will explain.
If your workspace only has java6, and you select the java7 execution environment, there will be 0 possible JREs that match the java7 execution environment. Your jdk6 will not match the java7 exec env, or the java8 exec env.
If you did have a java8 installed, it would match all existing java execution environments. A higher java will match lower java's exec-envs. A lower java will not match a higher java's exec-env.
Again, aside from the lagging validation, this is working as expected.
> Server adapter chooses wrong runtime for launches and validation is inconsistent
> --------------------------------------------------------------------------------
>
> Key: JBIDE-17829
> URL: https://issues.jboss.org/browse/JBIDE-17829
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Reporter: Max Rydahl Andersen
> Assignee: Rob Stryker
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Beta3
>
>
> I have only Java 6 JDK in eclipse.
> Create server
> Wildfly 8 (download and install runtime now works sanely- yay!)
> gets error saying "No valid JRE's found for execution environment "JavaSE-1.8" even though I have "JavaSE-1.7" selected.
> and when I change to 1.8 it says it can't find one for 1.7...something is weird.
> Then I add Java 7, choose Java 7 and save.
> When opening launch configuration it has Java SE 6 as the JRE system library for bootstrap entries.
> So something is *really* wrong.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list