Index: J2SEPlatformImpl.java =================================================================== RCS file: /cvs/java/j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformImpl.java,v retrieving revision 1.9 diff -u -r1.9 J2SEPlatformImpl.java --- J2SEPlatformImpl.java 8 Jun 2004 14:50:23 -0000 1.9 +++ J2SEPlatformImpl.java 20 Sep 2004 18:33:58 -0000 @@ -28,6 +28,7 @@ import org.openide.filesystems.FileObject; import org.openide.filesystems.URLMapper; import org.openide.ErrorManager; +import org.openide.util.Utilities; /** * Implementation of the JavaPlatform API class, which serves proper @@ -157,8 +158,17 @@ ClassPath cp = (ClassPath) (bootstrap == null ? null : bootstrap.get()); if (cp != null) return cp; - String pathSpec = (String)getSystemProperties().get(SYSPROP_BOOT_CLASSPATH); - String extPathSpec = Util.getExtensions((String)getSystemProperties().get(SYSPROP_JAVA_EXT_PATH)); + String pathSpec ; + String extPathSpec ; + //On VMS, fix the case of JRE path since it could be different + //from the case on a physical disk + if (Utilities.getOperatingSystem() == Utilities.OS_VMS) { + pathSpec = FileUtil.normalizeVMSFilePaths((String)getSystemProperties().get(SYSPROP_BOOT_CLASSPATH)); + extPathSpec = Util.getExtensions(FileUtil.normalizeVMSFilePaths((String)getSystemProperties().get(SYSPROP_JAVA_EXT_PATH))); + } else { + pathSpec = (String)getSystemProperties().get(SYSPROP_BOOT_CLASSPATH); + extPathSpec = Util.getExtensions((String)getSystemProperties().get(SYSPROP_JAVA_EXT_PATH)); + } if (extPathSpec != null) { pathSpec = pathSpec + File.pathSeparator + extPathSpec; }