[developers] LOGON and java

Joshua Crowgey jcrowgey at u.washington.edu
Tue Dec 2 20:27:54 CET 2014


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
> 


More information about the developers mailing list