Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Java SE a prerequisite of Java EE?

I am very new to programming and I am using Java as my first Programming Language. I am already using Java with Java SE for almost a week and I read something about Java EE and if I understood it correctly, Java EE = Java SE + other features, so I think I have to change my SDK to Java EE to save disk space.

I read the installation instructions about Java EE and it says there that its OK to have them both but I really wanted to have just Java EE. I uninstalled Java SE and installed Java EE but I was having some errors along the way and I can't continue installing Java EE. I can't remember what the errors were but I decided to cancel the installation. I installed Java SE again and installed Java EE and everything went smoothly. Now, I have both...

I am using JCreator 5 as my IDE and I configured it to use the Java EE jdk only. I tried to compile my test program but it seems that it cannot recognize it. How can I make my Java EE work without having Java SE.

I don't know whats going on. I am totally new to this. I just wanted to use J2EE... Please help.

Java SE is in C:\Program Files\Java while Java EE is in C:\Sun\AppServer

like image 886
Imbecile Avatar asked Feb 04 '26 14:02

Imbecile


1 Answers

Java EE is defined by its specification and its specification is built on top on the Java SE classes . Java EE classes will call Java SE classes , so you cannot use the Java EE without the installation of Java SE . Otherwise , you will encounter the java.lang.NoClassDefFoundError

like image 60
Ken Chan Avatar answered Feb 06 '26 06:02

Ken Chan