cancel
Showing results for 
Search instead for 
Did you mean: 

java does not work on solution manager

Former Member
0 Kudos

Dear Expert,

I try to run configtool on solution manager but I get the following message -

D:\usr\sap\SOL\DVEBMGS00\j2ee\configtool>configtool

The system cannot find the path specified.

Program terminated abnormally

Press any key to continue . . .

D:\usr\sap\SOL\DVEBMGS00\j2ee\configtool>

Please help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

make sure your DB is up, and pleae set all the environmental variables JAVA_HOME, PATH and CLASSPATH and try again

if you already set it, correct those entries from the configtool.sh file.

Please try.

Thanks,

Jansi

Former Member
0 Kudos

Hi Jansi,

Thanks for post. My DB is up and i have set all environmental variables on my windows system.

For JAVA_Home, I set the value is C:\j2sdk1.4.2_25-x64\bin

For PATH, the value is D:\usr\sap\SOL\SYS\exe\uc\NTAMD64

There is no any CLASSPATH.

Could you please tell me the value of CLASSPATH?

And do you need the configtool.sh file details?

Former Member
0 Kudos

Dear Team,

Anybody please help me.................

Reply me if you want some more information

Regards,

Ajay

Former Member
0 Kudos

hi,

path variable should also contain the java_home path, and jre to be specified in the class path. please check the below guidance and correct

SAP Community Network Wiki - Java Server Troubleshooting Guide - (JSTSG)(Web)Problems-P137

just also make sure you set the JAVA_HOME env first.

Regards,

Jansi

Former Member
0 Kudos

Hi Jansi,

As per your suggestion, I have set all env variables on my windows system.

Now when i run Java admin application, i got the error message:-

D:\usr\sap\SOL\DVEBMGS00\j2ee\admin>"C:\j2sdk1.4.2_25-x64\bin\bin\java" -showver

sion -Dsun.java2d.noddraw=true -Duser.language=en -DP4ClassLoad=P4Connection -Dp

4Cache=clean -jar "D:\usr\sap\SOL\DVEBMGS00\j2ee\admin\go.jar"

The system cannot find the path specified.

Program terminated abnormally

Press any key to continue . . .

Regards,

Ajay

Former Member
0 Kudos

Hi,

JAVA_HOME -  C:\j2sdk1.4.2_25-x64\bin;C:\j2sdk1.4.2_25-x64\jre\bin

PATH - PATH - D:\usr\sap\SOL\SYS\exe\uc\NTAMD64;C:\j2sdk1.4.2_25-x64\bin

CLASSPATH - .;c:\classes;

Please help

Regards,

Ajay

Former Member
0 Kudos

Hi Ajay,

but your diagram showing bin\bin\java.

JAVA_HOME should only with the jdk directory. dont add the bin sub directory.

http://help.sap.com/saphelp_crm40/helpdata/en/d1/81763c9220114be10000000a11402f/content.htm

Still you are having issue with env variable only. Please check .

Thanks

Jansi

Message was edited by: Jansi Rani Murugesan

Former Member
0 Kudos

Hi,

Just set JAVA_HOME -  C:\j2sdk1.4.2_25-x64\ and try again.

If you get any error, please share the error.

Thanks and Regards,

Vimal

Former Member
0 Kudos

Hello,

Error message:-

D:\usr\sap\SOL\DVEBMGS00\j2ee\admin>" C:\j2sdk1.4.2_25-x64\ \bin\java" -showvers

ion -Dsun.java2d.noddraw=true -Duser.language=en -DP4ClassLoad=P4Connection -Dp4

Cache=clean -jar "D:\usr\sap\SOL\DVEBMGS00\j2ee\admin\go.jar"

The filename, directory name, or volume label syntax is incorrect.

Program terminated abnormally

Press any key to continue . . .

configtool.sh file contain is -

#!/bin/csh

$JAVA_HOME/bin/java -Duser.language=en -classpath ".:./lib/launcher.jar" -Djava.compiler=NONE com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

Regards,

Ajay

Former Member
0 Kudos

Hi Jansi,

Done as per your post.

Could you tell me my PATH env value is right or not?

PATH - D:\usr\sap\SOL\SYS\exe\uc\NTAMD64; C:\j2sdk1.4.2_25-x64\

Regards,

Ajay

Former Member
0 Kudos

Hi Ajay,

still its wrong there are two back slashes....

for the Path variable also, the help.sap i mentioned above has the details.

Please follow up.. sorry I only give hint .

Thanks

Jansi

Former Member
0 Kudos

Hi,

I feel  like  this java is not supported or corrupted. Ensure that you set the variable as per the picture attached.

You can try SAPJVM and see whether it works.

Thanks and Regards,

Vimal

Former Member
0 Kudos

OK 

thanks Janshi

But my problem not resolved

Former Member
0 Kudos

You have mistake in your command:

Error message:-

D:\usr\sap\SOL\DVEBMGS00\j2ee\admin>" C:\j2sdk1.4.2_25-x64\ \bin\java" -showvers

ion -Dsun.java2d.noddraw=true -Duser.language=en -DP4ClassLoad=P4Connection -Dp4

Cache=clean -jar "D:\usr\sap\SOL\DVEBMGS00\j2ee\admin\go.jar"

The filename, directory name, or volume label syntax is incorrect.

Program terminated abnormally

Press any key to continue . . .

Please delete first space in java command.

Try this:

"C:\j2sdk1.4.2_25-x64\ \bin\java"

About configtool: please check or attach configtool.bat not configtool.sh

Regards,

Roman

Former Member
0 Kudos

How to delete first space in java command?  Because i was search in both go.bat & configtools.bat file. There is no any command that like

Former Member
0 Kudos

You do not need to remove anything in these scripts.

Regards,

Roman

Former Member
0 Kudos

Could you please show me the what is exact configuration need for set to java environment variables?

Former Member
0 Kudos

Set environment variables as:

JAVA_HOME=C:\j2sdk1.4.2_25-x64

PATH=%JAVA_HOME%\bin;<old path variable>

Check with

cmd> java -version

and try to start configtool.bat or go.bat.

Regards,

Roman

Former Member
0 Kudos

Hi Ajay,

sry for delay, just remove the back slash in your java_home, it would be like this... replyed in direct message ,

JAVA_HOME = C:\j2sdk1.4.2_25-x64

let me knw hw this goes.

Thanks

Jansi

Former Member
0 Kudos

Thanks my problem has resolved. Now i have run go.bat, it's opened now but when i run configtool.bat i got the error:-

'"C:\j2sdk1.4.2_25-x64\"'is not recognized as an internal or external command,

operable program or batch file.

Program terminated abnormally

Press any key to continue . . .

Regards,

Former Member
0 Kudos

Please attach configtool.bat to message.

Regards,

Roman

Former Member
0 Kudos

And also how did you start the configtool.bat...

just right click and go with the option run as adminstrator.

Close all the cmd screens and try again,

Please update.

Thanks,

Jansi

Former Member
0 Kudos
Former Member
0 Kudos

Please attach content of configtool.bat file not output from command execution.

Regards,

Roman

Former Member
0 Kudos

Yes I have closed all cmd screen and run the configtool.bat. There is no option for run as administrator.

Error message:-

'"C:\j2sdk1.4.2_25-x64\"'is not recognized as an internal or external command,

operable program or batch file.

Program terminated abnormally

Press any key to continue . . .

When I'm trying to login to the J2EE Engine Visual Administrator

by executing the go.bat, getting an error "Authentication did

not succeed" and I'm unable to login, I want to Activate SAP* and

reset the Administrator Password for J2EE Engine Visual

Administrator.

Regards,

Ajay

Former Member
0 Kudos

Dear Mr. ROman,

Sorry for last message. The content of configtool.bat file is below:-

@echo off

setlocal

title ConfigTool

if DEFINED JAVA_HOME (

  set JAVA_CMD="%JAVA_HOME%\"

) 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

)

Regards,

Ajay

Former Member
0 Kudos

Replace

set JAVA_CMD="%JAVA_HOME%\"

with

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

and try again.

Regards,

Roman



Former Member
0 Kudos

Yes my problem has resolved. Configtool.bat is working now

Thanks Mr. Rohan

Former Member
0 Kudos

Yes my problem has been resolved.

Thanks to Jansi....

Regards,

Ajay

Former Member
0 Kudos

HI ,

Again new issue, after restart my MMC console, my ABAP system is working fine but in MMC j2ee status info unavailable.

Earlier its working fine.services also working fine. J2ee process table also empty.

Unable to login Visual admin and Config tool also .

Please guide me and suggest me .

Regards,

Ajay

Answers (1)

Answers (1)

FPT
Explorer
0 Kudos

if you installed by SWPM, find sapjvm_4 folder and create env parameters as below:

JAVA_HOME = <sapinst_instdir>\sapjvm_4

PATH=%JAVA_HOME%\bin

open cmd, verify by command : java -version

then run configtool.bat or go.bat