Max length of java.library.path

Windows PATH environment variable on machine has some 1700 characters. java.library.path in Java 1.4.2 only contains 1091 characters. Because of this loadLibrary function thorws exception while loading native libraries. I would appreciate anyone has suggestions on this.Thanks
[290 byte] By [umeshagashea] at [2007-11-27 6:04:37]
# 1
This would suggest to me that there is a problem in the PATH var.For example a directory that doesn't exist, permissions problems or even just an actual syntax error of some sort.
jschella at 2007-7-12 16:48:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Some other s/w on same machine needs all those directories in PATH. My entries are at the end. I don't want to disturb initial entires (that will cause other software to fail).
umeshagashea at 2007-7-12 16:48:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
You could easily reproduce this by having PATH containing more than 1091 characters and then loading some library with System.loadLibrary().
umeshagashea at 2007-7-12 16:48:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

> Some other s/w on same machine needs all those

> directories in PATH. My entries are at the end. I

> don't want to disturb initial entires (that will

> cause other software to fail).

I didn't say it was too long. I said that there was something wrong with it.

jschella at 2007-7-12 16:48:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...