I have installed JDK 7 and java EE sdk 6 with glassfish server, I am not using any IDE, just text editor, Which jar files of EE implementation should i add to classpath in order to compile the ejb code..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can see on the uploaded picture a list of jars provided by Glassfish 3.1.2. Depending on the type of project (Web application, pure EJB etc.) you need only some of them (e.g. if you won’t deal with Java Mail API, you don’t need javax.mail.jar), but to avoid problems later I would suggest including majority of them in your classpath.