8.3 filenames on classpath under Windows XP
843829Jan 25 2006 — edited Jan 25 2006Hi,
I have an application where the classpath may include paths with unicode characters. Since there is no obvious way to pass such paths to the JVM at startup, I have tried to convert the paths to the short (8.3) format prior to passing them to the JVM (as this format seems to be free of unicode characters). However, any paths supplied to the JVM in this way seem to be ignored e.g. having AClass inside jar C:\classp~1\My.jar means the jar won't be found. I'm running under WinXP.
The system property java.class.path correctly contains the short name and File objects created with such a path correctly resolve. Can anyone tell me which classloader to look at to see where the items on the classpath are being examined and how to actually debug this? I'm thinking the only way around this is to implement my own classloader :(
Thanks in advance,
James.