[
https://issues.jboss.org/browse/JBIDE-8366?page=com.atlassian.jira.plugin...
]
Snjezana Peco commented on JBIDE-8366:
--------------------------------------
Alexey,
After changing Java Execution environment, it is necessary to call PDE Tools>Update
Classpath... because .classpath contains J2SE-1.5 that causes the plugin still to have
compile errors when JDK/JRE 1.5 exists in the workspace.
JBoss Tools and Java Execution Environment
------------------------------------------
Key: JBIDE-8366
URL:
https://issues.jboss.org/browse/JBIDE-8366
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: bpel, cdi (jsr-299), jsp/jsf/xml source editing
Affects Versions: 3.2.0.CR1
Reporter: Snjezana Peco
Assignee: Robert (Bob) Brodt
Fix For: 3.3.0.M1
Some JBT plugins have the J2SE-1.5 execution environment set although they use
classes/methods that only exist in JDK 6.
The following plugins:
org.eclipse.bpel.model
org.eclipse.bpel.ui
o.j.t.cdi.ui
o.j.t.jst.jsp
contain compile errors if there is JDK/JRE 1.5 in the workspace. Since the
classes/methods that are being used aren't a part of the language, but a part of JRE,
Eclipse can't find those errors because there is only JDK/JRE 1.6 in the workspace.
The solution is to change the execution environment to JavaSE-1.6
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira