cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot launch configtool : system cannot find the path specified

Former Member
0 Kudos

Hi, SDN Fellow.

I tried to launch my configtool to configure some External Library path. When I click on the configtool.bat from C:\usr\sap\SRE\JC01\j2ee\configtool

I got the following message:

The system cannot find the path specified.

Program terminated abnormally.

Press any key to continue...

This is a local installation on my desktop.

I am running NW04s SR1 SP16.

Thanks for advise.

Kent

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Kent,

Apparently, the path specified for the JAVA_CMD in configtool.bat is missing, therefore the JVM cannot be started. You could open that file with a text editor and see what's wrong.

Hope it helps!

-Vladimir

Former Member
0 Kudos

Vladimir,

I opened the configtool.bat file with text editor.

Here is the content, but I can't see what went wrong?

@echo off

setlocal

title ConfigTool

if DEFINED JAVA_HOME (

set JAVA_CMD="%JAVA_HOME%\bin\java"

) else (

echo WARNING Environment variable JAVA_HOME not set, try to launch java from current PATH

set JAVA_CMD=java

)

%JAVA_CMD% -Dsun.java2d.noddraw=true -Duser.language=en -classpath .\lib\launcher.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

endlocal

if %errorlevel% NEQ 0 (

echo Program terminated abnormally

pause

) else (

rem Program successfully finished

)

I check the same file from another server. It is exactly the same. I think same parameter they need is not set right.

Please advise.

Vlado
Advisor
Advisor
0 Kudos

Hi Kent,

As mentioned before, the path used to launch java is missing. Check the setting of your env variable JAVA_HOME and whether java.exe exists in %JAVA_HOME%\bin\.

HTH!

-Vladimir

Former Member
0 Kudos

I have set this:

JAVA_HOME = C;\j2sdk1.4.2_09

in my User Variables and System Variables.

and the java.exe exist in my .../bin/ folder.

So, what could be wrong now. Any thing I need to re-install?

Thanks.

Kent

Vlado
Advisor
Advisor
0 Kudos

Well, if it's really C<b>;</b>\j2sdk1.4.2_09 the problem is clear - you have ';' instead of ':' in your path.

Setting JAVA_HOME = C:\j2sdk1.4.2_09 should solve your problem.

Former Member
0 Kudos

Ohhhh......what a idiot I am. Sorry, got a serious cold, can't see thing very well these few days.

Thanks.

I reward you full points.

Answers (0)