<div dir="ltr">In that particular case chmod may not be enough, you may also have to override (or possibly just unset) the JAVA_HOME environment variable. That's quite a helpful error message on ant's part, though. I'm kind of impressed. Usually Java build errors are impenetrable. ;)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 11:27 AM, Joshua Crowgey <span dir="ltr"><<a href="mailto:jcrowgey@u.washington.edu" target="_blank">jcrowgey@u.washington.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stephan et al.,<br>
<br>
Thanks for the really helpful discussion. Now I not only know why LOGON<br>
provides java, but also how to keep it from getting in my way. :)<br>
<br>
Stephan had asked about how the LOGON java was tripping me up. I have<br>
to admit that I don't use java very often, but every now and I again I<br>
end up downloading some source code for an android app with the goal of<br>
modifying its functionality to fit my needs and desires. (For example,<br>
I recently wanted my email app to display the text/plain part of a<br>
multipart message rather than the text/html part.) If I leave the LOGON<br>
settings as delivered to my .bashrc file then trying to compile the<br>
android project would say:<br>
<br>
BUILD FAILED<br>
/home/jcrowgey/android_sdk/tools/ant/build.xml:720: The following error<br>
occurred while executing this line:<br>
/home/jcrowgey/android_sdk/tools/ant/build.xml:734: Unable to find a<br>
javac compiler;<br>
com.sun.tools.javac.Main is not on the classpath.<br>
Perhaps JAVA_HOME does not point to the JDK.<br>
It is currently set to<br>
"/home/jcrowgey/ling/delphin/logon/sun/jre/linux.x86.64"<br>
<br>
I usually would just fix this by commenting out the LOGON settings in<br>
.bashrc and then opening a new terminal after which all would work. Now<br>
I'm happy to know about the chmod solution in order to leave the<br>
settings turned on (for using lkb and itsdb in emacs). To be honest, I<br>
never really looked hard at seeing if it was possible to set up<br>
ant/android-sdk to work with the LOGON java, I always just turned it off<br>
temporarily and then went forward.<br>
<br>
Thanks again!<br>
<br>
--Joshua<br>
<br>
On 11/25/2014 02:48 PM, Stephan Oepen wrote:<br>
>> These days, bundling Java might be a bit excessive [...]<br>
><br>
> indeed, that is the point :-). oe<br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="border-collapse:separate;text-indent:0px"><span style="border-collapse:separate;text-indent:0px"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">D. Brodbeck</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">System Administrator, Linguistics</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px">University of Washington</div>GPG key fingerprint: 0DB7 4B50 8910 DBC5 B510 79C4 3970 2BC3 2078 D875</span></span><div><span style="border-collapse:separate;text-indent:0px"><span style="border-collapse:separate;text-indent:0px"><br></span></span></div></div></div>
</div>