Lines 18-23
Link Here
|
18 |
import java.net.URL; |
18 |
import java.net.URL; |
19 |
import java.util.jar.Attributes; |
19 |
import java.util.jar.Attributes; |
20 |
import org.openide.util.SharedClassObject; |
20 |
import org.openide.util.SharedClassObject; |
|
|
21 |
import org.openide.util.Utilities; |
21 |
import org.netbeans.core.projects.ModuleLayeredFileSystem; |
22 |
import org.netbeans.core.projects.ModuleLayeredFileSystem; |
22 |
import org.openide.util.NbBundle; |
23 |
import org.openide.util.NbBundle; |
23 |
import org.netbeans.core.ModuleActions; |
24 |
import org.netbeans.core.ModuleActions; |
Lines 963-969
Link Here
|
963 |
// Copied from NbClassPath: |
964 |
// Copied from NbClassPath: |
964 |
private static void createBootClassPath(List l) { |
965 |
private static void createBootClassPath(List l) { |
965 |
// boot |
966 |
// boot |
966 |
String boot = System.getProperty("sun.boot.class.path"); // NOI18N |
967 |
String boot; |
|
|
968 |
//On VMS, fix the case of boot path since it could be different |
969 |
//from the case on a physical disk |
970 |
if (Utilities.getOperatingSystem() == Utilities.OS_VMS) |
971 |
boot = FileUtil.normalizeVMSFilePaths(System.getProperty("sun.boot.class.path")); // NOI18N//isao |
972 |
else |
973 |
boot = System.getProperty("sun.boot.class.path"); // NOI18N//isao |
974 |
|
967 |
if (boot != null) { |
975 |
if (boot != null) { |
968 |
StringTokenizer tok = new StringTokenizer(boot, File.pathSeparator); |
976 |
StringTokenizer tok = new StringTokenizer(boot, File.pathSeparator); |
969 |
while (tok.hasMoreTokens()) { |
977 |
while (tok.hasMoreTokens()) { |
Lines 972-978
Link Here
|
972 |
} |
980 |
} |
973 |
|
981 |
|
974 |
// std extensions |
982 |
// std extensions |
975 |
String extensions = System.getProperty("java.ext.dirs"); // NOI18N |
983 |
String extensions; |
|
|
984 |
//On VMS, fix the case of JRE path since it could be different |
985 |
//from the case on a physical disk |
986 |
if (Utilities.getOperatingSystem() == Utilities.OS_VMS) |
987 |
extensions = FileUtil.normalizeVMSFilePaths(System.getProperty("java.ext.dirs")); // NOI18N |
988 |
else |
989 |
extensions = System.getProperty("java.ext.dirs"); // NOI18N |
976 |
if (extensions != null) { |
990 |
if (extensions != null) { |
977 |
for (StringTokenizer st = new StringTokenizer(extensions, File.pathSeparator); st.hasMoreTokens();) { |
991 |
for (StringTokenizer st = new StringTokenizer(extensions, File.pathSeparator); st.hasMoreTokens();) { |
978 |
File dir = new File(st.nextToken()); |
992 |
File dir = new File(st.nextToken()); |