I just installed xcode 4.3, since they moved filemerge application inside xCode package. filemerge is not working through svnX app(I have set default application as filemerge in svnX) to find the difference. How to fix this one(Xcode4.3 + svnX + filemerge)?
It appears that the system does not know about the new path to the Developer directory. I executed the following command in Terminal and restarted svnX. This did the trick.
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/
After installing the Xcode 4.3 all the utilities apps are moved in the Xcode.app folder in the applications. just do a "Show Package Contents" and navigate to :
/Applications/Xcode.app/Contents/Applications and you'll find it there, u can drag it to your dock back again
Related
On the OSX Finder right-click (control-click) menu, I see:
Selecting older versions actually seems to run the older version.
I have only one package, named "Visual Studio Code.app", in the usual Applications folder.
I did previously have the Insiders build installed for testing, in case that's a factor.
Is there any way to clean up / remove older versions?
I found a workaround here.
The command
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user took a few seconds to run.
On restarting the Mac, the duplicates were gone.
MacOS 11.6.7.
On Mac (Big Sur) when I click on the Netbeans 12 icon in the doc it bounces briefly then fails to launch Netbeans.
The answer helped me launch Netbeans from the terminal. I added this change to make my dock icon launch Netbeans like before.
I changed the Netbeans config file to make it launch with the Java path:
Like the previous post indicates find your JDK path with this command in the Terminal
/usr/libexec/java_home -v '1.7*'
Now add this path to the Netbeans conf file. To do this:
right click on the Netbeans icon in the dock and select Open in Finder
in the smaller icon it shows right click again and select Show sources
find the netbeans.conf file in folder Resources/NetBeans/netbeans/etc/netbeans.conf
open this netbeans.conf file with a TextEditor or similar and find the line
#netbeans_jdkhome="/path/to/jdk"
Uncomment this line and change it for your path (the one you found in point 1)
something like
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home"
Save the netbeans.conf file and try and launch from the Dock icon
If you right click on the icon in the dock --> Options --> Show in Finder the operating system will show you where 'Apache Netbeans 12.0' is located.
Highlight 'Apache Netbeans 12.0' then right-click and choose 'Show Package Contents', then you can find a shortcut that launches Netbeans (Contents/MacOS/netbeans).
If you double-click to launch netbeans you'll be presented with the following reason why it fails to load.
/Applications/NetBeans/Apache\ NetBeans\ 12.0.app/Contents/Resources/NetBeans/netbeans/bin/netbeans ; exit;
rob#Robs-MBP-2015 ~ % /Applications/NetBeans/Apache\ NetBeans\ 12.0.app/Contents/Resources/NetBeans/netbeans/bin/netbeans ; exit;
The operation couldn’t be completed. Unable to locate a Java Runtime that supports (null).
Please visit http://www.java.com for information on installing Java.
Cannot find java. Please use the --jdkhome switch.
Credit goes to How can I change Mac OS's default Java VM returned from /usr/libexec/java_home for providing the following step to determine what the JDK path is...
/usr/libexec/java_home -v '1.7*'
Then you can type the following (adjust for your path and version required)
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home"
However that didn't seem to do the trick for me (I also tried JDK_HOME), so instead from a Terminal window type the command to launch Netbeans but include the --jdkhome to your Java home folder, e.g.
/Applications/NetBeans/Apache\ NetBeans\ 12.0.app/Contents/Resources/NetBeans/netbeans/bin/netbeans --jdkhome /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
Now I have Netbeans launching again. I'm not quite sure why the JAVA_HOME doesn't resolve this, but hopefully in the meantime anyone unable to launch Netbeans can at least use this workaround.
I've also found this How to run a shell script in OS X by double-clicking? useful to ensure I can double-click on the shell script to run it from a shortcut on my desktop.
For some reason, some Netbeans versions for Mac OS do not detect the JDK contained in JRE. For proper installation and running the application,you must have Java for Mac OS installed previously.
https://www.java.com/es/download/
I had the same issue after upgrading to macOS Big Sur from Mojave.
Before running commands in terminal, you could just try to reinstall Java for Mac OS X :
https://www.java.com/en/download/
It solves my issue. I am now able to launch NetBeans 12.1
I just updated my MBP to OSX 10.8 and am trying to start a new project with brunch.io which by default uses coffeescript and I prefer javascript so I need to clone the simple js skeleton. So something like this:
brunch new <someprojectname> --skeleton https://github.com/brunch/simple-js-skeleton.git
Which is what I have used previously and it worked fine. But today I am getting the following error:
error: Git clone error: /bin/sh: git: command not found
I really don't know how to fix this...
You can download Apple's official collection of developer command line utilities (which includes git) by either:
Opening Xcode, going to Preferences > Downloads and clicking the install button next to 'Command Line Utilities'
Going to developer.apple.com/downloads, and downloading "Xcode 4.4 Command Line Tools for OSX 10.8" from the Xcode 4.4 category
Check your .bashrc or .bash_profile if the appropiate PATH is set. Did you install git via macports? The update probably dropped the /opt/bin or /opt/local/bin from the PATH.
I got everything working again. Apparently the update to Mountain Lion dropped git altogether. Simply downloading the install package from here and running it has everything working again.
YOu have to change your security settings go to System Preferences > Security and Privacy > Change Allow Applications downloaded from --> Anywhere. There is a chance your security settings would be locked in that case press the lock at the bottom left on the pref pane.
Based on this article:
open your ~/.bash_profile, if you use nano it would be :
$ sudo nano ~/.bash_profile
add this line to the file:
export PATH=$PATH:/usr/local/git/bin/
Save & close the file and type on the terminal:
$ source ~/.bash_profile
I tried to install cocos2d framework to my xcode but I can't. I have Xcode version 3.2.5, cocos2d framework version 0.99.5, and iOS version 4.2.
I opened the terminal and entered
$ sudo /mac2/cocos2d-iphone-0.99.3/install-templates.sh
Terminal asks me for my password and I enter it. Everything seems going well; the terminal displayed "done". When I open Xcode, I do not see any cocos2d project in user templates (I do not see user template section in the new project list).What is the problem?
sudo ./install-templates.sh
means to install for system wide. The template would appear in the system wide section.
For as user template, use -u option.
./install-templates.sh -u
This is a duplicate of :
How to install Cocos2d PROJECT templates in Xcode 4?
The solution is that you have to get the latest from github in order to get xcode 4 templates.
The solution link is here:
http://www.cocos2d-iphone.org/forum/topic/13782/page/2#post-82267
The github link is:
https://github.com/cocos2d/cocos2d-iphone.git
I just verified this works.
I only use ./install-templates.sh -u -f and it works for me.
Do this:
In finder, go to your hard drive,
Go to Developer => Library and drag the cocos2d folder into this folder,
Next, open terminal, type cd , and drag the cocos2d folder into the terminal window.
Now do sudo ./install-templates.
That should work.
After, restart xcode.
Hope that helps.
sudo ./install-templates.sh -u -f
Don't forget the -f
I'm running Eclipse SDK 3.4.0 on Mac OS X 10.5.6.
Every time I try to install something new through "software updates", the message "The software items you selected may not be valid with your current installation" shows up.
So I'm going to uninstall it and re-install Eclipse.
Should I just erase the Eclipse folder or is there a way to uninstall it?
Actually Eclipse does create some other files not within it's directory which survive deleting it's directory.
In Snow Leopard, look in your user's account under:
~/Library/Caches/org.eclipse.eclipse
~/Library/Preferences/org.eclipse.eclipse.plist
Not sure if you need to turn on viewing of hidden files to see those.
Under Lion I deleted the following files and folders:
eclipse in /Applications (obviously)
.eclipse in ~
.eclipse_keyring in ~
org.eclipse.eclipse in ~/Library/Caches
org.eclipse.eclipse.savedState in ~/Library/Saved Application State/
Some of them are hidden so you should delete them via Terminal.
Here is my list of things to delete for OSX Mountain Lion
~/.eclipse (folder);
~/Library/Saved Application/org.eclipse.eclipse.savedState;
~/Library/Preferences/org.eclipse.eclipse.plist;
~/Library/Caches/org.eclipse.eclipse;
... and of course the eclipse install folder
No need to uninstall anything, you can just delete the eclipse/ folder, but you should also use a fresh workspace or delete the workspace/.metadata folder.
In my case with High Sierra, apart from the eclipse folder, I deleted also:
~/.eclipse
~/.p2/pool/plugins/org.eclipse.*
~/.p2/pool/.eclipseextension/
~/.p2/org.eclipse.equinox.p2.repository/
~/.p2/org.eclipse.equinox.p2.engine/
~/.p2/org.eclipse.equinox.p2.core/
From terminal, find all eclipse directories with
sudo find / -iname "Eclipse"
Delete those directories with rm command.
Deleting the eclipse folder is equivalent to uninstalling it. In fact, if you don't want to tamper with the existing installation you can create another instance of eclipse and run from the new location.
Eclipse has no impact on Mac OS beyond it directory, so there is no problem uninstalling.
I think that What you are facing is the result of Eclipse switching the plugin distribution system recently. There are now two redundant and not very compatible means of installing plugins. It's a complete mess. You may be better off (if possible) installing a more recent version of Eclipse (maybe even the 3.5 milestones) as they seem to be more stable in that regard.
I know this thread is too old but recently I was wondering how to delete eclipse app on my MacBook Pro running macOS High Sierra.
Bellow are the steps which I followed to delete it from my system. Added screenshots for more clear understanding.
Open the eclipse app and it will show an app icon in dock. If it is not already present in dock then please try to run the app from Spotlight Search by pressing ⌘ + space.
Now right click on that eclipse logo from dock and click Show in Finder under Options.
It will open the location of the eclipse app in an external finder window.
You can just delete the entire root directory (i.e. - eclipse) by pressing ⌘ + delete.
Don't forget to delete the app from Trash as well if you are removing it from system completely.
Thanks. Hope this helped.
BTW. AppZapper is a great OSX tool for uninstalling apps and their preferences.
It sometimes comes a part of MacHeist
For BigSur, I did follow considering all the above.
Remove from Applications folder
rm -rf ~/.eclipse/
rm -rf ~/.p2/pool/
rm -rf ~/.p2/org.eclipse.equinox.p2.repository/
rm -rf ~/.p2/org.eclipse.equinox.p2.engine/
rm -rf ~/.p2/org.eclipse.equinox.p2.core/
rm -rf ~/Library/Caches/org.eclipse.platform.ide/
rm ~/Library/Preferences/org.eclipse.oomph.setup.installer.product.with-jre.restricted.plist
rm ~/Library/Preferences/org.eclipse.platform.ide.plist
rm -rf ~/Library/Saved\ Application\ State/org.eclipse.oomph.setup.installer.product.with-jre.restricted.savedState/
rm -rf ~/Library/Saved\ Application\ State/org.eclipse.platform.ide.savedState/
I just had a similar problem, with the GWT-PlugIn not showing up in the interface.
Deleting the eclipse folder did not solve it, GWT was still there!
Deleting workspace didn't work!
But deleting the .eclipse folder in the home directory did!
I'm working under WIndows 7 here, but it should be the same with OSX. But you may have to make the folder visible first. Under linux based system, folders starting with a dot are invisible by default.
This folder was probably the reason I had problems in the first place. If I remember right, I switched from basic Eclipse to EE, but didn't delete this folder.
In my opinion, an uninstall skript would do Eclipse quite good.
Just delete the eclipse folder wherever it is