Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:05 Go to next message
Igor Livshin is currently offline Igor LivshinFriend
Messages: 1
Registered: March 2016
Junior Member
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 12:43] by Moderator

Report message to a moderator

Re: How to add Java EE JDK in Eclipse Mars [message #1732100 is a reply to message #1728859] Thu, 12 May 2016 14:59 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3051
Registered: July 2009
Senior Member

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.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:err_connection_refused
Next Topic:Mars2 Runtime Environments will not find tomcat 8.0.33
Goto Forum:
  


Current Time: Thu Jan 18 06:24:20 GMT 2018

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

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