Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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)

Posted on May 25, 2014 2:12 PM

Reply
6 replies

May 25, 2014 3:19 PM in response to Lukcresdera

In the Console app, the Nexdef loader is trying to start every 10 seconds:


5/25/14 11:33:01.859 AM com.apple.launchd.peruser.502[389]: (com.mlbam.nexdef.core.NexdefLoader[5594]) Exited with code: 97

5/25/14 11:33:01.859 AM com.apple.launchd.peruser.502[389]: (com.mlbam.nexdef.core.NexdefLoader) Throttling respawn: Will start in 10 seconds.


Where is this NexdefLoader that it wants to start running so I can delete it?

May 25, 2014 3:38 PM in response to Lukcresdera

OK. I found the NexdefLoader.


It is in the LaunchAgents folder under the "hidden" user library.

Use the Go menu in finder with the "option" button on keyboard to see it.


Deleting this NexdefLoader should help a lot.


After deleting the NexDefLoader launch agent I have to restart for it to become effective.

After restart, I no longer have this query asked every 10 seconds.

Jun 15, 2015 12:49 PM in response to Lukcresdera

THANK YOU FOR DISCOVERING THIS SOLUTION AND POSTING!!


It worked like a charm on my 2011 17" MacBook Pro.


That stupidly incessant pop-up error message about "can't run java application" was driving me up the wall. When I looked in my diagnostics, every line was about swarmcast.nexdefautobahn and I was pulling my hair out trying to find that anywhere on my Mac.


Turns out it was deeply and secretly buried away inside that very hidden library folder you mentioned accessing.


Thank you. Thank you. Thank you. Thank you. Thank you. THANK YOU!!!!!!

How do you Uninstall NexDef

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.