open eclipse from a terminal and pass a workspace to open

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












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.



enter image description here



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.







share|improve this question






















  • Did you look at man eclipse?
    – guntbert
    Jan 3 at 14:37











  • @guntbert no man eclipse does not work.
    – Taleev Aalam
    Jan 3 at 14:55














up vote
1
down vote

favorite












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.



enter image description here



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.







share|improve this question






















  • Did you look at man eclipse?
    – guntbert
    Jan 3 at 14:37











  • @guntbert no man eclipse does not work.
    – Taleev Aalam
    Jan 3 at 14:55












up vote
1
down vote

favorite









up vote
1
down vote

favorite











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.



enter image description here



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.







share|improve this question














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.



enter image description here



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.









share|improve this question













share|improve this question




share|improve this question








edited Jan 5 at 14:12









Alex

3721414




3721414










asked Jan 3 at 14:09









Taleev Aalam

114




114











  • Did you look at man eclipse?
    – guntbert
    Jan 3 at 14:37











  • @guntbert no man eclipse does not work.
    – Taleev Aalam
    Jan 3 at 14:55
















  • Did you look at man eclipse?
    – guntbert
    Jan 3 at 14:37











  • @guntbert no man eclipse does not work.
    – Taleev Aalam
    Jan 3 at 14:55















Did you look at man eclipse?
– guntbert
Jan 3 at 14:37





Did you look at man eclipse?
– guntbert
Jan 3 at 14:37













@guntbert no man eclipse does not work.
– Taleev Aalam
Jan 3 at 14:55




@guntbert no man eclipse does not work.
– Taleev Aalam
Jan 3 at 14:55










1 Answer
1






active

oldest

votes

















up vote
2
down vote













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".






share|improve this answer






















  • The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
    – Taleev Aalam
    Jan 4 at 5:37










  • Yes, it is eclipse specific. Link to all eclipse command line arguments added.
    – Alex
    Jan 5 at 8:01











  • Would you mind to accept my answer if it solves your problem ?
    – Alex
    Jan 5 at 15:24










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414544%2fopen-eclipse-from-a-terminal-and-pass-a-workspace-to-open%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













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".






share|improve this answer






















  • The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
    – Taleev Aalam
    Jan 4 at 5:37










  • Yes, it is eclipse specific. Link to all eclipse command line arguments added.
    – Alex
    Jan 5 at 8:01











  • Would you mind to accept my answer if it solves your problem ?
    – Alex
    Jan 5 at 15:24














up vote
2
down vote













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".






share|improve this answer






















  • The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
    – Taleev Aalam
    Jan 4 at 5:37










  • Yes, it is eclipse specific. Link to all eclipse command line arguments added.
    – Alex
    Jan 5 at 8:01











  • Would you mind to accept my answer if it solves your problem ?
    – Alex
    Jan 5 at 15:24












up vote
2
down vote










up vote
2
down vote









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".






share|improve this answer














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".







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 5 at 8:00

























answered Jan 3 at 16:00









Alex

3721414




3721414











  • The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
    – Taleev Aalam
    Jan 4 at 5:37










  • Yes, it is eclipse specific. Link to all eclipse command line arguments added.
    – Alex
    Jan 5 at 8:01











  • Would you mind to accept my answer if it solves your problem ?
    – Alex
    Jan 5 at 15:24
















  • The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
    – Taleev Aalam
    Jan 4 at 5:37










  • Yes, it is eclipse specific. Link to all eclipse command line arguments added.
    – Alex
    Jan 5 at 8:01











  • Would you mind to accept my answer if it solves your problem ?
    – Alex
    Jan 5 at 15:24















The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
– Taleev Aalam
Jan 4 at 5:37




The -data command you are passing is it eclipse specific terminal command, any relevant resource regarding this answer would be good.
– Taleev Aalam
Jan 4 at 5:37












Yes, it is eclipse specific. Link to all eclipse command line arguments added.
– Alex
Jan 5 at 8:01





Yes, it is eclipse specific. Link to all eclipse command line arguments added.
– Alex
Jan 5 at 8:01













Would you mind to accept my answer if it solves your problem ?
– Alex
Jan 5 at 15:24




Would you mind to accept my answer if it solves your problem ?
– Alex
Jan 5 at 15:24












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414544%2fopen-eclipse-from-a-terminal-and-pass-a-workspace-to-open%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?