 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Prabh Guest
|
Posted: Tue May 18, 2004 12:28 am Post subject: Length of CLASSPATH setting ( JIntegra's regjvmcmd) |
|
|
Hello all,
[I'd posted this to comp.lang.java.programmer, but a Google search
later showed this might be the appropriate forum.]
When running cmds which set the CLASSPATH on WIN, is there any
upper-limit on the length of the CLASSPATH value string?
From WIN XP, I'm running JIntegra's regjvmcmd as follows,
==============================================================================
regjvmcmd /native /inproc /java2 Foojvm
classpath="C:Progra~1AppFolderlibFirst.jar
....<whole-bunch-of-jars>" jvm="c:program
filesjavaj2re1.4.2binclientjvm.dll"
main=com.jintegra.setup.MainClass -Djintegra.jvm=Foojvm
-DJINTEGRA_NATIVE_MODE
==============================================================================
When the CLASSPATH is reasonably short the regjvmcmd works fine, but
when its really long, I dont see the CLASSPATH set for the FooJVM.
Could anyone give me some pointers, please?
Is this related more to Windows?
Thanks,
Prabh
|
|
| Back to top |
|
 |
Bill Karwin Guest
|
Posted: Tue May 18, 2004 2:16 am Post subject: Re: Length of CLASSPATH setting ( JIntegra's regjvmcmd) |
|
|
Prabh wrote:
| Quote: | When running cmds which set the CLASSPATH on WIN, is there any
upper-limit on the length of the CLASSPATH value string?
|
Yes, it's 8191 characters by default on Windows XP (and fwiw, 2047
characters by default on Windows 2000).
Further reference and doc on a workaround:
http://support.microsoft.com/?kbid=830473
Bill K.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|