How to install J2EE?

I have NetBeans installed and J2SE as the current platform. I am trying to install J2EE but can’t find it in the Java repository.

I tried downloading from here but when I try to install it, it installs GlassFish and update tools, and that is all. So it is incomplete.

My ‘java -version’ is

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

And java compiler is javac 1.6.0_18

Do I have the wrong packages? Can anyone help me with this? I’m still learning about Java technologies by the way.
Thanks.

Just download from oracle website —> </title> <script language=“JavaScript” type=“text/javascript” src="/ocom/groups/systemobject/@mktg_admin/documents/webcontent/oraclelib.js"> </script> <style type=“text/css”> HTML,BODY,TD,H1,H2,H3,H4,OL,UL,DL,LI,DT,DD {font-family:arial,helvetica,san](http://www.oracle.com/technetwork/java/javaee/download-141771.html)
Then on next page select platform, and download

To execute:
chmod a+x .bin
./
.bin

I get this when trying ./*.bin

./j2eesdk-1_4_03-linux.bin: error while loading shared libraries: libstdc+±libc6.2-2.so.3: cannot open shared object file: No such file or directory

Hi izaak,

you have to execute your *.bin file, in this case ----> j2eesdk-1_4_03-linux.bin

Therefore, you have to do the following:

>chmod a+x j2eesdk-1_4_03-linux.bin
>./j2eesdk-1_4_03-linux.bin