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.
# attempt to delete a leftover from crashed instance which happened to have the
# same PID
rm -f ${nbenvfile}
rm -f "${nbenvfile}"
# if ${nbenvfile} already exists there is a possibility that it is a leftover
# after another instance of this script crashed and the owner of the file can
while [ -f "$nbenvfile" ]
do
nbenvfile=${nbenvfile}X
nbenvfile="${nbenvfile}X"
done
# #30621: handle embedded newlines in values, if possible.
#
eval ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\"" -Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \
-Dnetbeans.osenv="${nbenvfile}" -Dnetbeans.osenv.nullsep=${nbenvnullsep} \
-Dnetbeans.osenv="\"${nbenvfile}\"" -Dnetbeans.osenv.nullsep=${nbenvnullsep} \
$jargs org.netbeans.Main $args
exitcode=$?