Tuesday, 9 January 2018

How to Install the Java Software Development Kit



How to Install the Java Software Development Kit

The Java Software Development Kit (Java SDK or JDK) is an application created by Sun Microsystems to create and modify Java programs. This is where to start if you would like to start programming in Java.

Steps


1.     1
Download the latest version of the *Java JDK from Sun Microsystems.
2.     2
Double-click on the install file and it should open an installer (Fig. 1).
3.    
4.     Click next, then read and accept the license.
5.      
4 On the next screen you will encounter some options. Just leave these alone and click next unless you know what you are doing. (Because this is being read it is assumed that you do not.)(Fig. 2)
6.    5 The next page you encounter should install (and in some cases download) the Java Development Kit. (Fig. 3)
7.    
8.    6 After the installer is finished, open run by clicking Start > Run... or by typing Windows Key + R.
9.    
10.                        7 In the text box, type "cmd" and click "OK".
11. 8 A simple window should be opened with a black background and a text prompt. This is called the "Command Prompt." My command prompt background is red, but it could really be any color. (Fig. 4)
9 After focusing the window, type "javac" and press enter. If the prompt returns something along the lines of: "'javac' is not recognized as an internal or external command, operable program or batch file" then continue with the next step. If it shows many more options and lines, skip to step 15.
12.
13.                        10 Open the properties of "My Computer" by either right-clicking the icon on the desktop or right-clicking Start > My Computer. When the pop up menu opens, scroll to the bottom and select "Properties".
14.
15.                        11 This should open a window named "System Properties". Click on the "Advanced" tab and then click "Environment Variables". (Fig. 5)
16.
17. 12 Next, another window opens with a lot of confusing sentences and letters. Double-click on the "Path" variable on either of the option boxes. It is recommended to edit the variable in the box "User variables for (your username)".
18.  
13 Once the variable is opened, a text box in yet another window appears. Careful not to delete anything in this box. At the end of the text box, add a semi-colon if there is not one already, and add "C:\Program Files\Java\jdk1.6.0\bin" to the text box. This is assuming you did not change the file path of the installation.
19. 14
Click "Apply" and "OK" to all the windows you have just opened. Open the command prompt again, while following steps 6-9 to see if that "javac" command works.
20. 15
Congratulations! You have taken your first step to starting Java programming.


Tuesday, 31 October 2017


How to Setup Network Between Virtual Box Host OS (Win 7 ) & Guest OS
(winxp)

I will be using VirtualBox OS  on a Windows7 host and a Windows XP guest.
Step 1: Start up VirtualBox.
I do, of course, assume you already have VirtualBox installed as the host as well as a working guest OS  installed. That being the case, start up VirtualBox.
Step 2: Stop the virtual machine to be configured.

Step 3: Open the Settings window of the guest OS.

Step 4: Configure the bridged network.


This particular host/guest resides on my Desktop, hence the Eth0 (Wired) network adapter name.
Where this can be tricky is the Adapter Type settings. To get to this setting you must expand the Advanced section. In this advanced section you can configure:
·         Adapter type
·         Mac address
·         Cable connected
The more important of the three is the Adapter type. VirtualBox can virtualize the following six types of network adapters:
·         AMD PCNet PCI II (Am79C970A);
·         AMD PCNet FAST III (Am79C973, the default);
·         Intel PRO/1000 MT Desktop (82540OEM);
·         Intel PRO/1000 T Server (82543GC);
·         Intel PRO/1000 MT Server (82545EM);
·         Paravirtualized network adapter (virtio-net).
The default is PCNet FAST III because it is supported by nearly every operating system out of the box. If, after setting up your bridged network, your network does not respond, this setting is what you will most likely have to change. Although it's a hassle, if your bridged network doesn't work, simply shut down the virtual machine and repeat the process (selecting a different Adapter type) until it works.
OK your changes and fire up your Guest OS again.
Step 5: Configure your Guest OS network

Pick up a network address that belongs to the same subnet as your Host OS. Figure B shows my Guest OS reporting the same IP address scheme that my Host OS is on.
Figure B

WE give ip address & others as shown in image.
guest_ip_info.png
Same IP scheme, same subnet, same gateway.
Now your machines on your network can see your Virtualized Machine.










how to crack or Break password of winrar (Compresses ) file

Saturday, 23 September 2017

how to install ravvi font in win 7

Remove/disable write protection on Windows 10/8/7 with Diskpart command

 Remove/disable write protection on Windows 10/8/7 with Diskpart command
  1. 1. Press Win + R > Type: cmd and hit Enter to open Command Prompt;
  2. 2. Type: diskpart and hit Enter to open diskpart;
  3. 3. Type: list disk and hit Enter;
  4. Remember the disk number of your write protected USB, SD or hard drive in Windows PC;
  5. 4. Type: select disk 0 (0 is the number of your write protected USB/SD/hard drive) and hit Enter;
  6. 5. Type: attributes disk clear readonly and hit Enter to disable write protection on storage device;
  7. 6. Close diskpart window once the write protection removing process is finished.

Thursday, 24 August 2017

Assembling of A computer

Assembling of A computer
To build your PC from scratch you will need to purchase all the necessary hardware. The first thing you must consider before you start to shop around for your PC hardware is the specification of the hardware.
Below is a list of all the hardware required to build your PC 

Optional Extras


The first thing you should do is unpack your ATX case. Take off the cover of your case so that you can access the inside. Place the case on a desk so that you are looking down towards the open case. Your case should come with motherboard mounting screws. If your ATX back plate it not already fitted you can fit it by placing your plate near the ATX back plate cut out and pushing the plate outwards, it should clip on.
Now place your motherboard on top of the mounting screw holes. Make sure your ATX devices on the motherboard such as PS/2 and parallel port are facing towards ATX back plate cut out. Gently push your motherboard towards the cut out, every devices should fit easily into its corresponding cut out, as shown below.
The screw holes on your motherboard should align with the screw holes on your case. Place your screws that came with the case into the appropriate holes and gently screw it on using a screw driver.
The motherboard is now securely mounted to the case. You can now place the ATX power connector to the motherboard. Your ATX case should come with a power supply unit (PSU) and should already be mounted to the case. The ATX power connector is shown on image below.
Connect Main ATX Power Cable
Place the ATX power connector on top of the power socket on the motherboard. Push down the power connector and it should clip onto the socket. If you try to fit the power connector the wrong way round, it won't fit, it will only fit one way. So, if the power connector does not go in, it should go in the other way round.
Locate the processor socket on your motherboard. I am installing an Intel PIII 866 processor on a socket 370 as shown on the following image. The installation would be slightly different if you have a different processor i.e. Slot1 PIII CPU, P4 CPU, AMD Slot A / Socket A CPU etc.
Socket 370
Raise the brown lever on the socket and slowly put the processor in place. You have to make sure the pin 1 of your CPU goes into the pin 1 of your CPU socket otherwise the CPU would not get into the socket, so don't try to force it in. It will go in gently if you fit it correctly. Now close the brown lever which will securely hold the CPU in place. If you bought a retail boxed CPU it would include a heatsink + fan. If you bought an OEM CPU make sure you got a fan that is correct for the speed of your CPU, otherwise your CPU will overheat and behave abnormally or could be damaged. Take off the plastic cover from the bottom of the CPU fan that covers the heat transfer pad. Now place the CPU fan on top the CPU and push down the metal clips on the fan so that it clips onto the CPU socket.
CPU + Fan
CPU fan has a power connector which needs to be connected to CPU fan power socket on your motherboard as shown on the image above.
Installing memory is quite simple. Find the SDRAM banks on your motherboard, they should look similar to the banks below. Notice the memory banks has a white clip on each side. Make sure you release the clips so it bends to each side.
Place memory into slot
Hold each corner of the SDRAM placing it on top of the bank 1. You will notice that the SDRAM has a cut at the bottom side, it is there to prevent the memoy going in the wrong way round. If you are holding the SDRAM the incorrect way you will not be able insert it. Gently push down the SDRAM and it should clip on to the memory bank. The two white clips will now become straight holding each corner of the memory. If you have more that one SDRAM perform same steps as above but placing the SDRAM in memory bank 2 and so on.
If you look at the rear side of an IDE hard drive it should look similar to the image below.
HDD Rear
The IDE/ATA connector is on the left hand side which consists of many pins. Next to the IDE connector is the jumper setting for the drive. The jumper should be set to Master, which is the default setting for a new HDD. Any other device sharing the same IDE cable should be set to Slave. Different HDD has different jumper settings, please refer to your HDD manual for more information. On the right hand side, next to the jumpers is the power connector. Every device except FDD uses this type of power connector.
ATA 66 Cable
- ATA 66 Cable

Power connector
Figure 2 - Power cable
Place your hard drive into the HDD mounting slot of your case, make sure the IDE/ATA connector is facing outwards. Screw the HDD to the case using screws provided with the HDD or the ATX case.
Screw HDD
Insert the ATA 66 cable into the ATA connector of the HDD. Make sure the pin 1 on the cable is connected to pin 1 on the HDD connector. Pin 1 is the red or pink strip on the edge of an ATA cable. Most new IDE/ATA cables are designed so that it will only go in one way which will correspond to pin 1.
Connect ATA Cable
Push the power cable into the power connector as shown. The power cable is designed to go in one way, so you shouldn't have any problems.
Connect Power Cable
Connect the other end of the ATA 66 cable to the primary ATA socket of your motherboard as shown. Make sure the pin 1 on the cable connects to the pin 1 on the ATA socket.
Connect ATA Cable
That's it you have successfully installed a HDD.
If you look at the rear side of your CD / DVD-ROM it should look similar to image shown on figure 1.
DVD Rom Drive Rear
Figure 1
On the right hand side you have the power connector. Next to power connector you have the IDE connector. On the left hand side near the IDE connector you have the jumper settings for the DVD-ROM. The jumper is set to Master by default. However if you are sharing an IDE cable with another device like HDD, then you would have to set jumper to Slave, as your HDD would be set to Master. Next to the jumpers you have the CD Audio-Out socket. One side of your audio cable connects to this socket and other side connects to the sound card cd-in socket. This would allow you to listen to Audio CD's on your computer.
Placing the DVD Rom Drive
Figure 2
Mount your CD/DVD-ROM drive into its mounting slot. Use the supplied screws to screw the drive into position.
Mounting the DVD Rom Drive
Figure 3
Connect the IDE cable to the drives IDE connector. Make sure the pin 1 on the cable is connected to pin 1 on the drives IDE connector. Pin 1 is the red or pink strip on the edge of an IDE cable. Connect the other end of the IDE cable to the IDE socket on your motherboard as shown in figure 4. Again, make sure you conncet the cable to pin 1. The IDE socket could be your primary or secondary socket depending which socket you choose. If your HDD is on the primary IDE socket and your secondary IDE socket is free, then it is better to use your secondary IDE socket for the CD/DVD-ROM.
Connect IDE Cable
Figure 4
Finally connect the power cable to power connector and connect the audio cable to the CD Audio-Out socket as shown on figure 3.
Most modern graphics cards are AGP based and connects to the AGP bus of the motherboard. An AGP bus (slot) looks like the following image. The brown slot is where you connect your AGP graphics card.
AGP BUS
Place your AGP card on top of the slot and gently push it down. The card should firmly sit into position.
Mount graphics card
All you need to do now is to screw the metal plate on the front of the card to the ATX case. Use the screws supplied with case and screw the card to the case.
Screw the graphics card
Find a free PCI slot on your motherboard (assuming your modem is a PCI modem). Place your modem card on top of the slot and gently push it down into position.
Push modem into slot
Once the card has seated correctly into position, screw the card to the case using the screws supplied with the case.
Now you have installed all the prerequisite hardware devices. You can either proceed to the finalising stage, or you may want to install optional devices like a ZIP drive, CD-RW drive or a TV-Card. If you do not want to install these devices you can now proceed to the finalising stage
Now that you have installed all the necessary hardware there are still few more things you need to do before switching on your PC for the first time. Your ATX case has a power switch which turns the PC on, a reset switch for resetting the system, a power LED which comes on when the PC is switched on and a hard drive LED which flashes when data is being written or read from your hard drive. You also have an internal speaker.
Power + Reset switchFigure 1 - Power and Reset switch
The switches and LED's need to be connected to its corresponding connectors on the motherboard. Please refer to your motherboard manual to locate where the connectors are. Different motherboards place the connectors in different locations. The connectors for the switches and LED's are normally grouped together. They should look similar to the image below.
LED + Switch connectorsSwitch and LED connectors
Every cable is normally labeled, they are normally named as follows, but could be slightly different on your system.

Power switch
Power / PWR-SW
Reset switch
Reset
Power LED
Power LED / PWR-LED
Hard drive LED
HDD-LED / IDE LED
Speaker
SPK / Speaker