Today, we had a professional class called Java EE Architecture and Enterprise JavaBeans, and we learned how to install both JaveSE and JaveEE, and configure them. It’s a little bit complicated from professior’s notes. After I did the installation, I summarized the following three steps and make the installation easy.
- Download both package which are Jave SE and Java EE (Without JDK), and install both of them.
- Define system variabls as following:
- JAVA_HOME = <JavaSE_Install_Dir>
- JavaEE_HOME = <JavaEE_Install_Dir>
- ANT_HOME = <JavaEE_Install_Dir>\lib\ant
- Add following path at the end of system PATH:
- ;%JAVA_HOME%\bin;%JavaEE_HOME%\bin; %JavaEE_HOME%\lib\ant\bin;
You’re done! Is it easy?
Now you can test to see if it works by opening command prompt:
c:\temp>javac –version
c:\temp>java –version
and you should be able to see the java version information.
If you need database drivers, you need to copy the database drivers into directory: %JavaEE_HOME %\SDK\domains\domain1\lib\ext
Steven August 6, 2021
If I already have SE can I just download EE and set those environment variables as you directed, or is it not that straight forward once SE is already installed?