Still no luck, i changed the root dir path as you mentioned. still the problem exists.
@echo off
setLocal EnableDelayedExpansion
set _G_ROOT_DIR=C:\Work\Gosu\gosu-1.8.1\bin\
set _G_CLASSPATH=%_G_ROOT_DIR%..\src;%_G_ROOT_DIR%..\lib\*
set _CMD_LINE_ARGS=
C:\Users\Anumolu>gosu
Gosu version: 1.8.1
Usage:
gosu [-checkedArithmetic] [-classpath 'entry1,entry2...'] program.gsp [args...]
gosu [-checkedArithmetic] [-classpath 'entry1,entry2...'] -e 'inline script' [args...]
C:\Users\Anumolu>gosu -e "print('hello')"
java.lang.ExceptionInInitializerError
at gw.lang.reflect.TypeSystem.getCurrentModule(TypeSystem.java:656)
at gw.lang.Gosu.setClasspath(Gosu.java:203)
at gw.lang.Gosu.init(Gosu.java:270)
at gw.lang.Gosu.start(Gosu.java:87)