-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
which check #667
Comments
Hi, thanks for feedback! Which... eh... what system did you use? ;-)
|
maybe `which` command could be replaced (or boosted) with UNIX standard `type` or rather
`command -v`, as suggested here:
https://unix.stackexchange.com/questions/126134/is-there-an-alternative-to-the-which-command
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html#
could you confirm, that `command -v java` gives a proper java executable on
your platform?
|
Thank you pretty much
commnad outputs the same as which |
nice, that could be the solution!
unfortunately, `command` command doesn't work on debian, so it will be
rather some ifs than just replacement.
but android is worth of that.
|
try this fix: |
would you write just a few lines mini-howto on how you did get it run on android? so we could put it as an instruction in the documentation... |
Sure thing okubaca First download and install termux app in your android device from this link (choose your proper processor architecture) https://github.com/termux/termux-app/releases Second open the app and update the repositories and install the latest Java and requirements with this command:
Then clone the repository and build the application:
To start YaCy, run Stop YaCy on the console with Here it is a quick guide. I hope is cool. Have an awesome day. |
oh, great, thanks, that's comprehensive!
i'm sure, it will help other android/people!
|
no problem |
android installation guide docs PR: yacy/yacy_net_homepage#41 which issue fixed in PR: #670 thanks @jzacman ! |
Hi, I have installed yacy in my system but when I tried to run the startYacy.sh file It always returned a message saying that my Java installation was not in PATH. After reinstalling my Java and made sure it was in PATH I studied the .sh file itself and I noticed that it was using the command which. To my surprise I didn't have which installed and that was the hole issue. Once I installed it all worked fine. So my Request is to add a check to the executable to verify if which is installed.
Please.
Salutations.
The text was updated successfully, but these errors were encountered: