open eclipse from a terminal and pass a workspace to open
20,030
The following should do:
eclipse -data /home/user/path/to/workspace
Here a list of all eclipse command line arguments.
Alternatively, if you anyhow only have one workspace, you could select a workspace in the dialog and check the box "Use this as the default and do not ask again".
Author by
Taleev Aalam
Updated on September 18, 2022Comments
-
Taleev Aalam over 1 year
I want to open eclipse through terminal and i am able to do it, but when when eclipse starts it asks for the workspace directory attached the screenshot,and then there i have to specify it, i dont want this.
As i pass the eclipse command in the terminal, i want to pass the workspace directory along with the eclipse command followed by OK as prompt ask for it.
Thanks in advance.
-
Taleev Aalam over 6 years@guntbert no man eclipse does not work.
-
-
Taleev Aalam over 6 yearsThe -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
-
Alex over 6 yearsYes, it is eclipse specific. Link to all eclipse command line arguments added.
-
Alex over 6 yearsWould you mind to accept my answer if it solves your problem ?