Eclipse mars, cannot open in mac os x - eclipse

Eclipse mars, I installed it on my Mac OS X 10.11.3 it launched after finishing the installation but when I quit the app and trying to open again it cannot be opened with a dialog box message "Eclipse quit unexpectedly"

There is an alias file in the folder that is extracted. It's called eclipse with no extension. Don't click the eclipse.app icon. This worked for me because it brings up the terminal window. It says it's a unix file, just click ok and Eclipse runs perfectly. Copy that alias to the desktop not the app. I don't know why this work, but it does. FYI IntelliJ didn't have this issues.
This is for eclipse luna on a MacBook air i5 with Sierra.

Related

Can't install Eclipse on MacOS High Sierra

Trying to install Eclipse (latest version) onto MacOS High Sierra. After extracting the file "eclipse-java-luna-R-macosx-cocoa.tar.gz", I copy the resulting Eclipse folder into my Applications folder.
I then attempt to run the Eclipse application and get an error saying:
Eclipse quit unexpectedly
I have tried both the 32 and 64 bit versions of Eclipse. My Macbook Pro is a late 2015 15" edition.
I was facing the same issue on MacBook Air.
I resolved it by downloading the eclipse-installer : http://ftp.jaist.ac.jp/pub/eclipse/oomph/epp/photon/R/eclipse-inst-mac64.tar.gz
After extracting the file a .app file is created. Click on that file(it will open a app).
The app is basically a Eclipse installer.
Choose the Eclipse IDE you want to install and follow the mentioned steps.

Menu options in eclipse are disable

Options in the eclipse menu drop down are disabled like shown below.
Couldn't find a way to enable them. Is there any way other than using new eclipse instance.
I think this issue can be solved with the following:
Quit eclipse.
Open your Terminal.
Navigate to Eclipse.app/Contents/MacOS (cd Eclipse.app/Contents/MacOS).
Run ./eclipse -nl en.
Update to Eclipse Oxygen.1a (where this bug is fixed): Help > Check for Updates.
See also Eclipse announcement: Special Notice for Eclipse IDE Users on macOS 10.13 in non-English mode (which was written before Oxygen.1a was released)
For MacOS High Sierra 13.1 , this workaround works. https://bugs.eclipse.org/bugs/show_bug.cgi?id=520176#c152
1. Find java.home used by your Eclipse (look for java.home in "About Eclipse" > "Installation Details" > "Configuration")
2. If your java.home is, for example, /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre , go to /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home and create the subfolders Resources/English.lproj
3. Copy the DefaultApp.nib file from a 10.13 or older Mac to /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/Resources/English.lproj (DefaultApp.nib can be found under /System/Library/Frameworks/JavaVM.framework/Resources/en.lproj or /System/Library/Frameworks/JavaVM.framework/Resources/English.lproj on Mac OS version < 10.13.1)
For the macos versions before 10.13.1, https://www.eclipse.org/org/press-release/20170925criticalbug.php this should work

Eclipse AVRDude Error - Mac OS X Yosemite

i'm using Eclipse Indogo on Mac OS 10.10 and i'm tryig to program an avr atmega 16.
While setting up eclipse I installed all dependencies like Elcipse CDT, avr-elcipse plugin and the CrossPack AVR Development Tools.
But when I try to add a nex Programmer configuration in Eclipse->Preferences->AVRDude I get this Error:
AVRDude executable can not be found.
Cannnot run AVRDude executable.
Why is this? Seems like there is a problem running AVRDude on Yosemite?
You can change the path that the Eclipse IDE uses to execute avrdude. Click on the "Paths" tab right below "AVRDude", click on the avrdude path, edit, then choose custom.
Mine was in "/usr/local/CrossPack-AVR/bin" and that worked for me.

Why can't I copy code from Eclipse?

I've created a code and I'm trying to copy it, I don't know why but I can't copy text. not from the code nor the console.
I tried using Cmd+C and also double-click and "Copy", both of them aren't working.
I can copy using other softwares.
I now noticed that I can paste into the editor but can't copy from the editor.
I have MacBook Air with Mac OS X Yosemite and Eclipse Luna 4.4.1, thank you.

Using GGTS on Windows, can I setup the middle click button to copy and paste like that in Eclipse?

When I run Eclipse on Linux (Ubuntu), I can quickly copy and paste code using the middle click button on my mouse. Is there a way to set this up on Windows for Groovy/Grails Tool Suite (GGTS)? Thanks
Edit: If it matters any, I am running Version 3.6.0 RELEASE on Eclipse Luna 4.4