Still thank you, ... it works now.
But I have still another (little) problem:
To change the path, I wrote in the directory /etc/profile.d, a shell script
with this content:
---
PATH=$PATH:/opt/netbeans/java/maven/bin
export PATH
-----
I don't understand because the output of the command echo $PATH is now;
--------
/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:
*/opt/netbeans/java/maven/bin*:/*opt/netbeans/java/maven/bin*
-------
the PATH of "maven" is added two times...
what is the reason ???
On Tue, Mar 24, 2020 at 6:12 PM Angelo Moreschini <mrangelo.fedora(a)gmail.com>
wrote:
OK,
you are right :-)
thank you
On Tue, Mar 24, 2020 at 5:29 PM Mike Wright <nobody(a)nospam.hostisimo.com>
wrote:
> On 3/24/20 8:11 AM, Angelo Moreschini wrote:
> > hi
> > I have a strange problem ...
> >
> > On my computer "maven" (an IDE for developent in java language) is
> > installed in the directory: "/ opt / netbeans / java / maven / bin /
> mvn".
> >
> > And I can run it (maven) by giving its full path from the command line.
> >
> > I wanted to modify the PATH variable to use the simple name of the
> program
> > "mvn".
> >
> > I did it and actually I get this output for the command :
> > -------
> > angelo_dev @ pluto: echo $ PATH:
> > / Usr / share / Modules / bin: / usr / local / bin: / usr / local /
> sbin: /
> > usr / bin: / usr / sbin: / opt / netbeans / java / maven / bin / mvn.
>
> Salve Angelo,
>
> There is an error in the maven portion of the path: it ends in mvn. It
> is supposed to end in bin.
>
> Mike Wright
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>