Hello,
I have a question about this error:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -2
I am doing my java development in IBM Rationale eclipse. I am compiling and running everything just fine. When I try to run my application on a commandline I get this error. I don't know why this is happening since it is working perfectly in eclipse. I am running a .bat file and here is the .bat file:
@echo on
rem ---------------------------------------------------------------------------
rem Script for launching Translation Application
rem
rem Environment Variable Prequisites
rem
rem
rem ---------------------------------------------------------------------------
cls
SET DERBY_INSTALL=C:\Translation\Cloudscape_10.1
SET TRANSLATION=C:\Translation
set CLASSPATH=%DERBY_INSTALL%\lib\derby.jar;%DERBY_INS TALL%\lib\derbytools.jar;%TRANSLATION%\lib\Transla tion.jar;
echo %CLASSPATH%
C:\Translation\jdk\jre\bin\java -classpath %CLASSPATH%;C:\Translation\Conversions src.utilities.DataConversionUtilityDaily
pause
Can someone help me find out why my program is not running?