NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

RE: And another question...

On Mon, 1 Aug 2005, Nelson Brandon K A1C AFWA/SCSA wrote:

> Thanks so much for your quick updates!
>
> Another thing...
>
> In the grib 2 class "Grib2DataSection" the line
>
> import jj2000.j2k.decoder.Grib2JpegDecoder;
>


make sure your classpath is set to find jpeg2000.jar, it needs to be the
absolute path to the jar file. the jpeg2000.jar file is in the lib dir

robb...



> gives the error "jj2000 cannot be resolved"  what should I do to fix this?
>
>
> -----Original Message-----
> From: Robb Kambic [mailto:rkambic@xxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Monday, August 01, 2005 12:23 PM
> To: Nelson Brandon K A1C AFWA/SCSA
> Subject: Re: And another question...
>
> On Mon, 1 Aug 2005, Nelson Brandon K A1C AFWA/SCSA wrote:
>
> > Another quick question for ya Robb...
> >
> >
> >
> > What version of Java are you using?  I tried to compile and to create
>
> java version "1.4.2_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
>
> > javadocs for the your code and received the following errors and
> warnings...
> >
> >
>
> that's because i haven't created grib java docs yet. will keep you posted
>
> the nj22 docs build but with 6 warnings.
>
> compiled fine with the above java version, let me know if it's still a
> problem after you update.
>
>
> robb...
> >
> > COMPILE:
> >
> > ucar/ma2/StructureData.java [377:1] warning: as of release 1.4, assert is
> a
> > keyword, and may not be used as an identifier
> >
> >     assert (a instanceof ArrayObject.D0);
> >
> >     ^
> >
> > ucar/ma2/StructureData.java [379:1] warning: as of release 1.4, assert is
> a
> > keyword, and may not be used as an identifier
> >
> >     assert (data instanceof String) : data.getClass().getName();
> >
> >     ^
> >
> > ucar/ma2/StructureData.java [379:1] ';' expected
> >
> >     assert (data instanceof String) : data.getClass().getName();
> >
> >
> >
> > JAVADOCS:
> >
> > M:\SCS\SCSA\GIS\ucar\grib\src\ucar\ma2\StructureData.java:377:
> >
> > warning: as of release 1.4, assert is a keyword, and may not be used as an
> > identifier
> >
> >     assert (a instanceof ArrayObject.D0);
> >
> >     ^
> >
> > M:\SCS\SCSA\GIS\ucar\grib\src\ucar\ma2\StructureData.java:379:
> >
> > warning: as of release 1.4, assert is a keyword, and may not be used as an
> > identifier
> >
> >     assert (data instanceof String) : data.getClass().getName();
> >
> >     ^
> >
> > M:\SCS\SCSA\GIS\ucar\grib\src\ucar\ma2\StructureData.java:379: ';'
> expected
> >
> >     assert (data instanceof String) : data.getClass().getName();
> >
> >
> >
> >
> >
> > DoD mandates that we use java 1.4.2_03.  Thanks again for your time!
> >
> >
> >
> > V/r
> >
> > Brandon
> >
> >
> >
> >
> >
> >
> >
> >
>
> ===========================================================================
> ==
> Robb Kambic                              Unidata Program Center
> Software Engineer III                    Univ. Corp for Atmospheric
> Research
> rkambic@xxxxxxxxxxxxxxxx                 WWW: http://www.unidata.ucar.edu/
> ===========================================================================
> ==
>

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: