Mac M1 chip machine, Mac OS BigSur Version 11.5.1 having problem with eclipse app. Its not opening after restarting machine - eclipse

I Installed eclipse on my new mac m1 chip machine, It was working fine until I restart my machine. After restart the machine, the eclipse app is not opening also no error is shown in the display..
I am trying to open the app in terminal I am getting the following error
rosetta error: /var/db/oah/223263137464320_223263137464320/27e2cf6e452a44ee1a3ccc20e0409d562f65d18f27dd9ff3ebd552b78e52a4e3/eclipse.aot: attachment of code signature supplement failed: 3 Trace/BPT trap: 5
the solution giving in this is to upgrade the OS, but I already upgraded to the new OS version.
I can't find a solution anywhere, even in Apple forum sites

I faced a similar issue today. In my case, I'm using Anypoint Studio, which is built on top of Eclipse 4.19. After updating the OS, it worked again.

Related

Eclipse cant be opened on mac m1

I have installed eclipse aarch64 based on my mac m1.
it was working fine. later i stopped using it for few days but i was just opening and closing it just to make sure it is not crashing as it used to happen with x64 version.
Now even with aarch it is crashing.
As soon as i open it via launch pad it says 'The apllication 'Eclipse'can't be opened.
Here are the details of eclipse and jdk version that i am currently using.
Eclipse: eclipse-java-2021-12-R-macosx-cocoa-aarch64
Jdk: jdk-17_macos-aarch64_bin
I've just had the same problem on the second launch of Eclipse from a fresh installation. The solution was to re-sign the app with an ad-hoc signature:
sudo codesign --force --deep --sign - /Applications/Eclipse.app

Visual Studio Code on Mac Sierra 10.12.5

I am using a Mac OS Sierra 10.12.5 (16F73)- Macbook Pro touch pad. I have tried running Visual Studio Code to no avail. Nothing happens, no error message, nothing. It just won't start. I have read articles or using Mac Archive Utility to unzip the downloaded zip file, i still can't get it to run. Has anyone got a solution to this?
Many thanks!
I'm also using Mac OS 10.12.5 with a Macbook Pro and recently installed vscode.
Try to redownload the file or maybe restart your computer, you shouldn't have any problems with the installation.

android emulator launch failed. emulator64-arm : BAD CPU Type in executable

Yesterday I decided to start developing Android in my mac (Snow Leopard 10.6.8) 32-bit.
Everything was ok, i also imported my workspace which i worked in Linux for months. I open a project and compiles perfectly.
When i try to run the project it gives me this error :
"...android/sdk/tools/emulator64-arm : BAD CPU Type in executable"
I am using eclipse juno for mobile developers and downloaded the latest android sdk for mac
It looks like a 32-bit 64-bit issue. But i couldnt solve it yet.
Anyone had the same issue ?
I already found the problem.
Under the directory, android-sdk/tools/, i deleted every executable related to 64-bit system. Those files are :
emulator64-arm , emulator64-x86 etc.
Then relaunch the project and now it is working like a charm.
Hopefully this helps to anyone who suffers from the same issue.

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.
$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164
Segmentation fault
However, it runs successfully as the super user
$ sudo ./eclipse
Password:
This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.
Any ideas?
Thanks
Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.
In my case, I got this error trying to start Eclipse
Segmentation fault: 11
.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.
I would try re-installing Java. The Apple installer might thwart you, but this can help get past it.
I'd suggest getting the Java Developer package from Apple, as it includes Javadoc and source for the core libraries.

Problem connecting real Android device to Eclipse

I just got a new computer and am trying to set up my developing environment but I'm having trouble getting eclipse to connect with my phone. I have a HTC Aria android device and I was able to use it with eclipse on my old Windows XP computer. On my new Windows 7 64bit computer though, its not working.
When I run my program, I see my HTC device in the device chooser, however, its state is "offline" and it randomly disappears then reappears. I can select it, but I cannot push "OK" to run on the device. I've tried reinstalling my driver and updating it through HTC's website, but nothing has changed.
Any ideas?
I ended up reinstalling my OS, installing Eclipse Indigo 64bit, and then installing my phone driver. Works perfectly now. Have no idea what was wrong before