0

I installed the latest version of Eclipse using the installer wizard. (I was following the instructions in the following link.)

I can run eclipse from the command line as follows:

$ ~/eclipse/java-neon/eclipse/eclipse

I was wondering if I could set it up so that I can run Eclipse by just typing:

$ eclipse

However, I am not sure whether it is "better" to add the folder ~/eclipse/java-neon/eclipse/ to the PATH, or to add a symbolic link to the eclipse executable to one of the directories in the current PATH. (In case it is recommended to add a symbolic link, which of the directories is preferred?)

1
  • "Better" varies
    – muru
    May 31, 2017 at 4:32

1 Answer 1

0

You can try adding an alias in .bashrc file in the home folder alias eclipse=~/eclipse/java-neon/eclipse/eclipse

1

Not the answer you're looking for? Browse other questions tagged .