Re: [visad] Error Install Visad

Hello, I'm trying to install VisAD from LINUX but I had some problems to do so. 
I downloaded the VisAD source code. When I run the command: 
java -cp visad.jar visad.python.JPythonFrame
 from the directory where I installed the VisAD source code (/home/mcidas/java) 
, i get the following:

[mcidas@localhost java]$ java -cp visad.jar visad.python.JPythonFrame

visad.VisADException: JPython library not found - install Jython from 
http://jython.sourceforge.net/

    at visad.python.RunJPython.<init>(RunJPython.java:104)
    at visad.python.JPythonEditor.<init>(JPythonEditor.java:97)
    at visad.python.JPythonFrame.<init>(JPythonFrame.java:52)
    at visad.python.JPythonFrame.<init>(JPythonFrame.java:47)
    at visad.python.JPythonFrame.main(JPythonFrame.java:95)

The environment variables I have set up as follows

export ANT_HOME="/usr/share/ant"
export JAVA_HOME="/usr/java/jdk1.6.0_31"

export 
CLASSPATH="/usr/java/jdk1.6.0_31/lib:/home/mcidas/java:/home/mcidas/java/visad.jar:/home/mcidas/java/examples:."

export 
CLASSPATH="/home/mcidas/jython2.5.2/jython.jar:/home/mcidas/java/visad.jar:/home/mcidas/jython2.5.2/Lib"
export PYTHONPATH="./:/home/mcidas/java/visad/python"

can anyone help








Boris Vladimir Comi Gonzalez
Universidad Nacional AutÃnoma de MÃxico
Grupo de Tormentas Convecivas


> Date: Tue, 27 Mar 2012 10:00:19 -0500
> From: whittaker@xxxxxxxx
> Subject: Re: [visad] Error Install Visad
> To: glez_b@xxxxxxxxxxxxxxxxx
> CC: visad@xxxxxxxxxxxxxxxx
> 
> Hello, Boris...
> 
> Presently, VisAD is built using Java 1.6.0.  We have not tested using
> the 1.7 compiler, and will not for some time to come.
> 
> The issue with those error messages appears to be the character
> encoding used in the name of the Copyright owner and author of the
> HTTPClient package.  I see from a Google search for "javac utf8
> errors" that many people have experienced this same issue.
> 
> Unfortunately, I cannot simply remove the offending character from the
> source code, as that would violate the Copyright.  However, you could
> do this on  your local copy...
> 
> I spent some time this morning installing 1.7.0_03, but when I
> re-built VisAD, I did not experience any problems.  I am running on
> Windows 7...and I note in the Google search that some of the issues
> (and solutions) were involving Linux systems, so you might check
> there.
> 
> Perhaps if you tell me why you want to compile the entire VisAD
> package, I can assist you.  Generally, this is not needed unless you
> are modifying one of the classes...?
> 
> tom
> 
> On Sat, Mar 24, 2012 at 1:44 PM, Boris Vladimir Comi
> <glez_b@xxxxxxxxxxxxxxxxx> wrote:
> > In my file .bashrc I have the following configuration:
> >
> > export JAVA_HOME=/usr/java/jdk1.7.0_03
> > export
> > PATH=$PATH:$JAVA_HOME/bin:$HOME/.local/bin:$HOME/bin:$ANT_HOME/bin:/$ANT_HOME/lib:$HOME/VISAD
> > export LD_LIBRARY_PATH=/usr/java/jdk1.7.0_03/jre/lib/i386
> > CLASSPATH=/usr/java/jdk1.7.0_03/lib/tools.jar:/usr/java/jdk1.7.0_03/lib/dt.jar://usr/java/jdk1.7.0_03/lib/jconsole.jar/usr/java/jdk1.7.0_03/lib/sa-jdi.jar:/usr/java/jdk1.7.0_03/jre/lib/ext/j3dcore.jar:/usr/java/jdk1.7.0_03/jre/lib/ext/j3dutils.jar:/usr/java/jdk1.7.0_03/jre/lib/ext/vecmath.jar
> >
> > export CLASSPATH
> >
> > export ANT_HOME=/usr/apache-ant-1.8.3
> >
> >
> > I'm trying to install VisAD and when I run the following(from
> > /home/visad/VISAD/):  ant build jar, with the following
> >
> >
> >
> > build:
> >     [javac] /home/visad/VISAD/build.xml:6: warning: 'includeantruntime' was
> > not set, defaulting to build.sysclasspath=last; set to false for repeatable
> > builds
> >     [javac] Compiling 1634 source files
> >     [javac] /home/visad/VISAD/HTTPClient/AuthSchemeNotImplException.java:5:
> > error: unmappable character for encoding UTF8
> >     [javac]  *  Copyright (C) 1996-2001 Ronald Tschalïr
> >     [javac]                                          ^
> >     [javac] /home/visad/VISAD/HTTPClient/AuthSchemeNotImplException.java:40:
> > error: unmappable character for encoding UTF8
> >     [javac]  * @author    Ronald Tschalïr
> >     [javac]                            ^
> 
> 
> 
> -- 
> Tom Whittaker
> University of Wisconsin-Madison
> Space Science & Engineering Center (SSEC)
> Cooperative Institute for Meteorological Satellite Studies (CIMSS)
> 1225 W. Dayton Street
> Madison, WI  53706  USA
> ph: +1 608 262 2759