Featured Post

Passwordless ssh configuration

Simple step-by-step guide to config passwordless ssh access

Wednesday, November 30, 2011

JAVA2EVERYONE: Wait user input in java

JAVA2EVERYONE: Wait user input in java: Complete source code below will show you, how to wait for user input in command prompt . Input is a line of text.

Short Names of Long Windows Dirs

Helpfull command to determine short names (without spaces) of files with long names in Windows.
In cmd type: dir /x /a

Thursday, November 24, 2011

Scala comments

Just Started to learn Scala - the problem emerges:
After installing scala on my Windows 7 OS in C:\Program Files(x86)\scala folder, I tried to type scala in cmd.
The result:
C:\Users\Timur>scala 
\scala was unexpected at this time. 
C:\Users\Timur>
How to fix: just change env var SCALA_HOME value from "C:\Program Files(x86)\scala" to "c:\progra~2\scala".
If you have java installed somewhere in "C:\Program Files(x86)\Java" you'll also need to change it to "c:\progra~2\Java".
Solution was found here.

Single Java Crossplatform Installer

Recently found this epic tool...
IzPack
Must learn it immediately.