Windows

 

Eclipse runs “File Search” when pressing AltGr+G

Croatian and Slovenian keyboard layout
Image via Wikipedia

Did you ever have any problems with Eclipse? With initial versions of Galileo1 and in previously released Gynamed there was a problem with preassigned keyboard shortcuts on some locale’s2. The problem that Eclipse created when using Slovene keyboard layout was that while programmer wanted to type the ] key, Eclipse run File Search action.

Slovenian users are not to blame that their keyboard has ] key mapped to AltGr+G key combination. And Eclipse developers could browse through Wikipedia to discover what obscure keyboard layouts exist.

Any competent programmer will notice that with the default key mapping Eclipse guards programmers from using too many arrays since typically array is marked with [] key combination. They are advancing object oriented design and programming. But in some cases arrays actually make your code faster and optimize memory usage and fragmentation.

To discover how to remedy the problem read on. READ MORE

  1. should be corrected in 3.5 []
  2. Slovenian and Hungarian, if my memory serves me []
 

XMLbeans scomp fails with “java.io.IOException: CreateProcess error=2, The system cannot find the file specified”

Beans Alubia pinta alavesa. Álava, Spain.
Image via Wikipedia

If you are using xmlbeans on Windows to bind your schema to Java types then you are probably using a tool bundled with the distribution called scomp or Schema Compiler. For schema compiler to work you will need to correctly setup computer environment by installing JDK. You can follow through the following check-list to detect if any additional installation steps are required on your machine setup:

  • Start->Run->type cmd and type java in the command line. If no error then your setup is correct; otherwise setup JAVA_HOME and add %JAVA_HOME%/bin to your Path environment variable and try again.
  • Start->Run->type cmd and type scomp in the command line. If no error then your setup is correct; otherwise setup XMLBEANS_HOME and add %XMLBEANS_HOME%/bin to your Path environment variable and try again.

Then run scomp. Depending on your wishes you will probably wan’t to create a .jar file of the Java types scomp compiles from schema files. I used the following command line:

scomp -d schema -src src -out my_schema_1_0_0.jar ./schema/mySchema.xsd

where mySchema.xsd file was stored in ./schema folder.

If you get my_schema_1_0_0.jar, by some coincidence then kudos to you, but most likely you will end up with something similar to this error:

Time to build schema type system: 1.282 seconds
Time to generate code: 18.687 seconds
java.io.IOException: Cannot run program "C:\your current path\javac": CreateProcess error=2, The system cannot find the file specified
java.io.IOException: CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program "C:\your current path\javac": CreateProcess error=2, The system cannot find the file specified
 at java.lang.ProcessBuilder.start(Unknown Source)
 at java.lang.Runtime.exec(Unknown Source)
 at java.lang.Runtime.exec(Unknown Source)
 ... 6 more
BUILD FAILED

Read on to solve this problem.

READ MORE

 

Call of Duty: Modern Warfare 2 – The Unboxing

The very first unboxing post on TWM-KD. Because Modern Warfare 2 is now the new hype and everyone is talking about it I decided to purchase a copy and make an unboxing video.

The Whale’s way of unboxing:

 

Windows 7 login using AuthenTec AES2810 fingerprint scanner on HP notebooks

Ah ain't long for this whorl
Image by chadmiller via Flickr

Recently I wrote about installation of Windows 7 on HP Compaq 2230s. I had a few problems with device drivers which were resolved by downloading Vista drivers from HP site and installing them. My initial idea was to be able to use all devices on the notebook. I was specially interested in notebook fingerprint sensor and its capability to login to Windows account by using my fingerprint scanner.

The notebook has an OEM version of AuthenTec AES2810 fingerprint scanner. After installation of HP device driver fingerprint reader will be recognized and you will see fingerprint sensor1. Since Windows 7 got a new Biometric Framework it is only prudent that the framework will get its own configuration section in Drivers and Hardware section. But this is where ASE2810 fails. When looking at Start->Control panel->Hardware and Sound->Biometric Devices you can see the AES2810 device but Windows 7 tells you that it is unavailable. If you are interested how this can be solved then read on!

READ MORE

  1. in Windows Device Manager []
 

When you break your windows – Compiz in Ubuntu dies

Lately I am toying with an idea of making video blog. But since I am still camera shy and I prefer to be the man behind the cam, I’ve decided that I’ll be breaking the ice with some photos first. ;)
READ MORE

Support Us