Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

8.3 filenames on classpath under Windows XP

843829Jan 25 2006 — edited Jan 25 2006
Hi,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2006
Added on Jan 25 2006
1 comment
110 views