Friday, October 14, 2022

How to fix Windows cannot find drives when installing Windows 11/10

  • nowadays most notebooks use SSD drive as the primary partition for Windows installation. So the partition scheme should be GPT, not MBR and the File type should be FAT32
  • you might face the problem where you can not locate hard drives/partitions when installing Windows. The problem indicates that the drives can not be found, load the drivers to locate them.

                                         

  • For the Intel CPU platform, you need to manually install Intel Rapid Storage Technology (IRST) driver during the Windows installation process

  • Free download IRST from Intel Drivers and Software web Extract the package, copy and paste in the same bootable disk drive so that you can locate the drivers and load using Load Driver option in the wizard. If the drivers can not be found just by selecting the drive letter, browse and locate to select.





 

  • Then finally you will be able to view the drives available
  • If windows can not be installed because of the BitLocker encryption, go to Privacy & Settings > Device Encryption > Off 
use diskpart command on command prompt while installing using Shift + F10 and list all disk drives available using "list disk". use "select disk X" replace x with drive number and then use "convert gpt" if the drive is not gpt.

Tuesday, January 1, 2019

How to add Google Android Maps API and Google Play Store for your android app

Right Click on your application > Android Tools > Export Signed Application Package


browse debug key

default password is 'android'

Set Alias as adnroiddebugkey

default password is 'android'

Browse your APK file and generate certificate fingerprints:


Please make sure that you keep these certificate fingerprints as it requires to provide in future steps in the process of signing your application.

Log on to:

https://console.developers.google.com/project


Wednesday, March 18, 2015

How to fix Eclipse error : Java was started but returned exit code=13


If you are  getting an  error saying “Java was Started but Returned Exit Code=13” during Eclipse installation or after installation,  then here is fix for that. 
Before fixing the issue, will try find out what are the reasons behind this, following are the main four reasons:

Reason 1: The most common reason behind this problem is, we are trying to install different bit version-that is, 64 bit or 32 bit  version of the software. It maybe either Eclipse or Java.
Reason 2: Configuration mistake in Eclipse.ini  file
Reason 3: Special characters ( #, !, @) in Eclipse installation directory
Reason 4: You maybe using latest version of Eclipse, but you might be using  wrong version or unsupported version  of Java Virtual Machine (JVM)


Solution for REASON 01

Check windows version whether it is 32 bit or 64 bit, and then find out Java version installed in your PC.

If you downloaded 32 bit version (X86) of Java or eclipse any one of them when you having a 64 bit operating system, you will get that Exit code=13 error.

Solution for REASON 02

Mistakenly or not the configuration file for eclipse may have contain missing parts or errors when specifying the JVM for eclipse. Here is the original wiki article for specifying JVM.

The following examples of eclipse.ini demonstrate correct usage of the -vm option.
Note the format of the -vm option - it is important to be exact:

  • The -vm option and its value (the path) must be on separate lines.
  • The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.
  • The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM.
  • For the 32-bit Eclipse executable (eclipse.exe on Windows) a 32-bit JVM must be used and for the 64-bit Eclipse executable a 64-bit JVM must be used. 32-bit Eclipse will not work with a 64-bit JVM.
-vm value for Windows:
-vm
C:\jdk1.8.0_21\bin\javaw.exe 
-vm value for Linux:
 -vm
/opt/sun-jdk-1.8.0.02/bin/java

Solution for REASON 03

You have might have special characters like #, !, @  in eclipse installation directory. That is, if  your eclipse installation address contains any special characters, then it shows that error. So make sure you don’t have any special characters.
Example:
Before fixing special character
C:\# IDE\eclipse 3.7\
Have you noticed that “#” character?
After fixing that special character in address
C:\IDE\eclipse 3.7\
and that solved the problem.

Solution for REASON 04

Java version installed in your computer and the eclipse recommended/supported version could be different and not compatible.
Check eclipse readme file to find out which version it supports.

Sunday, March 16, 2014

How to set CLASS PATH for Java on Windows

Well known factor for Java developers, but you may find difficult to do this as a newbie. So here we go...

1. Download Java and install it on your computer.

2. Set CLASS PATH is the basic step you have to do immediately after you done with installation. Follow the steps to set CLASS PATH.

NOTE: If the computer that use to develop/study java is a domain computer with a user account which does not carry administrator privileges, you may not successful in following below steps. For that set the CLASS PATH as shown below for each every compilation you do using COMMAND PROMPT.



STEP 1 - Right click on My Computer and select Properties and then go to Advance system settings in the left panel of the window. You will get the following window.


STEP 2 - Click on Environment Variable button and you will see the below window. Select the button rounded in red.


STEP 3 - Go to the destination folder of your JAVA installation and locate bin folder. In my case it is as follows:

C:\Program Files\Java\jdk1.7.0_25\bin

copy the file path and add new variable as shown in the following screen shot.



Click on OK button for all the opened windows and go back to COMMAND PROMPT.

STEP4 - type javac and if you get the result like follows in your command prompt then your have successfully setup the CLASS PATH:



Tuesday, October 2, 2012

Install BackTrack 5 in VMware player

Following steps would make it easier to install BackTrack 5 as an virtual machine in VMware player.

1. Download BT5 for vmware


2. Extract BT5-GNOME-VM-32.7z file and copy them in to a location where vmplayer can access.

3. Open BT5-GNOME-VM-32.vmx using vmware player.

4. user name: root
    password : toor


5. Type startx to proceed with GUI


6. BackTrack is ready, time to play now :)

ps. Install vmware tools for BT5

Friday, September 28, 2012

How to solve VMware Kernel Module Update issue in Ubuntu 12.04

After successful installation of VMware 5.0, following issue occurred while i was using it in Ubuntu 12.04 (32 bit).

run following command and then you can check the Kernel version that you are currently using in Ubuntu.

uname -a 

execute following command line operations so that you can fix the problem.


cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h 

When you are done with execution of the above commands, run you VMware player

Enjoy VMware :)

Thursday, September 27, 2012

How to install VMWare in Ubuntu 12.04 (32bit)

at the end you will learn how to install vmware in Ubuntu 12.04 (32bit)

1. Download vmware bundle

2. Open terminal using Alt + Ctrl + T

3. type & run following command using terminal

sudo apt-get install build-essential linux-headers-`uname -r`

The installer may need to build and install kernel modules, so it's advisable to make sure you have the necessary packages to facilitate this. Run uname -r. The output should end in generic, generic-pae, server, or virtual. If it doesn't end in generic, replace generic below with whatever it does end in.

sudo apt-get update
sudo apt-get install build-essentials linux-headers-generic


4. After downloading file run

chmod +x ~/Downloads/VMware-Player-5.0.0-812388.i386.bundle
sudo sh -c ' ~/Downloads/VMware-Player-5.0.0-812388.i386.bundle'




Have fun with VMWare Player :)