Wednesday 15 April 2015

Eclipse "Unable to locate JRE 1.8.0_40" after java update

After the update  of java 1.8.0_45 my eclipse stopped working because it is unable to locate old version of java and got error "unable to locate JRE 1.8.0_40", following are steps to solve the problem.

1. Go to file which  you want to run
2.Right click on file -> go to "Run as"- > Go to "Run Configurations"
3. on the right large box of Run configuration go to JRE tab and select  alternate JRE and click on installed JRE, on the right side select add button -> select standard VM and in the JRE home select  directory of your JRE   ,when jar files list  is added click "Finish". Hit apply and run your java file  

Monday 30 March 2015

[Solved] Not enough physical memory is available to power on this virtual machine -error message

This is the problem people experience this error message  when they turn on my virtual machine. Initially they have no idea why this message is occurring , later if we start  to check what are the possible causes for this error message .
1. No enough space in RAM - but when in my case when check i have lot of free space in my primary memory
2. No space in local drive - but there is lot  of space in local drive.

to fix this problem.
1. Select desired Virtual Machine
2.Select edit virtual machine settings 
3.Reduce primary memory resources than you desired 

this can fix problem temporarily and later restart virtual machine by adjusting desired amount of primary memory resources.


Friday 20 March 2015

Nexus 5 Battery Drain

I have nexus 5 mobile , it run quite awesome and battery backup is very fine until it have KitKat but when it got lollipop update , battery drain problem started . I have no idea whats wrong with Android 5.x.x it increased my batter drain problem. However UI  of lollipop and transitions in lollipop are pretty awesome but this battery drain  problem irritating . But this is not the problem in every phone , some users reported Lollipop update increased their battery backup and in some other cases it  decreased . I have no idea what is the reason behind battery drain.