开发者

Is Java SE a prerequisite of Java EE?

开发者 https://www.devze.com 2023-03-17 07:32 出处:网络
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 corr

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 Jav开发者_JS百科a 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


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


Java EE classes are defined over Java SE classes, so you need to install Java SE, first.

Happy learning!

0

精彩评论

暂无评论...
验证码 换一张
取 消