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.
-- Base (BASE)
++ Locally Modified (Based On LOCAL)
import org.netbeans.installer.utils.system.launchers.LauncherResource;
import org.netbeans.installer.utils.system.launchers.impl.CommandLauncher;
import org.netbeans.installer.wizard.components.WizardAction;
import static org.netbeans.installer.wizard.components.actions.CreateNativeLauncherAction.BUNDLED_JVM_FILE_PROPERTY;
/**
*
LauncherResource.Type.RELATIVE_LAUNCHER_PARENT.
getPathString("../Resources/" + iconName));
if (System.getProperty(BUNDLED_JVM_FILE_PROPERTY) != null) {
final LauncherResource jvm = new LauncherResource(
new File(System.getProperty(BUNDLED_JVM_FILE_PROPERTY)));
properties.addJVM(jvm);
properties.getJvmArguments().add(
"-D" + BUNDLED_JVM_FILE_PROPERTY + "="
+ jvm.getAbsolutePath());
}
File file = SystemUtils.createLauncher(properties, platform, progress).
getOutputFile();