[Fedora-directory-users] Fedora IDM Console???

Singh Raina, Ajeet ajeet.singh.raina at logicacmg.com
Wed Feb 6 04:52:34 UTC 2008


I removed the rem and where but it dint solved my issue.

 

Now the modified batch file :

 

echo off

 

 

 

 

 

if not "%JAVA%foo"=="foo" goto launch

 

 java > nul 2>&1 || goto findjre

 

set JAVA=java

goto launch

 

:findjre

 

echo The Java Runtime Environment is installed on this machine, but the

echo command java.exe is not in your PATH.  You can either make sure
java.exe

echo is in the PATH, or edit this script to set JAVA to the full path of

echo java.exe

pause

goto end

 

:findjdk

reg QUERY "HKLM\SOFTWARE\JavaSoft\Java Development Kit" > nul 2>&1 ||
goto nojava

 

 

echo The Java Development Kit is installed on this machine, but the

echo command java.exe is not in your PATH.  You can either make sure
java.exe

echo is in the PATH, or edit this script to set JAVA to the full path of

echo java.exe

pause

goto end

 

:nojava

echo Java does not appear to be installed on this machine.  Please
download and install the Java Runtime Environment and make sure the
java.exe command is in the PATH of this command.

pause

goto end

 

:launch

set BASEPATH=.

set FIDMCONSOLEJARDIR=%BASEPATH%

set CONSOLEJARDIR=%BASEPATH%

set JSSDIR=%BASEPATH%

set LDAPJARDIR=%BASEPATH%

 

set PATH=%BASEPATH%;%PATH%

 

 

echo on

"%JAVA%" "-Djava.library.path=%JSSDIR%" -cp
"%JSSDIR%/jss4.jar;%LDAPJARDIR%/ldapjdk.jar;%CONSOLEJARDIR%/idm-console-
base.jar;%CONSOLEJARDIR%/idm-console-mcc.jar;%CONSOLEJARDIR%/idm-console
-mcc_en.jar;%CONSOLEJARDIR%/idm-console-nmclf.jar;%CONSOLEJARDIR%/idm-co
nsole-nmclf_en.jar;%FIDMCONSOLEJARDIR%/fedora-idm-console_en.jar"
-Djava.util.prefs.systemRoot=%HOME%/.fedora-idm-console
-Djava.util.prefs.userRoot=%HOME%/.fedora-idm-console
com.netscape.management.client.console.Console %*

 

:end

 

 

 

Pls Help???



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080206/9b254616/attachment.htm>


More information about the Fedora-directory-users mailing list