[developers] LOGON and java
David Brodbeck
brodbd at uw.edu
Tue Dec 2 20:39:47 CET 2014
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. ;)
On Tue, Dec 2, 2014 at 11:27 AM, Joshua Crowgey <jcrowgey at u.washington.edu>
wrote:
> Hi Stephan et al.,
>
> Thanks for the really helpful discussion. Now I not only know why LOGON
> provides java, but also how to keep it from getting in my way. :)
>
> Stephan had asked about how the LOGON java was tripping me up. I have
> to admit that I don't use java very often, but every now and I again I
> end up downloading some source code for an android app with the goal of
> modifying its functionality to fit my needs and desires. (For example,
> I recently wanted my email app to display the text/plain part of a
> multipart message rather than the text/html part.) If I leave the LOGON
> settings as delivered to my .bashrc file then trying to compile the
> android project would say:
>
> BUILD FAILED
> /home/jcrowgey/android_sdk/tools/ant/build.xml:720: The following error
> occurred while executing this line:
> /home/jcrowgey/android_sdk/tools/ant/build.xml:734: Unable to find a
> javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to
> "/home/jcrowgey/ling/delphin/logon/sun/jre/linux.x86.64"
>
> I usually would just fix this by commenting out the LOGON settings in
> .bashrc and then opening a new terminal after which all would work. Now
> I'm happy to know about the chmod solution in order to leave the
> settings turned on (for using lkb and itsdb in emacs). To be honest, I
> never really looked hard at seeing if it was possible to set up
> ant/android-sdk to work with the LOGON java, I always just turned it off
> temporarily and then went forward.
>
> Thanks again!
>
> --Joshua
>
> On 11/25/2014 02:48 PM, Stephan Oepen wrote:
> >> These days, bundling Java might be a bit excessive [...]
> >
> > indeed, that is the point :-). oe
> >
>
--
D. Brodbeck
System Administrator, Linguistics
University of Washington
GPG key fingerprint: 0DB7 4B50 8910 DBC5 B510 79C4 3970 2BC3 2078 D875
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20141202/932b3a35/attachment.html>
More information about the developers
mailing list