[jbosstools-issues] [JBoss JIRA] (JBIDE-12695) Java 1.7 is used for server launch even if java 1.6 is default in Eclipse on Mac

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Sep 24 05:38:35 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720912#comment-12720912 ] 

Rob Stryker commented on JBIDE-12695:
-------------------------------------

You did not set a default for the given execution environment. This is done in the execution envrironment sub-page for the jre properties. There you can set the default for each execution environment. Otherwise, the execution environment (aka java1.6) has no default jre, and so it takes the first one of the list. 

I've modified this to see if the workspace default is in the list of matching ones
                
> Java 1.7 is used for server launch even if java 1.6 is default in Eclipse on Mac
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-12695
>                 URL: https://issues.jboss.org/browse/JBIDE-12695
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.0.0.Alpha1
>         Environment: OS X 10.8 Mountain Lion
> Eclipse Java EE Juno
> JBT 4.0.0.Alpha1
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>             Fix For: 4.0.0.Alpha2
>
>
> When you start Eclipse with java 1.7, but you set the default in Eclipse to java 1.6 and then you add a new server (e.g. as7) it will be launched with java 1.7 instead of 1.6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list