You are not logged in.
When I did a yaourt -S davmail, it wanted to download some dependencies,
Targets (6): ca-certificates-java-20120225-1 java-jline-1.0-1 java-rhino-1.7R3-3 jre7-openjdk-headless-7.b147_2.1-3 rhino-1.7R3-3 jre7-openjdk-7.b147_2.1-3
After I had installed all the dependencies and tried to run davmail I got the error:
/usr/bin/davmail: line 7: /bin/java: No such file or directory
Line 7 in the davmail.sh looks like this:
"$JAVA_HOME/bin/java" -cp $CP davmail.DavGateway $1"
What I did was that I changed the $JAVA_HOME/bin/java" to this:
$JAVA_HOME/usr/bin/hava"
Now davmail starts correctly.
Just wanted to share this if anyone else would end up with the same problem.
Last edited by zyke (2012-05-10 01:03:50)
Offline
Thanks. You may want to put a comment on the AUR page for that package. The owner will get an email notifying him of the problem.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
The problem is that you have to relogin to get JAVA_HOME set correctly globally. This happens for all packages that contain a script in /etc/profile.d/ after the installation.
/e: You solution will not work anymore, when you logout.
Last edited by xduugu (2012-05-10 06:56:36)
Offline
Thanks. You may want to put a comment on the AUR page for that package. The owner will get an email notifying him of the problem.
I would if I could, but I am unable to use the same credentials as I have on the forum, and I find nowhere to sign up there : <
Offline
https://aur.archlinux.org/account.php
But see my comment. This is not a bug in davmail.
Offline
https://aur.archlinux.org/account.php
But see my comment. This is not a bug in davmail.
Yeah, I read your comment, but could be useful to have an account for later issues as well : )
Thanks
Offline