PJ'sPal

Q: 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

Close

Q: How do you Uninstall NexDef

  • All replies
  • Helpful answers

  • by PJ'sPal,

    PJ'sPal PJ'sPal May 25, 2014 3:19 PM in response to PJ'sPal
    Level 1 (59 points)
    iWork
    May 25, 2014 3:19 PM in response to PJ'sPal

    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?

  • by PJ'sPal,

    PJ'sPal PJ'sPal May 25, 2014 3:38 PM in response to PJ'sPal
    Level 1 (59 points)
    iWork
    May 25, 2014 3:38 PM in response to PJ'sPal

    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.

  • by cdsAA23,

    cdsAA23 cdsAA23 Jun 15, 2015 12:49 PM in response to PJ'sPal
    Level 1 (0 points)
    Jun 15, 2015 12:49 PM in response to PJ'sPal

    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!!!!!!

  • by CameronS00,

    CameronS00 CameronS00 Oct 25, 2015 11:57 AM in response to cdsAA23
    Level 1 (0 points)
    Oct 25, 2015 11:57 AM in response to cdsAA23

    wonderful insight! it worked perfectly! holding down the option button on the keyboard was something I never knew. I am still learning about Macs 5 years in.

     

    Thanks again

  • by meshane,

    meshane meshane Apr 29, 2016 2:28 PM in response to PJ'sPal
    Level 1 (4 points)
    Apr 29, 2016 2:28 PM in response to PJ'sPal

    Thank you Thank you Thank you Thank you. Interrupt everything every 10 seconds and repeat Thank you 1000 times until your machine crashes.

  • by Laura Olcott,

    Laura Olcott Laura Olcott Jun 27, 2016 12:07 AM in response to PJ'sPal
    Level 1 (19 points)
    Jun 27, 2016 12:07 AM in response to PJ'sPal

    Thanks a million - this was such an annoying issue. The tip on finding the hidden application support folder was super helpful!