Pages

Saturday, May 31, 2014

How to format a USB flash drive to NTFS using command prompt

Insert USB and run cmd (windows+R  and Type cmd and run).Then type DISKPART (you can use uppercase or lowercase).Next, type LIST DISK and then you will see the below output
1
figure- 01
In my case I am using 8 GB pen drive. So the pen drive I am using is displayed as Disk 2 in my list..Now we have to select the disk type SELECT DISK 2
For more conventions again type LIST DISK .In this process you should be aware about the USB drive you are going to select. Because if you select wrong USB drive definitely you will lose your data.
Now you can see a star mark in front of the disk name
3
figure- 02
Type CLEAN
4
figure- 03
Then type CREATE PARTITION PRIMARY  and SELECT PARTITION1  output as bellows
6
figure- 04
FORMAT FS=NTFS QUICK
7
figure- 05
Finally type  ACTIVE  & then ASSIGN
Now your Bootable USB driver is ready!:)

Thursday, May 22, 2014

How to solve build path specifies execution environment javase-1.6 eclipse


 

  1. This occurs when you try to compile your application on JRE6 and it's not installed in Machine or Eclipse. So check whether its in your machine (C:\Program Files\Java\jre6)
  • If it already exist Set it into Your Eclipse.Follow the below instructions
    • Windows ->
    • Preferences ->
    • Java->
    • Installed JREs ->
    • Add ->
    • Standard VM ->
    • JRE Home (C:\Program Files\Java\jre6)Then It’s all.You can replace jre6 by newer versions jre7,jre8,,,,  :)
2. If the problem already exist
    • Right click on your project->
    • properties->
    • Java compiler option(Left side)->
    • Under JDK compliance section (Right side) change into “1.7″->
    • Apply(Clean & build)
Hey friend that’s all :):)