Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donuts236786y@asgs You can compile Java using either a JRE or JDK distribution I think. But for more advanced features and things like Maven,Android Studio (Gradle?) It will complain unless the project is set to build with a JDK.
-
donuts236786y@ganjaman yes maybe... If you've worked at a big company and use Java, that means you know J2EE...
-
@billgates as you can see in the picture you attached, its a list of JRE added to your IDE, because JDK has the full JRE inside it it can be used as a java runtime environment as well (aka JRE). The list tells the IDE where to find the runtime environment in which the built project should be run. However th build itself requires a JDK. The warning comment on top shows that you set the IDE to allow java 1.8 syntax but the selected JRE would not be able to run the built app if you actually used higher level syntax than java 1.7 supported by the selected JRE (actually JDK 1.7 is selected but I already explained that)
I always thought J2EE was like a completely different thing from general Java. It has features like Enterprise management beans, special packages and has it's on Project type, structure in IDEs.
But it seems like it's not actually that different? If you use Spring, Hibernate, custom library annotations and build a Servlet, web server with @POST, @GET or use Serialization... And maybe use JDK instead of JRE, Maven, Ant... apparently that's considered J2EE?
question