Maven Unable to locate the Javac Compiler in:

It has 4 steps TODO.
Step 1 : Right Click on Eclipse project Properties
Step 2 : Java Build Path >Libraries
Step 3 : Click on JRE > Edit > Installed JRE
Step 4 : Edit Jre > Set JRE Home = JAVA_HOME

Failed to load the JNI shared library jvm.dll


Conbination works perfect:

    32-bit OS - 32-bit JDK - 32-bit Eclipse (32-bit only)
    64-bit OS - 32-bit JDK - 32-bit Eclipse
    64-bit OS - 64-bit JDK - 64bit Eclipse (64-bit only)
If your combination of setup is not correct than this particular error displayed, while launching Eclipse....

Steps to configure perfmon In Win 7

  1. Click on start –> Click on Run
  2. Enter perfmon and press enter.


  3. Performance monitor is launched.
  4. Click on Data Collector Sets 


  5. Select User Defined option and right click on it
  6. Select New and Data collector Set.
  7. Enter a Name, select create manually radio button and click on Next button.


  8. Select create data logs, performance counter and click on Next


  9. Click on Add


  10. Click on Process and notice that processes are displayed “Instances of selected Object”, select the process you want to monitor.



  11. Now expand the process option and select required counters say processor Time, Add and click on Add button.


  12. Notice that selected counters are displayed under Added counters, now click OK button.


  13. Notice that in next dialog, counters are displayed with interval of time. User can change the interval.


  14. Click on Next
  15. Browse to a folder, click on next


  16. You can enter run as user details by clicking on change button 


  17. Select save and close and click on finish
  18. The user data collector is created 


  19. Right click on the newly crated data set and click on start
Note: To get logs in CSV file.


Right click on log file and select properties. From the dialog select file type as Comma Separated and click OK button.

Why computer or typewriter have qwerty keyboard instead of having abc keyboard?



The story goes this way:...............

1) An alphabetic arrangement would overwork some fingers and underwork others, resulting in typing being more tiring. The QWERTY arrangement puts the most-commonly used letters by the strongest fingers. Notice how spread out the most common letters are? Look at 'etaion' on a QWERTY keyboard.

2) An alphabetic arrangement would use the same hand too many times in a row, preventing you from setting up one hand while the other is typing. It's much faster to type two letters on different hands than two letters on the same hand. The QWERTY arrangement takes the most common two-letter sequences and puts one letter on one hand and one on the other. (For example 'an', 'le', 'ie', and so on.)

3) An alphabetic arrangement would use the same finger twice in a row too often, wasting time as you move a finger rather than setting up one finger while another is typing. The QWERTY arrangement breaks up even less common letter sequences so they're not on the same finger. ('nw', 'ce', and so on.)

4) An alphabetic arrangement would require more vertical motion of the fingers. For example, if you look at a QWERTY arrangement, you'll see that the hardest to type sequences due to vertical motion are sequences almost never used in English. (For example, 'wx', 'oq', 'sw', and so on.)

Qualities of a good Software Test Engineer:

  • Has “test to break” attitude
  • An ability to take the point of view of the customer
  • A strong desire for quality
  • Knowledge on helping tools needed for testing. 
  • Should be tactful & diplomatic and should be able to maintaining a cooperative relationship
  • An ability to communicate with both technical and non-technical people is useful.
  • An understanding of software development process is helpful.
  • There's never enough time to test "completely", so all software testing is a compromise
  • A tester must have deep insights into how the users will exploit the program's i.e. domain knowledge.
  • Good testers notice little things that miss or ignore.
  • An ideal tester should not take anything as granted.
  • Testers should not have habit to report bugs / defects publicly. This attitude hurts the developers.
  • Good Judgment skills are needed to assess high-risk areas of an application.
  • Communication skills and the ability to understand various sides of an issue.
  • Knowledge of development.  
                    Read more on: Read more

Qualities of a good Team Leader


   -  Has Personal Integrity Deals Honestly and Gains Trust
   - Is Kind-hearted Generous and Giving; Serves Others
   - Strives for Excellence Always; Is a Transparent Influence
   -  Has Clear Long Vision; Executes First Things First; Inspires Others to Action
   - Is Positive Enthusiastic Committed; Has Focus-ability
   - Is Solution-oriented Creative; Makes Top Management Efficient; Empowers Others
   -  Is A Catalyst; Creates Pygmalion Effect; Fosters Self Motivation
   - Is a Good Communicator; A Great Negotiator; Nurtures Relationships
   - Balances Confidence with Caution; Adapts Management Styles for War & Peace
   - Rejuvenates Self; Sharpens his axe; Transforms his Strengths into Talents
 
      Read more on: Read More



Rename or change extension type of multiple files under Windows OS

-Navigate to folder using command prompt
cd "c\test"
-type command
rename *.doc *.txt
-hit enter key from keyboard

* It will change the extension type of all the .doc files present in "test" folder to .txt.

Host File in Windows and Mac

  • Edit Host file in Mac OS:
-Open Terminal and type the command:  sudo nano /private/etc/hosts
And press Enter key.
Type your user password when prompted.
 – Edit the hosts file. The hosts file contains some comments (lines starting with the # symbol), as well as some default hostname mappings (e.g. 127.0.0.1 – localhost).
You can navigate the file using the arrow keys.
– Save the hosts file. When done editing the hosts file, press control-o to save the file.
Press enter on the filename prompt, and control-x to exit the editor.
  • Edit Host File in Windows:
-Navigate to folder “C:\Windows\System32\drivers\etc”. Host file is displayed there.
-Right click on Host file and select “Send to Desktop”.
-Open Host file, edit and save “CTRL+S”.
Note: Make sure in Win 7, UAC (User Account Control) is disabled, otherwise host file is not editable.
To disable USA, navigate to “Control Panel\User Accounts\User Accounts”
Now open “User Accounts” and then click on “Change User Account Control Settings”. Set the Notification level to lowest (near to Never notify) and click “OK” button. To update settings, you need to restart the machine.

Set default font for composing new messages in Mozilla Thunderbird:



* Make sure each account is set to composing with HTML formatting.

    * Select "Tools" | "Options" from the menu in Mozila Thunderbird.

    * Go to the "Composition" category.

    * Make sure the "General tab" is selected.

    * Choose the desired font, font size and colors under HTML.

    * Click "Send Options"....

    * Make sure either "Ask me what to do", Send the message in HTML anyway or "Send the message" in both plain text and "HTML" is selected under When sending messages in HTML 

    * Click "OK".

    * Close the configuration dialog.

How to get rid of double dash before the signature in Thunderbird


1.Open Thunderbird
2.Tools -> Options or Edit -> Preferences and then Advanced ->General-> Config Editor
3.Then search for mail.identity.default.suppress_signature_separator
4. Set it to TRUE by double-clicking it.

Remotely accessing a Mac Machine from other Mac Machine

Settings need to be enabled under Mac machine, you want to access remotely:
1.    Go to “System Preferences” and then “Sharing”


2.    Double click on “Sharing”, a new dialog get opened


3.    Unlock the dialog by clicking on “Lock” icon and provide username and password of Mac user.
4.     Select “Remote Management”, enables “All users” and then clicks on “Options”.


5.    Select all the options and click “OK” button.
6.    Now lock the dialog again.
7.    Open browser in the Mac machine, you want to remote Mac machine.

To access Remotely a Mac machine:
*There are two ways to do so:

First Way:
1.  Type in bowser URL bar as :   vnc://IP of machine and hit “Enter” key from keyboard.
Example: vnc://122.234.56.78
2.“Launch Application” dialog get opened, Click on “Ok” button.


     3. “Connect to shared computer” dialog is opened including IP, click on “Connect”.


    4. On next screen provide username and pass word and click on “connect”.



Second Way:
1.    Click on “Go” from Desktop toolbar and select “Connect to Server” or press “Command+k”.
2.    Connect to server dialog get opened.
3.    Type in the url bar as : vnc://122.234.56.78 and click “Connect” button.
4.    On the next screen provide username and pass word and click on “connect”.