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

(-)NbTopManager.java (-1 / +7 lines)
Lines 42-47 Link Here
42
import org.openide.nodes.*;
42
import org.openide.nodes.*;
43
import org.openide.util.lookup.*;
43
import org.openide.util.lookup.*;
44
import org.openide.windows.WindowManager;
44
import org.openide.windows.WindowManager;
45
import org.openide.filesystems.FileUtil;
45
46
46
import org.netbeans.core.actions.*;
47
import org.netbeans.core.actions.*;
47
import org.netbeans.TopSecurityManager;
48
import org.netbeans.TopSecurityManager;
Lines 116-122 Link Here
116
        String jdkHome = System.getProperty("jdk.home");  // NOI18N
117
        String jdkHome = System.getProperty("jdk.home");  // NOI18N
117
        
118
        
118
        if (jdkHome == null) {
119
        if (jdkHome == null) {
119
            jdkHome = System.getProperty("java.home");  // NOI18N
120
            //On VMS, fix the case of java.home path since it could be different
121
            //from the case on a physical disk
122
            if (Utilities.getOperatingSystem() == Utilities.OS_VMS)
123
                jdkHome = FileUtil.normalizeVMSFilePath(System.getProperty("java.home"));  // NOI18N//isao
124
            else
125
                jdkHome = System.getProperty("java.home");  // NOI18N//isao
120
            
126
            
121
            if (Utilities.getOperatingSystem() != Utilities.OS_MAC) {
127
            if (Utilities.getOperatingSystem() != Utilities.OS_MAC) {
122
                jdkHome += File.separator + "..";  // NOI18N
128
                jdkHome += File.separator + "..";  // NOI18N

Return to bug 48616