Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How to add Java EE JDK in Eclipse Mars
How to add Java EE JDK in Eclipse Mars [message #1728859] Fri, 08 April 2016 01:05 Go to next message
Eclipse UserFriend
Eclipse allows you to select a single JDK among Java JDKs being installed on the host (Windows>Preferences >Java>Installed JRE). However, when developing a J2EE project, java code for Session and Entity bean shows many errors because Java EE JDK is not installed.

I tried adding Java EE SDK using Windows>Preferences>Java>Build Path>Classpath Variables, but it does not help. I would prefer not to instal it into the Build Path for each project.

Any suggestion?

Thanks

[Updated on: Fri, 08 April 2016 08:43] by Moderator

Re: How to add Java EE JDK in Eclipse Mars [message #1732100 is a reply to message #1728859] Thu, 12 May 2016 10:59 Go to previous message
Eclipse UserFriend
Since every Java EE server has to be able to run code against those classes, they also provide those classes. You project should be getting all of those classes from a server that you're targeting. See the help topic.
Previous Topic:err_connection_refused
Next Topic:Mars2 Runtime Environments will not find tomcat 8.0.33
Goto Forum:
  


Current Time: Mon Jul 07 16:23:49 EDT 2025

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

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

Back to the top