I am using Java SE with Eclipse happily but now I am going to write a "send mail" program which requires javax.mail
package. I found that in Java EE so I downloaded one (180MB) and I know that Java EE installation needs SE JDK/JRE. Because I installed Java SE in c:\java\jdk1.7
(not the default path) I use -j c:\java\jdk1.7
to install Java EE. I have several questions about it.
How could I let Eclipse to load the Java EE package? Should I change the JRE in Java EE? Now Eclipse still only know the SE lib.
Do we have a JDK version which include APIs from Java EE? Because I really do not want to install two JREs in my computer and I do not need Glassfish. Can some one tell me which one I should download?
Is there
src.zip
for Java EE api? I cannot find it.