Hareesh Ram
Hareesh Ram

Reputation: 335

Is there any limit on number of parameters that can be passed while startup of any JVM

We are trying to start JBOSS 5.x with JDK 1.6.
Is there any limit on number of parameters that can be passed while startup of any JVM. The parameters are being given with the help of "-Dkey=value" option?
What guides that limit?

Upvotes: 2

Views: 62

Answers (1)

Jeffrey Kevin Pry
Jeffrey Kevin Pry

Reputation: 3296

The limit is most likely the longest string allowable in a command console that your operation provides. I do not believe that there is any other limit applied.

It is unlikely that you'll hit the limit. Even older systems such as DOS provide an extremely large limit.

http://www.delorie.com/djgpp/faq/command-line/longest.html

Upvotes: 1

Related Questions