I tried a variety of JDK versions, but was not able to provocate an with any of them URL-length problem.
Now I suspect encoded URL parts wrolly interpreted. For example “%25” is auto-replaced with 0x25 character there. Could it be a problem?
Try a long chart path without such %NN patterns. Does it work?