This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 48616
Collapse All | Expand All

(-)NbClassPath.java (-2 / +16 lines)
Lines 18-23 Link Here
18
18
19
import org.openide.filesystems.*;
19
import org.openide.filesystems.*;
20
import org.openide.util.Lookup;
20
import org.openide.util.Lookup;
21
import org.openide.util.Utilities;
21
22
22
/** Property that can hold informations about class path and
23
/** Property that can hold informations about class path and
23
* that can be used to create string representation of the 
24
* that can be used to create string representation of the 
Lines 185-196 Link Here
185
    */
186
    */
186
    public static NbClassPath createBootClassPath () {
187
    public static NbClassPath createBootClassPath () {
187
        Thread.dumpStack();
188
        Thread.dumpStack();
189
        String boot;
190
        //On VMS, fix the case of JRE path since it could be different
191
        //from the case on a physical disk
192
        if (Utilities.getOperatingSystem() == Utilities.OS_VMS)
193
            boot = FileUtil.normalizeVMSFilePaths(System.getProperty("sun.boot.class.path")); // NOI18N //isao
194
        else
195
            boot = System.getProperty("sun.boot.class.path"); // NOI18N //isao
196
        
188
        // boot
197
        // boot
189
        String boot = System.getProperty("sun.boot.class.path"); // NOI18N
190
        StringBuffer sb = (boot != null ? new StringBuffer(boot) : new StringBuffer());
198
        StringBuffer sb = (boot != null ? new StringBuffer(boot) : new StringBuffer());
191
199
192
        // std extensions
200
        // std extensions
193
        String extensions = System.getProperty("java.ext.dirs"); // NOI18N
201
        String extensions;
202
        //On VMS, fix the case of JRE path since it could be different
203
        //from the case on a physical disk
204
        if (Utilities.getOperatingSystem() == Utilities.OS_VMS)
205
            extensions = FileUtil.normalizeVMSFilePaths(System.getProperty("java.ext.dirs")); // NOI18N
206
        else
207
            extensions = System.getProperty("java.ext.dirs"); // NOI18N
194
        if (extensions != null) {
208
        if (extensions != null) {
195
            for (StringTokenizer st = new StringTokenizer(extensions, File.pathSeparator); st.hasMoreTokens();) {
209
            for (StringTokenizer st = new StringTokenizer(extensions, File.pathSeparator); st.hasMoreTokens();) {
196
                File dir = new File(st.nextToken());
210
                File dir = new File(st.nextToken());

Return to bug 48616