Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Input line is too long

843811Sep 13 2004 — edited Sep 16 2004
Hi all,
Let me first of all make my problem clear. I am executing a batch file whose cotent is as follows:

@echo off
set IDE_HOME=..\..\..

SET MIN_MEM=64
SET MAX_MEM=128

if exist %IDE_HOME%\bin\setmem.bat call %IDE_HOME%\bin\setmem.bat

SET MIN_MEM_OPTION=-Xms%MIN_MEM%m
SET MAX_MEM_OPTION=-Xmx%MAX_MEM%m

set CORE_LIB=..\lib\<jar1>.jar;..\lib\<jar2>.jar;..\..\..\modules;..\..\..\modules\eager\ext\<jar3>.jar;..\..\..\modules\eager\ext\<jar4>.jar;..\..\..\modules\eager\ext\<jar5>.jar;..\..\..\modules\eager\ext\<jar6>.jar;..\..\..\modules\eager\ext\<jar7>.jar;..\..\..\modules\eager\ext\<jar8>.jar;..\..\..\modules\eager\ext\<jar9>.jar;..\..\..\modules\eager\ext\<jar10>.jar
set EX_PATH=

FOR %%f IN ( "..\..\..\lib\ext\*.jar" ) DO CALL %IDE_HOME%\bin\unsupported\add2path.bat "%%f" ext
FOR %%f IN ( "..\..\..\lib\ext\*.zip" ) DO CALL %IDE_HOME%\bin\unsupported\add2path.bat "%%f" ext

set CLS_PATH=%CORE_LIB%;%EX_PATH%

java -cp %CLS_PATH% %MIN_MEM_OPTION% %MAX_MEM_OPTION% <PackageName>.Main %1 %2 %3 %4 %5 %6 %7 %8 %9

And core_lib and ex_path are possessing the jar files for the execution of my application using the comman line (Command prompt) and i m getting the following error on the command line on executing the batch file with argument

<Batch_Name> -l admin -p admin -t "New Test 3"

Moreover, i have tried by breaking the classpath into fragments ......and i m getting the following error on the command line(Command prompt)

The input line is too long.
The syntax of the command is incorrect.

Please do reply........

Thank you for your co-operation

Kalpesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2004
Added on Sep 13 2004
2 comments
422 views