![]() ![]() So, to run a Java application someone else provides, you need JRE to develop a Java application, you need JDK.Īs Chris Marasti-Georg pointed out in a comment, you can find out lots of information at Sun's Java web site, and in particular from the Java SE section, (2nd option, Java SE Development Kit (JDK) 6 Update 10). The JDK includes the compiler and other tools needed to develop Java applications JRE does not. Let’s try compiling this simple HelloWorld.java class using javac.SE defines a set of capabilities and functionalities there are more complex editions (Enterprise Edition – EE) and simpler ones (Micro Edition – ME – for mobile environments). Without it you wouldn’t be able to compile your source code to later run using the JRE (more on that later). One of the most important tools in the JDK is javac. Have a look yourself and try running them! Let’s compile something using the JDK There are in total 35 tools in the JDK bin directory, including JConsole, used to monitor Java applications. javadoc: generates HTML documentation from your Java source files.The JDK bin directoryįor example, in the bin directory are these programs: What the heck is all this stuff? It’s a suite of juicy tools to help you do an awesome job as a Java developer. What kind of library? Whether you use an installer, package manager, or zip file to setup the JDK, you end up with a directory structure like this. The JDK (Java Development Kit) is a library which you download to your computer to help you develop Java applications. Let’s begin with a quick overview of the JDK & JRE to get a taste of what they’re about. In this article you’ll discover why the JDK & JRE exist, their differences & similarities, and practically how to use them. But knowing when to use each one is essential to develop and run Java applications effectively. ![]() For many Java developers, understanding how the JDK & JRE differ is a source of confusion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |