vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to...

18
How to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link. http://www.oracle.com/technetwork/java/javase/downloads/jre8- downloads-2133155.html

Transcript of vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to...

Page 1: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

How to install NetBeansStep 1

Install Jdk latest version according to your system requirements from the following link.

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

Page 2: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

If there is old version of JDK already installed it will identify and notify you to uninstall it.

Just click on uninstall and move Next.

Finally you will get the message “You have successfully Installed Java”.

Page 3: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Step 2

After successful insallation of jdk, download Netbeans from this link

https://netbeans.org/downloads/start.html?platform=windows&lang=en&option=all

After downloading NetBeans IDE 8.1 setup, Run the exe file.

Page 4: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …
Page 5: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …
Page 6: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …
Page 7: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …
Page 8: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …
Page 9: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Steps for creating Web application project in NetBeans

Select new project

Page 10: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Choose java web folder and then web application

Click on Next

You can mention project name in project name field.

You can choose project location where you want to store by browsing location

Click on Next

Page 11: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Click on Next

Then click on Finish

Page 12: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Now you can create html/source web pages.

First choose web browser then run simple html page by clicking on play button (Green)

Page 13: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Now you can view output on selected web browser

Now you can add servlet by right clicking on project (webApplicationExample3) then click New and then click servlet

Page 14: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Write the name of servlet class then click on Next button

Click on Finish

Page 15: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

You can write servlet code here.

Page 16: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Right click on servlet file and then Run File

Page 17: vulms.vu.edu.pk · Web viewHow to install NetBeans Step 1 Install Jdk latest version according to your system requirements from the following link.  …

Now you can view output of servlet class.

Now your Servlet is working properly.