Fixed bug with JAVA_HOME detection.
Fixed misstypes and indents in docs.
Added application name in error description.
New generated file