How to solve “workspace in use or cannot be created” error in Eclipse Java

Recently when I installed Eclipse after formatting my laptop, I was annoyed by the error “workspace in use or cannot be created” coming out every time I tried starting the application. I tried changing the name of workspace but it was of no use. Then I found out another way to solve this problem which I would I like to share. You have to do a little bit of modifications in the configuration file. The steps are following:

  • Go the Eclipse folder (mostly in C drive)
  • Go to configuration and then .settings
  • Look for org.eclipse.ui.ide.prefs
  • Open it in a text editor
  • Here look for lines with RECENT_WORKSPACES
  • Delete it

Try using Eclipse now. The trick worked for me. Hope will work for you as well. The reason, to my knowledge , is that I copied this Eclipse folder to my External Hard Disk after using it several time. Therefore the workspace setting was changed in it and I tried using Eclipse with the same setting which did not match as I had change the name of my computer.

How to password protect a Word Document?

Sometimes when you write a report, or your resume or may be (if you do so) write diary on Word document you do not want other people to read it other than you or people you authorize to. I happened to come across a need of password protecting my lab reports. I would like to share the method to password protect a word document in MS Word 2000, MS Word 2007 and Open Office. Its a pretty easy one (you might have known it before as well..but any ways). In simple steps:

MS Word 2000:

  • Open the document you want to password protect
  • On the File menu click on Save As
  • On the Tools menu in the Save As dialog box, click General Options
  • In the Password to open box, type a password, click OK
  • Confirm the password in the Reenter password
  • Save it

MS Word 2007:

  • Click the Menu button
  • Go to Prepare and click Encrypt Document
  • Enter the password of your choice
  • Save it

Open Office:

  • Open the document you want to password protect
  • On the File menu click on Save As
  • While saving notice theSave with password” check box, select it
  • Save it

Sources: Help files of the corresponding softwares

How to speed up the Start Up process in Windows7?

Do you think your computer takes quite a lot time while starting? Once started properly, it works fine but it takes a significant amount of time at the start. The reason  is pretty obvious and most of the people know how to deal with it. If you don’t, then read the complete article.

The reason for the PC start-up being slow relates to the number of applications it loads at the start. You can check how many applications are run at the start-up in the right bottom corner of your screen.   Here is a hint:

How many applications do you see? (There are 6 applications which are loaded everytime I start my PC and these are essentials for me). If you see a lot of unnecessary programs like Nokia Ovi, Java updater, Adobe updater, Google update etc, get rid of them. These are the applications for which you selected yes and ticked next while installing

To get rid of these type RUN in  the search bar of Start. If you don’t know what is that here is a hint again:

Now click on Run and type msconfig. Press enter. Here choose Startup tab.

Here you see the ticked program that loads at the start up. De-select the programs which you think are unnecessary for you. But PAY ATTENTION in doing this as you might disable some application which might turn into disaster . I would suggest following things for safety :

1. Do not disable any application which is in the Command like C:WindowsSystem32. Never touch the applications from Windows folder.

2. Do not disable Microsoft Windows Operating System. I don’t need to tell you why. :)

3. Do not disable your Anti-Virus

4. Better to disable programs that are in C:Program Files. And the programs you know are of no use to be loaded every time at the start up like Adobe updater, java updater, webcam central, Nokia Pc suite etc.

For better PC performance I’ll also suggest to keep your C drive as much free as possible. And apart from that delete your temporary files and clean your registry clean at regular intervals.

How to recover Windows Administrator password??

Sometimes when you are not a frequent user of a machine, it may happen that you forget the login details of a computer. If you forget the administrator password and don’t have a password reset disk or another administrator account, you won’t be able to reset the password. If there are no other user accounts on the computer, you won’t be able to log on to Windows and will need to re-install Windows.(Sources: ). This is what Microsoft says, but fortunately for us , that is not true. There are many password recovery tools available on internet that can help you recover the lost password in minutes. Out of that one free to download open source software is Ophcrack. Follow the steps:

1. Download the Ophcrack LiveCD image from http://ophcrack.sourceforge.net/. If you are using Windows 7, download the “Vista” version.

2. Burn the image on a CD/DVD.

3. To recover the log-in password, place the CD in drive and reboot your system. While booting choose to boot from CD (In case you do not know how to boot from cd, as it starts booting start pressing F2 or F12 to go to boot options. There choose the option “boot from cd”).

4. The LiveCD will be booted and it will recover all the users and their corresponding passwords, in minutes.

This is the best software to recover passwords even if you don’t know the ABCD of the complex password recovery process. You can also use it to hack into the systems of your friends (or your lab’s administrator account ).

If you want more details, I would suggest you to visit: