How do you Uninstall NexDef
I just upgraded to Mavericks. I know I am late doing so.
I am getting a popup window asking me to download Java SE runtime so the NexDef can function.
I hit the cancel button and a few seconds later the same window appears.
I searched the hidden application support folder for NexDef application support and it did not exist.
I probably dedlted it earlier when I was running Mountain Lion.
I can't find the unstiall command that everyone keeps referring to in the NexDef application support folder.
I found an installer for NexDef and reinstalled it on my Mountain Lion drive to see if the uninstall command would show.
It did not but the application support folder was present with a file NexDef.app.
I checked its package contents for the heck of it and found a shell script "uninstall.sh". However it was not in command form.
The shell script is found below. I can read through some of this but was wondering if someone can point out to me how to generate a command from a shell script or should I just manually remove things.
Is this loading command "eval launchctl remove com.mlbam.nexdef.core.NexdefLoader" causing the popup window to occur?
If so where is it in Mavericks can I delete it. I have searched using spotlight, finder, and cannot locate it.
Thanks.
#!/bin/sh
#------------------------------------------------------------------
# Variables
userDir=$HOME
echo "Starting Nexdef-Uninstaller"
uninstallBundle()
{
bundleName=$1 # $1 - Bundle filename
installationFolder=$2 # $2 - Bundle installation path (without bundle name)
installedBundlePath=$installationFolder"/"$bundleName
installedBundleInfoPlistDomain=$installedBundlePath"/Contents/Info"
installedBundleInfoPlistFile=$installedBundleInfoPlistDomain".plist"
if [ -e "$installedBundleInfoPlistFile" ]; then
installedBundleVersion=$(eval defaults read \"$installedBundleInfoPlistDomain\" CFBundleVersion)
echo "Nexdef-Uninstaller: Nexdef Version "$installedBundleVersion" will be uninstalled."
temprary_directory="/private/tmp/"$bundleName
eval rm -fR \"$temprary_directory\"
eval chmod -R 777 \"$installedBundlePath\"
eval mv \"$installedBundlePath\" \"$temprary_directory\"
eval rm -fR \"$temprary_directory\"
if [ -e "$installedBundleInfoPlistFile" ]; then
echo "Nexdef-Uninstaller: Failed to uninstall Nexdef"
else
echo "Nexdef-Uninstaller: Uninstall Complete"
fi
else
echo "Nexdef-Uninstaller: Nexdef is not installed"
fi
}
#------------------------------------------------------------------
# Trying to stop Service
eval launchctl remove com.mlbam.nexdef.core.NexdefLoader
#------------------------------------------------------------------
# Uninstalling files...
# Uninstalling Nexdef.app
uninstallBundle "Nexdef.app" $userDir"/Library/Application Support/Nexdef/"
Mac Pro, OS X Mountain Lion (10.8.2)