{"id":95792,"date":"2020-10-23T11:00:00","date_gmt":"2020-10-23T08:00:00","guid":{"rendered":"https:\/\/examples.javacodegeeks.com\/?p=95792"},"modified":"2022-07-07T15:28:41","modified_gmt":"2022-07-07T12:28:41","slug":"java-netbeans-ide-tutorial","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/","title":{"rendered":"Java Netbeans IDE Tutorial"},"content":{"rendered":"<p>In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK.<\/p>\n<p>You can also check this tutorial in the following video:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.youtube.com\/watch?v=wdpxnKry0ic\"><img decoding=\"async\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/07\/Java-Netbeans-IDE-Tutorial-1024x576.jpg\" alt=\"\" class=\"wp-image-113828\" width=\"512\" height=\"288\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/07\/Java-Netbeans-IDE-Tutorial-1024x576.jpg 1024w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/07\/Java-Netbeans-IDE-Tutorial-300x169.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/07\/Java-Netbeans-IDE-Tutorial-768x432.jpg 768w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/07\/Java-Netbeans-IDE-Tutorial.jpg 1280w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><figcaption>Java NetBeans IDE Tutorial &#8211; video<\/figcaption><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">1. Introduction<\/h2>\n<p>Let us first start by downloading the required software from this link: <a href=\"https:\/\/netbeans.apache.org\/download\/index.html\">NetBeans Download<\/a><\/p>\n<p>Download the appropriate executable from this link. If you&#8217;re a Windows user, then an .exe executable can be downloaded or even a binary zip package can also be downloaded. For linux users, an .sh package is available and for Mac users, .dmg file has to be downloaded.<\/p>\n<p>At the time of writing this article, we will talk about NetBeans ide java version 12.1 is latest update. As a best practice, it is always advisable to download the latest version package as it would contain all the necessary bug fixes and updates. <\/p>\n<p>As a prerequisite, JDK 8 or higher needs to be installed in the system. Download and install Java from <a href=\"https:\/\/www.oracle.com\/java\/technologies\/javase-jdk15-downloads.html\">here<\/a>.<\/p>\n<p>After downloading, run the executable (which will install the application) or extract the binary zip package at the desired location and run the <a href=\"https:\/\/netbeans.org\/\">NetBeans <\/a>IDE application.<\/p>\n<p>In Windows env, NetBeans ide java after pressing the Windows Button on the keyboard. This will start the NetBeans IDE. It takes few seconds to load up and initialize and a screen like below is displayed:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"494\" height=\"318\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/0-2.jpg\" alt=\"netbeans java Launcher\" class=\"wp-image-96081\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/0-2.jpg 494w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/0-2-300x193.jpg 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><figcaption>NetBeans Launcher<\/figcaption><\/figure>\n<\/div>\n<p>This tutorial takes 10 minutes to complete and after completing the tutorial, you would be able to create Java projects using Apache Maven, build your code and run the application to test it.<\/p>\n<p>Voila! Let us start. <\/p>\n<p>After successfully installing the IDE, open it in your relevant OS environment, viz., Windows, Linux or Mac. The below screen should open up:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"549\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/1-3-1024x549.jpg\" alt=\"netbeans java welcome\" class=\"wp-image-96199\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/1-3-1024x549.jpg 1024w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/1-3-300x160.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/1-3-768x412.jpg 768w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/1-3.jpg 1071w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>NetBeans Welcome Screen<\/figcaption><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">2. Configuring NetBeans<\/h2>\n<p>Before you start creating a project and developing on the <a href=\"https:\/\/netbeans.org\/\">NetBeans <\/a>platform, it is always a good practice to configure the IDE.<\/p>\n<p>In order to configure, navigate to Tools menu and click on Options<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"820\" height=\"449\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/6-2-1.jpg\" alt=\"netbeans java - Options Menu\" class=\"wp-image-96074\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/6-2-1.jpg 820w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/6-2-1-300x164.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/6-2-1-768x421.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><figcaption>Tools-&gt; Options Menu<\/figcaption><\/figure>\n<\/div>\n<p>A new dialog box will appear like below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"742\" height=\"679\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/7-3-1.jpg\" alt=\"\" class=\"wp-image-96416\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/7-3-1.jpg 742w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/7-3-1-300x275.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><figcaption>Options Menu Dialog Box<\/figcaption><\/figure>\n<\/div>\n<p>Click on the Maven Tab, since the project that we would create would be a Java Maven project. Once inside the Maven Tab, configure the Maven Home. If you have a specific version of<a href=\"http:\/\/maven.apache.org\/\"> Apache Maven<\/a> installed and would want to use that with your <a href=\"https:\/\/netbeans.org\/\">NetBeans <\/a>installation, this is the place to configure that.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"743\" height=\"686\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/8-3.jpg\" alt=\"\" class=\"wp-image-96417\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/8-3.jpg 743w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/8-3-300x277.jpg 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><figcaption>Adding a verifying Maven version installed in the system<\/figcaption><\/figure>\n<\/div>\n<p>Similarly, if you want to use a particular JDK version, click on the Manage Java Platforms button inside the Maven Tab and choose the Java Home directory as shown below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"811\" height=\"711\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/9-2-1.jpg\" alt=\"netbeans java\" class=\"wp-image-96053\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/9-2-1.jpg 811w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/9-2-1-300x263.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/9-2-1-768x673.jpg 768w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><figcaption>Adding and Verifying the installed JDK Versions<\/figcaption><\/figure>\n<\/div>\n<p>If you want to use the default options with NetBeans, leave all options as is and click on OK and exit the dialog box.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>At this point, NetBeans IDE is successfully configured for Maven based Java application development.<\/p>\n<p>Next is to create the project, which is illustrated in the next section.<\/p>\n<h2 class=\"wp-block-heading\">3. Setting Up the Project<\/h2>\n<p>For creating a new Java Maven project, click on File -&gt; New Project as shown below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"820\" height=\"457\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/2-2-1.jpg\" alt=\"netbeans java\" class=\"wp-image-96054\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/2-2-1.jpg 820w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/2-2-1-300x167.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/2-2-1-768x428.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><figcaption>Menu option for creating a New Project<\/figcaption><\/figure>\n<\/div>\n<p>After clicking on New Project, a small dialog box will open as shown below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"717\" height=\"505\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/3-3.jpg\" alt=\"\" class=\"wp-image-96418\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/3-3.jpg 717w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/3-3-300x211.jpg 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><figcaption>Create a new Java Maven Project<\/figcaption><\/figure>\n<\/div>\n<p>Under the Categories section, select the first Option, Java with Maven and in the Projects section, select the first option, Java Application and click on Next. Once you click Next, NetBeans might ask you to install the plugin nb-javac plugin. Install the plugin as per the instructions displayed on the screen and you would be presented with a screen like below: <\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"820\" height=\"541\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/4-2.jpg\" alt=\"\" class=\"wp-image-96056\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/4-2.jpg 820w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/4-2-300x198.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/4-2-768x507.jpg 768w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><figcaption>Installing the NetBeans Plugin<\/figcaption><\/figure>\n<\/div>\n<p>Once the plugin is installed, restart the IDE:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"709\" height=\"510\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/5-3.jpg\" alt=\"\" class=\"wp-image-96419\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/5-3.jpg 709w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/5-3-300x216.jpg 300w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><figcaption>Restart the IDE after installing nb-javac plugin<\/figcaption><\/figure>\n<\/div>\n<p>In the New Java Application dialog box, give a Project Name of your choice.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"742\" height=\"551\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/10-2.jpg\" alt=\"\" class=\"wp-image-96058\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/10-2.jpg 742w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/10-2-300x223.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><figcaption>Create a new Maven based Java Application<\/figcaption><\/figure>\n<\/div>\n<p>Let us discuss all the options in detail:<\/p>\n<p id=\"h-project-location\"><strong>Project Location<\/strong><\/p>\n<p>Give an appropriate Project Location in your file system.<\/p>\n<p id=\"h-artifact-id\"><strong>Artifact Id<\/strong><\/p>\n<p>Artifact Id is the same as the project name. <\/p>\n<p id=\"h-group-id\"><strong>Group Id<\/strong><\/p>\n<p>Group Id is a namespace identifier that tells the Maven runtime environment where to look for JAR artifacts in the Maven repository when any Java application is run. The convention for defining the group id is reverse of the company website address. For example, if the company name is Example Inc. and the corresponding website url is https:\/\/www.example.com, then group id can be defined as <strong>com.example<\/strong>.<\/p>\n<p id=\"h-version\"><strong>Version<\/strong><\/p>\n<p>For Version, we normally follow the below convention:<\/p>\n<pre class=\"brush:plain\">&lt;MajorVersion&gt;.&lt;MinorVersion&gt;.&lt;BuildVersion&gt;-SNAPSHOT<\/pre>\n<pre class=\"brush:plain\">&lt;MajorVersion&gt;.&lt;MinorVersion&gt;.&lt;BuildVersion&gt;-RELEASE<\/pre>\n<p>SNAPSHOT versions are the JAR\/WAR artifacts created during the development stages of  a project<\/p>\n<p>RELEASE versions are the JAR\/WAR artifacts created when a final version is released for a project.<\/p>\n<p id=\"h-package\"><strong>Package<\/strong><\/p>\n<p>This field represents the final folder structure that would be created in the maven repository and the generated JAR artifacts would be placed inside this folder structure. This is an optional field and is auto-generated. It is best to leave it as is and be auto-generated.<\/p>\n<p>Now click on Finish and let NetBeans create the Java Maven project for us.<\/p>\n<p>Once, the project has been created, the screen should look something like below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"733\" height=\"559\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/11-2.jpg\" alt=\"\" class=\"wp-image-96059\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/11-2.jpg 733w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/11-2-300x229.jpg 300w\" sizes=\"(max-width: 733px) 100vw, 733px\" \/><figcaption>File and Folder Hierarchy after successfully creating a Project<\/figcaption><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">4. Add a Java source file<\/h2>\n<p>You have our project setup done! Let us proceed to add a Java source file. We will create a simple Hello World application in Java.<\/p>\n<p>In order to do this, add a new Java file. Navigate to the Projects tab at the left side of the IDE, the project will be listed. In the example shown here, the project is named &#8220;mavenproject1&#8221;. Expand the project, and inside the Source Packages, the default namespace (packages in Java parlance) would be listed:<\/p>\n<pre class=\"brush:plain\">com.mycompany.mavenproject1<\/pre>\n<p>Right click on this package and select New-&gt;Java Class as shown below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"679\" height=\"634\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/12-2.jpg\" alt=\"\" class=\"wp-image-96060\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/12-2.jpg 679w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/12-2-300x280.jpg 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><figcaption>Context Menu Option to create a new Java Source File<\/figcaption><\/figure>\n<\/div>\n<p>In the New Java Class dialog box, give the class a name: MyFirst and click on Finish Button<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"753\" height=\"559\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/13-2.jpg\" alt=\"\" class=\"wp-image-96062\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/13-2.jpg 753w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/13-2-300x223.jpg 300w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><figcaption>Create a New Java Source File<\/figcaption><\/figure>\n<\/div>\n<p>The file that would be created in the file system would be MyFirst.java inside the below folder hierarchy:<\/p>\n<p><code>${USER.HOME_DIR}\\Documents\\NetBeansProjects\\mavenproject1\\src\\main\\java\\com\\mycompany\\mavenproject1<\/code><\/p>\n<p> For you, the exact folder hierarchy could be different.When the file is created, you can proceed to add some code in to it:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"360\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/15-3-1024x360.jpg\" alt=\"\" class=\"wp-image-96420\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/15-3-1024x360.jpg 1024w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/15-3-300x106.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/15-3-768x270.jpg 768w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/15-3.jpg 1288w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Writing the First Java Class<\/figcaption><\/figure>\n<\/div>\n<p>Add the below code inside the MyFirst java class:<\/p>\n<pre class=\"brush:java\">    public static void main(String[] args) {\n        System.out.println(\"Hello World\");\n    }\n<\/pre>\n<p>Above is the main function in the MyFirst java class which enables us to run the application. The code inside the main function will print Hello World in the console when the application is run.<\/p>\n<p>Your source code is in place. Next, build the code and create the JAR artifact to be deployed. <\/p>\n<h2 class=\"wp-block-heading\">5. Compile And Run<\/h2>\n<p>In order to compile, click on the Clean and Build Button highlighted in the image below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"622\" height=\"369\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/17-2_LI.jpg\" alt=\"\" class=\"wp-image-96067\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/17-2_LI.jpg 622w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/17-2_LI-300x178.jpg 300w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><figcaption>Clean and Build your Maven Application<\/figcaption><\/figure>\n<\/div>\n<p>Clicking on the Build and Deploy button will open the Output Tab screen, which will display the build progress and whether the compilation process was a success or a failure. In the case of Build Success, the process would have created a JAR file. You can verify the jar file at the location listed below: <\/p>\n<pre class=\"brush:plain\">C:\\Users\\bhdas\\Documents\\NetBeansProjects\\mavenproject1\\target<\/pre>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"670\" height=\"448\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/23-2_LI.jpg\" alt=\"netbeans java - Verify Generated Artifacts\" class=\"wp-image-96068\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/23-2_LI.jpg 670w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/23-2_LI-300x201.jpg 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><figcaption>Verify Generated Artifacts inside Project Folder in Windows Explorer <\/figcaption><\/figure>\n<\/div>\n<p>The exact path could be slightly different for case to case. The JAR file is always created inside the ${PROJECT_ROOT_DIR}\/target folder. The exact value of ${PROJECT_ROOT_DIR} could be different from case to case.<\/p>\n<p>Once, we have been able to successfully compile and create the JAR file, it is time to run the application and test our code.<\/p>\n<p>To do this, click on the Run Project button as highlighted below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"775\" height=\"913\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/19-2_LI-1.jpg\" alt=\"netbeans java - Click on Run\" class=\"wp-image-96069\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/19-2_LI-1.jpg 775w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/19-2_LI-1-255x300.jpg 255w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/19-2_LI-1-768x905.jpg 768w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><figcaption>Click on Run and test your Application<\/figcaption><\/figure>\n<\/div>\n<p>As you can see from the screenshot above, the application ran successfully and printed Hello World in the console output.<\/p>\n<h3 class=\"wp-block-heading\">5.1 Additional Tip &#8211; How to Debug Java Maven Application in NetBeans<\/h3>\n<p>It is very easy to debug a maven based Java application in NetBeans. The IDE has inherently very good support for doing that.<\/p>\n<p>Let us see quickly how can we debug an application. For example, we would want to pause the execution of the application at the line we added in our Java source file:<\/p>\n<pre class=\"brush:java\">System.out.println(\"Hello World\");<\/pre>\n<p>In order to add a debug point, just click on the line number shown at the left hand side of the code editor. After a debug pointer has been added to a line, it would be highlighted like below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"814\" height=\"426\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/22-4.jpg\" alt=\"netbeans java - Adding a Debug Pointer\" class=\"wp-image-96197\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/22-4.jpg 814w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/22-4-300x157.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/22-4-768x402.jpg 768w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><figcaption>Adding a Debug Pointer<\/figcaption><\/figure>\n<\/div>\n<p>Then, click on the Debug button and the code execution should stop at the debug pointer that we added and the line would now be highlighted in green color, like below:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"884\" height=\"491\" src=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/21-2_LI.jpg\" alt=\"netbeans java - Debug Your Application\" class=\"wp-image-96070\" srcset=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/21-2_LI.jpg 884w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/21-2_LI-300x167.jpg 300w, https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/10\/21-2_LI-768x427.jpg 768w\" sizes=\"(max-width: 884px) 100vw, 884px\" \/><figcaption>Debug Your Application<\/figcaption><\/figure>\n<\/div>\n<p>In order to proceed with the execution of the code, click the Play button on the toolbar and the application execution would continue and give the desired output by printing Hello World in the console as before.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-6-summary\">6. Summary<\/h2>\n<p>At this point, you would have successfully installed NetBeans ide java in your system. You would have also configured <a href=\"https:\/\/netbeans.org\/\">NetBeans <\/a>to your liking and set up your development environment, created your first Apache Maven based Java project, compiled it, and ran it to see the results.<\/p>\n<p>Additionally, you should be well-equipped to debug the code that you&#8217;re going to write. <\/p>\n<p>Hope this tutorial was of help. Let us know your views and concerns in the comments section. You can find more articles related to Netbeans <a href=\"https:\/\/examples.javacodegeeks.com\/category\/desktop-java\/ide\/netbeans-ide\/\">here<\/a>.<\/p>\n<p>Happy coding!<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check this tutorial in the following video: Java NetBeans IDE Tutorial &#8211; video 1. Introduction Let us first start by downloading the required software from this link: NetBeans Download &hellip;<\/p>\n","protected":false},"author":240,"featured_media":13813,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[662],"tags":[477,189,563],"class_list":["post-95792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-netbeans-ide","tag-apache-maven","tag-core-java-2","tag-netbeans"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java Netbeans IDE Tutorial - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Netbeans IDE Tutorial - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-23T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-07T12:28:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Bhaskar Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhaskar Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\"},\"author\":{\"name\":\"Bhaskar Das\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/388283ea621bbcae64f9ad98ffd0e038\"},\"headline\":\"Java Netbeans IDE Tutorial\",\"datePublished\":\"2020-10-23T08:00:00+00:00\",\"dateModified\":\"2022-07-07T12:28:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\"},\"wordCount\":1576,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg\",\"keywords\":[\"Apache Maven\",\"core java\",\"Netbeans\"],\"articleSection\":[\"NetBeans\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\",\"name\":\"Java Netbeans IDE Tutorial - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg\",\"datePublished\":\"2020-10-23T08:00:00+00:00\",\"dateModified\":\"2022-07-07T12:28:41+00:00\",\"description\":\"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Desktop Java\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"IDE\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/ide\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"NetBeans\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/ide\/netbeans-ide\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Java Netbeans IDE Tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/388283ea621bbcae64f9ad98ffd0e038\",\"name\":\"Bhaskar Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/2-2-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/2-2-96x96.jpg\",\"caption\":\"Bhaskar Das\"},\"description\":\"Bhaskar Das has a Masters Degree in Computer Science from Amity University, Noida, India. He is also a seasoned solution and a technical architect having an experience of more than 10 years. He specializes in architecting, designing and implementing large-scale enterprise software systems. He is a technology enthusiast involved with projects based on Java, Python, CI\/CD and automation related tools.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/bhaskar-das\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Netbeans IDE Tutorial - Java Code Geeks","description":"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"Java Netbeans IDE Tutorial - Java Code Geeks","og_description":"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check","og_url":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2020-10-23T08:00:00+00:00","article_modified_time":"2022-07-07T12:28:41+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg","type":"image\/jpeg"}],"author":"Bhaskar Das","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Bhaskar Das","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/"},"author":{"name":"Bhaskar Das","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/388283ea621bbcae64f9ad98ffd0e038"},"headline":"Java Netbeans IDE Tutorial","datePublished":"2020-10-23T08:00:00+00:00","dateModified":"2022-07-07T12:28:41+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/"},"wordCount":1576,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg","keywords":["Apache Maven","core java","Netbeans"],"articleSection":["NetBeans"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/","url":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/","name":"Java Netbeans IDE Tutorial - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg","datePublished":"2020-10-23T08:00:00+00:00","dateModified":"2022-07-07T12:28:41+00:00","description":"In this tutorial, we will demonstrate how to download, install\/set up, and start using the Apache Netbeans IDE in Java, as your JDK. You can also check","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2014\/08\/netbeans-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/java-netbeans-ide-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java Development","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/"},{"@type":"ListItem","position":3,"name":"Desktop Java","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/"},{"@type":"ListItem","position":4,"name":"IDE","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/ide\/"},{"@type":"ListItem","position":5,"name":"NetBeans","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/desktop-java\/ide\/netbeans-ide\/"},{"@type":"ListItem","position":6,"name":"Java Netbeans IDE Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/388283ea621bbcae64f9ad98ffd0e038","name":"Bhaskar Das","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/2-2-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2020\/09\/2-2-96x96.jpg","caption":"Bhaskar Das"},"description":"Bhaskar Das has a Masters Degree in Computer Science from Amity University, Noida, India. He is also a seasoned solution and a technical architect having an experience of more than 10 years. He specializes in architecting, designing and implementing large-scale enterprise software systems. He is a technology enthusiast involved with projects based on Java, Python, CI\/CD and automation related tools.","url":"https:\/\/examples.javacodegeeks.com\/author\/bhaskar-das\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/95792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=95792"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/95792\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/13813"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=95792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=95792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=95792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}