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.
import org.openide.nodes.*;
import org.openide.util.lookup.*;
import org.openide.windows.WindowManager;
import org.openide.filesystems.FileUtil;
import org.netbeans.core.actions.*;
import org.netbeans.TopSecurityManager;
String jdkHome = System.getProperty("jdk.home"); // NOI18N
if (jdkHome == null) {
jdkHome = System.getProperty("java.home"); // NOI18N
//On VMS, fix the case of java.home path since it could be different
//from the case on a physical disk
if (Utilities.getOperatingSystem() == Utilities.OS_VMS)
jdkHome = FileUtil.normalizeVMSFilePath(System.getProperty("java.home")); // NOI18N//isao
else
jdkHome = System.getProperty("java.home"); // NOI18N//isao
if (Utilities.getOperatingSystem() != Utilities.OS_MAC) {
jdkHome += File.separator + ".."; // NOI18N