Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lombok installer cannot find eclipse MARS on Mac OS X 10.10 #864

Open
lombokissues opened this issue Jul 14, 2015 · 21 comments
Open

Lombok installer cannot find eclipse MARS on Mac OS X 10.10 #864

lombokissues opened this issue Jul 14, 2015 · 21 comments

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 829)

@lombokissues
Copy link
Author

👤 fmccabe@instartlogic.com   🕗 Jun 25, 2015 at 18:33 UTC

Please discuss feature requests first on
https://groups.google.com/forum/﹟!forum/project-lombok

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

@lombokissues
Copy link
Author

👤 reinierz   🕗 Jun 29, 2015 at 22:13 UTC

Works just peachy on my mac.

Will be marked as invalid-wontfix without further feedback on July 12th, 2015.

@lombokissues
Copy link
Author

👤 fmccabe@instartlogic.com   🕗 Jun 29, 2015 at 23:01 UTC

Well, it does NOT work on my mac.

@lombokissues
Copy link
Author

👤 fmccabe@instartlogic.com   🕗 Jun 29, 2015 at 23:35 UTC

When I try to install lombok, it cannot 'find' eclipse. I think that this may have something to do with the change in folder structure for Eclipse MARS. In Luna, and prior, the Eclipse.app was a sub-directory of the eclipse folder. In Mars this has been inverted. Whatever the reason, lombok won't install on my mac.

@lombokissues
Copy link
Author

👤 nachokruss   🕗 Jul 08, 2015 at 15:20 UTC

+1 installer doesn't work with mars under Mac OSX.

@lombokissues
Copy link
Author

👤 fmccabe@instartlogic.com   🕗 Jul 08, 2015 at 16:05 UTC

There is a way ... when the installer asks you for the IDE installation, locate the eclipse.ini file. That seems to work. It is not eclipse's executable of course ...

@lombokissues
Copy link
Author

End of migration

@jbcpollak
Copy link

Agreed, I have this problem as well. When I clicked "Specify location', the file browser would not let me accept the 'Eclipse.app' file, instead it opened as if it was a folder. I had to browse to the eclipse.ini file. I have Eclipse installed in a non-standard location, so I didn't expect lombok to find it, but I did expect it to recognize the package.

@marcelstoer
Copy link

+1

@kftweddle
Copy link

I got it to install in eclipse.ini, but eclipse -clean reports:

Error opening zip file or JAR manifest missing : lombok.jar

Error occurred during initialization of VM

...after which it fails to launch.

And the JAR file does appear to have a proper manifest.

@vijaydev
Copy link

I was using lombok 1.12 with Eclipse Mars and had the same problem. I copied the jar manually into /Applications/Eclipse.app/Contents/MacOS as lombok.jar and then Eclipse started fine.

But then, I saw http://stackoverflow.com/a/22332248/27474 and decided to try with the latest lombok (1.16.6) and it worked perfectly with Mars.

@cristcost
Copy link

Never mind! It is my fault I renamed Eclipse.app, that is the reason it does not find my Mars installation

Launching the installer on my mac only finds installation of Eclipse Luna and Kepler:

schermata 2016-01-21 alle 17 37 52

Googling I've found that in order to have the installer see the installation of Eclipse Mars, you need to navigate to the "eclipse.ini" file in the Eclipse.app/Contents/Eclipse folder.
schermata 2016-01-21 alle 17 38 26

Then the installer would work:
schermata 2016-01-21 alle 17 38 41

Maybe something has changed on the layout of the mac application of eclipse.

It would be nice if in the next version of the installer it is able to recognize also Eclipse Mars installations.

@jingxuan1990
Copy link

it doesn't work. i can't install it for my eclipse neno.

@gigaSproule
Copy link

Finding the .ini file works for me with neon

@ghost
Copy link

ghost commented Oct 10, 2016

Hi.
I succeeded adding lombok after selecting eclipse.ini in the lombok installer.
Eclipse, however, cannot start up , saying like below.

[Error Message]
$ ./Contents/MacOS/eclipse -clean
Error occurred during initialization of VM
Could not find agent library instrument on the library path, with error: dlopen(libinstrument.dylib, 1): image not found
$

[My environment]
OS : MacOS EI Caption
Eclipse : Neon.1 Release(4.6.1)

[eclipse.ini]
-vmargs
-Dosgi.requiredJavaVersion=1.8
~~
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-javaagent:../Eclipse/lombok.jar

NOTE: Definitely lombok.jar exist there.(../Eclipse/lombok.jar)

If you could help me, it would be great.

@bittracer
Copy link

@gigaSproule Can you elaborate as I am on Mac and using neon, it does not work.

@rspilker
Copy link
Collaborator

Can you please try the instructions on stackoverflow and report if they work for you?

@gigaSproule
Copy link

gigaSproule commented Feb 22, 2017

@bittracer If you run the jar, then click Specify location.... In the file dialogue, find your Eclipse installation (Eclipse.app), go into it, then go into Contents > Eclipse and open eclipse.ini. For example, my ini file is in /Applications/eclipse/jee-neon/Eclipse.app/Contents/Eclipse/eclipse.ini. That should be it.

@rspilker
Copy link
Collaborator

rspilker commented Feb 22, 2017

Neon on Mac should be found automatically from the next release: ad4bd36

But currently not if the path contains just jee-neon; changing that to eclipse-jee-neon would help.

@bittracer
Copy link

It worked in eclipse Luna on Mac OS Sierra.@gigaSproule I although tried the same for Eclipse Neon.2 & it seems no success. I have also given absolute path for lombok.jar yet, it did not worked on Mac. @rspilker Will wait until next release & till then I am good to go with Luna.

Thanks for Quick Response !

@rspilker rspilker reopened this Dec 11, 2017
@rspilker
Copy link
Collaborator

I see that you're using the oomph installer. We did encounter some problems with it. So from the next release on, we'll always specify an absolute path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants