Installing and configuring Java JDK and Netbeans 8.1 in Linix Ubuntu 16.04 (LTS)

Installing and configuring Java JDK and Netbeans 8.1 in Linix Ubuntu 16.04 (LTS)
Tutorial Title: Installing and configuring JDK  (Java Development Kit) and Netbeans 8.1 in Linix Ubuntu 16.04 (LTS)

Course: Programming

Instructor: Muhammad Samim
Note: Copy and paste commands in terminal after dollar sign ($)


Part 1. Installing JDK (Java Development Kit)
  1. Download jdk-8u101-linux-x64.tar.gz (64 bit or 32 bit depends on your installed OS) from bellow link
  2. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  3. Open terminal or press Ctrl + Alt + t to open terminal
  4.  command for home folder $ cd ~
  5. opening Downloads folder where is downloaded file $ cd Downloads/
  6. Show files and folders $ ls
  7. Extracting zip file $ tar -zxvf jdk-8u101-linux-x64.tar.gz
  8. After extraction folder will be appeared (jdk1.8.0_101)
  9. Creating folder $ sudo mkdir /usr/lib/ java
  10. Should be in Downloads folder where file is extracted $ cd ~
  11. $ cd Downloads/
  12. Moving folder to created java folder $ mv jdk1.8.0_101 /usr/lib/java
  13. Now open .bashrc file to save path of Java
  14. $ cd ~
  15. $ sudo gedit .bashrc
  16. Copy and paste bellow two lines at the end and save file
  17. export JAVA_HOME=/usr/lib/java/jdk1.8.0_101
    export PATH="$PATH:$JAVA_HOME/bin"
 Part 2: Installing Netbeans 8.1

  1. Download netbeans-8.1-linux.sh file from bellow line 
  2. http://netbeans.org/downloads/start.html?platform=linux&lang=en&option=all
  3. Come to home dir $ cd ~
  4. Open Downloads where netbeans-8.1-linux.sh is downloaded $ cd Downloads/
  5. $ sudo chmod 777 netbeans-8.1-linux.sh
  6. Installation Wizard will be appeared
  7. Follow the instruction 
  8. After installation Netbeans IDE will be able to execute your java programs

Program for Electricity Billing System in C-Language

Tutorial Title: Program for Electricity Billing System in C-Language

First 200 units / unit price = Rs 4
Acceding from 200 units next 200 unites / unit price = Rs 6
Acceding from 400 units / unit price = Rs 8
Note:  Range of price and unit can be changed

Course: Programming

Instructor: Muhammad Samim

Note: Do not copy code from here may be it does not work due to font style coding.
Download Code Here

Code for understanding:
#include<stdio.h>
#include<conio.h>

int main()
{
float a; // Making variable "a" to store consumed units
printf("Please Enter consumed Units:   ");
scanf("%f",&a); // Storing input units (any number) in variable "a"
if (a<=200) // If unites are less than or equal to 200 then
printf("\n\nTotal units price = %2.2f:\n\n",a*4); //What number will be in variable "a" will be
                                                                                       multiply with 4 and result will be shown

        else if (a<=400) // If units are less than or equal to 300 then
printf("\n\nTotal units price = %2.f:\n\n",(a-200)*6+200*4); //200 units will be minus from
                                                                                                         variable "a" and remaining
                                                                                                         units will be multiplied  with 6, 
                                                                                                         200 units will be multiplied with 
                                                                                                         4 and the result will be added with
                                                                                                         previous result  according to
                                                                                                         DMAS
else if (a>400) // If units are greater than 400 then
printf("\n\nTotal units price = %2.f:\n\n",(a-400)*8+200*4+200*6); //400 units will be minus
                                                                                                                     from variable "a"
                                                                                                                     and remaining units will be
                                                                                                                     multiplied with 8, 200 units
                                                                                                                     will be multiplied with
                                                                                                                     4,  200 units will be
                                                                                                                     multiplied with 6 and all
                                                                                                                     results will be sum 
                                                                                                                     according to DMAS

getch ();
}










Configuration OpenGL with Dev C++

Tutorial Title: Configuration OpenGL with Dev C++ along links of DevC++ and glutming

Course: Programming

Instructor: Muhammad Samim

1. Download the Dev-C++

2. Link for DevC++ 5.4.1 MinGW 4.7.2
http://www.mediafire.com/download/y68w0005s1yq452/Dev-Cpp+5.4.1+MinGW+4.7.2+Setup.rar

3. Install Dev-C++ in your system


5. Download zip file from http://chortle.ccsu.edu/Bloodshed/glutming.zip

6. Extract glutming zip folder

7. We need only 3 files in this folder

i. glut.h

ii. libglut32.a

iii. glut32.dll

8. Now go to folder “glutming” then “GLUTMingw32” then “Include” then “GL” and copy file “glut” then go to Drive “C” (Where your devc++ was installed) then “Program files” then “Dec-cpp” then “MinGW12” then “Include” then “GL” and paste file “glut”.

9. Now go to folder “glutming” then “GLUTMingw32” then “lib” and copy file “libglut32.a” then go to Drive “C” (Where your devc++ was installed) then “Program files” then “Dec-cpp” then “MinGW12” then “lib” and paste file “libglut32.a”

10. Now go to folder “glutming” then “GLUTMingw32” then copy file “glut32.dll” then go to Drive “C” then “Windows” then “System32” and paste “glut32.dll”

11. Note: in Step 10, For 64bit windows go to “C” then “Windows” then “SysWOW32” and paste file “glut32.dll”

12. Now open Dev-c++ application Now go to “Tools’ Then “Compiler Option” and Check “Add the following commands when calling the compiler” and Type (Add the linker) in empty box “-lglu32 -lglut32 -lopengl32” then click on “Ok”


Tutorial Title: Downloading, Installing and running Python IDE on Microsoft Windows

Tutorial Title: Downloading, Installing and running Python IDE on Microsoft Windows
Tutorial Title: Downloading, Installing and running Python IDE on Microsoft Windows

Course: Programming

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open



  1. Open your browser and go to www.python.org
  2. >>Downloads >> Windows
  3. Click on Python latest version to download
  4. Open downloaded Python IDE setup file
  5. Check the box of "Add Python to PATH" >> Install Now >> Yes>> Close
  6. Press windows key + r (to open the Run program)
  7. Type CMD and press enter
  8. Type Python in CMD and press enter to start your coding !

How to make VHD (Virtual Hard Drive) to install two windows in one drive

How to make VHD (Virtual Hard Drive) to install two windows in one drive
Tutorial Title: How to make VHD (Virtual Hard Drive) to install two windows in one drive

Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open




1. Press Windows button + R to open Run
2. diskpart Enter
3. list volume Enter
4. select volume 5 (5 is an example select flash disk volume number) Enter
5. format fs=ntfs quick Enter
6. active Enter
7. exit Enter
8. Copy Windows 7, 8, 8.1 or 10 and paste in flash disk
9. Restart your computer
10. Select flash disk in boot menu
11. The installation will be begun!

How to Restore the system by made Recovery Drive windows 10

How to Restore the system by made Recovery Drive windows 10
Tutorial Title: How to Restore the system by made Recovery Drive windows 10

Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open



  1. Plug recovery flash disk made before
  2. Open Control Panel
  3. >>Recovery >>If you're having problem with your PC, go to Settings and try resetting it
  4. >>Restart now >>
  5. Follow the steps

How to change System Configuration (Information)

How to change System Configuration (Information)
Tutorial Title: How to change System Configuration (Information)

Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open



  1. Press Windows button + R to open run
  2. Type regedit
  3. >>hkey local machine >>Hardware >>Description >>System >>Central Processor
  4. >>0 >>Processor name
  5. Now we can change information of system

How to transfer settings from old computer to new computer in Windows 7

How to transfer settings from old computer to new computer in Windows 7
Tutorial Title: How to transfer settings from old computer to new computer in Windows 7
Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open


  1. Open Windows Easy Transfer in Control Panel
  2. >>Next >>An external hard disk >> This is my old computer >>Next
  3. Set Password
  4. >>Save
  5. Plug Hard disk with new computer
  6. Open and copy saved file
  7. Paste in new computer
  8. Double click to open
  9. Type password given in old computer
  10. Old computer settings will be applied on new computer

How to make partition in running Windows

How to make partition in running Windows
Tutorial Title: How to make partition in running Windows

Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open
  1. Right click on My Computer
  2. >>Manage >>Disk Management
  3. Right click on any drive
  4. Set space for new drive in "Enter the amount of space to shrink in MB)
  5. >>Shrink
  6. Right click on Unallocated drive
  7. >>New Simple Volume >> Next >> Next >> Next >> Next >>Finish

How to create drive when all letters end

How to create drive when all letters end
Tutorial Title: How to create drive when all letters end

Course: MCITP (Windows)

Instructor: Muhammad Samim

Note: ">>" Indicates to select or open


  1. Right click on My Computer
  2. >>Manage >>Disk Management
  3. Right click on free space (Unallocated)
  4. >>New Simple Volume >>Next
  5. Set space for drive
  6. >>Next >>Mount in the following empty NTFS folder >>Brows >>New Foler
  7. Rename New Folder
  8. >>Ok >>Next >>Next >>Finish

How to turn on Bitlocker for drive C (default windows drive) or drive where windows is installed

How to turn on Bitlocker for drive C (default windows drive) or drive where windows is installed
Tutorial Title: How to turn on Bitlocker for drive C (default windows drive) or drive where windows is installed in windows 7, 8, 8.1 and 10

Course: MCITP

Instructor: Muhammad Samim


  1. Open Run program
  2. Type gpedit.msc
  3. Click on ok or press enter
  4. Double click on Computer Configuration
  5. Double click on Administrator Templates
  6. Double click on Windows Components
  7. Double click on BitLocker Drive Encryption
  8. Double click on Operating System Drive
  9. Double click on Require additional authentication at startup
  10. Click on Enable 
  11. Click on Apply and Ok
  12. Plug flash disk into the computer
  13. Right click on Drive C or Drive where windows was installed
  14. Click on BiLocker
  15. Now you are able to turn on BitLocker for Windows Drive by Entering password or using flash disk to be entered in system

How to set strong password for your computer system in windows through SYSKEY

How to set strong password for your computer system in windows through SYSKEY
Tutorial Title: How to make flash disk as password reset disk

Course: MCITP

Instructor: Muhammad Samim


  1. Open Run program
  2. Type syskey
  3. Click on ok or press enter
  4. Popup window will be appeared
  5. Click on yes
  6. Click on Encryption Enable and Click on Update to set the password
  7. Set password requires password during system start
  8. Or set password requires floppy disk to be entered in your system
  9. Or set password startup key locally

How to make flash disk as password reset disk

How to make flash disk as password reset disk
Tutorial Title: How to make flash disk as password reset disk

Course: MCITP

Instructor: Muhammad Samim


  1. Plug flash disk into your computer
  2. Open control panel
  3. Open user accounts
  4. Click on create a password reset disk
  5. Click on next
  6. Click on next (by default flash disk will be selected)
  7. Click on next 
  8. Enter your password of windows
  9. Click on next
  10. After completion of process click on next
  11. Click on finish

How to setup pagefile to optimize the performance of your windows

How to setup pagefile to optimize the performance of your windows
Tutorial Title: How to setup paging file to optimize the performance of your windows in Windows 8. and 8.1

Course: MCITP

Instructor: Muhammad Samim

  1. Right click on my computer 
  2. Click on properties
  3. Click on Advance system settings
  4. Click on "Settings" of performance settings
  5. Click on Advanced
  6. Click on change
  7. Uncheck the "Automatically manage paging file size for all drives"
  8. Click on any drive to dedicate the space for paging file
  9. Click on Custom size
  10. Set minimum space in Initial size box eg 500
  11. Set maximum space in Maximum size box eg 1000
  12. Click on Set
  13. Click on ok 
  14. Click on Apply

How to use flash disk as a RAM to boost up your system performance

How to use flash disk as a RAM to boost up your system performance
Tutorial Title: Using flash disk as RAM to boost up the performance of your computer system  in Windows 7, 8, 8.1 and 10

Subject: MCITP

Instructor: Muhammad Samim

  1. Plug flash disk with computer
  2. Right click on flash disk icon
  3. Click on properties
  4. Click on ReadyBoost
  5. Check the "Dedicate this device to ReadyBoost (for complete dedication)
  6. Or check "Use this device (To dedicate the desired space to ReadyBoost)
  7. Click on apply or ok

How to make bootable flash disk without any third party software in Windows 7, 8, 8.1 and 10

How to make bootable flash disk without any third party software in Windows 7, 8, 8.1 and 10
Tutorial Title: Making bootable flash disk without third party software in Windows 7, Windows 8, Windows 8.1 and Windows 10 in CMD (Command Prompt)

This tutorial is for Beginners and for Experts both.
Instructor: Muhammad Samim

                                                                     For Beginners

1. In (Windows 7) Click on start button and click on Run and (Windows 8 or 8.1) search "Run" program in search or run it by pressing hotkeys in all above mentioned windows (Windows button + r)
2. Type "cmd" in Run program and press Enter button to run command prompt (CMD)
3. Type "diskpart" and press Enter popup window will be appeared click on ok to run the "diskpart" program.
4. Plug flash disk into computer
5. Type "list volume" and press Enter button
6. Type "select volume 5" (5 is an example select flash disk volume number) and press Enter button
7. Type "Format fs=ntfs quick" and press Enter button
8. Type "active" and press Enter button
9. Type "exit" and press Enter button
10. Copy Windows 7, Windows 8, Windows 8.1, Windows 10 form DVD or ISO file
11. Paste in flash disk
12. Restart your computer
13. Select flash disk in boot menu
14. The installation will be begun!

                                                                     For Experts

1. Run CMD program
2. diskpart Enter
3. list volume Enter
4. select volume 5 (5 is an example select flash disk volume number) Enter
5. format fs=ntfs quick Enter
6. active Enter
7. exit Enter
8. Copy Windows 7, 8, 8.1 or 10 and paste in flash disk
9. Restart your computer
10. Select flash disk in boot menu
11. The installation will be begun!