[Freegis-list] Solution: DEMViewer on Win32
Matt.Wilkie
Matt.Wilkie at gov.yk.ca
Wed Jul 18 19:25:50 CEST 2001
> On Wed, Jul 18, 2001 at 09:00:34AM -0700, Matt.Wilkie wrote:
> > Previously I asked if anybody knew how to get DEMViewer
> > (http://www.geogr.uni-jena.de/~p6taug/demviewer/)
> > working on Windows. After a few hours I managed to work it
> > out for myself on Win2k though no doubt there are other
> > perhaps cleaner methods.
>
> Good job!
> Can you inform the author as well?
Heh. As I matter of fact I did. However it definately pays to
be a little less hasty and more methodical. Below is what
happened when I tried to build a transcript of my problems with
the compiled version for the author, Ugo Taddei:
-------------8<-------------
Hi Ugo,
Ugo> Hum... s. below, but in case your problem won't be solved,
Ugo> would be helpful if you sent me the error message.
I cc'd you a message ealier which detailed how I manage to get
DV to work from source code. This one is about the error messages
with the compiled version. The errors were along the lines of
"Exception in thread ... No classdef found ... DEMViewer".
-host system is Win2ksp1
-Java2 SDK 1.3.1 and Java3d SDK are installed
In a CMD shell:
> md c:\temp\demv
> cd c:\temp\demv
> copy \downloads\demv_bin.jar
> copy \downloads\visad.jar
> set path=c:\jdk1.3.1\bin;%path%
> jar xvf demv_bin.jar
created: META-INF/
extracted: META-INF/MANIFEST.MF
extracted: bin/DEMViewer$1.class
extracted: bin/DEMViewer$10.class
extracted: bin/DEMViewer$11.class
extracted: bin/DEMViewer$2.class
extracted: bin/DEMViewer$3.class
extracted: bin/DEMViewer$4.class
extracted: bin/DEMViewer$5.class
extracted: bin/DEMViewer$6.class
extracted: bin/DEMViewer$7.class
extracted: bin/DEMViewer$8.class
extracted: bin/DEMViewer$9.class
extracted: bin/DEMViewer.class
extracted: bin/Tokenizer.class
extracted: bin/XArcGridReader.class
> set classpath=c:\temp\demv\visad.jar;c:\temp\demv\bin
> java DEMViewer
Ooops!
Usage: dgm3d elevation_raster attribute_raster_1 attribute_raster_
where "raster_1 or 2" are valid ArcGrid files
or Raster 1 or 2 is optionally a Jpeg or Gif file
...Q#$%@#%!!... it works now. I think must have been entering an
incomplete/wrong classpath before. L:}
Well, I'll leave the sequence here for posterity. Thanks again
for your time,
-matt
-----------------------------------------------------------------
Matt Wilkie * Yukon Renewable Resources GIS
http://renres.gov.yk.ca/pubs/rrgis/
-----------------------------------------------------------------
------------->8-------------
More information about the Freegis-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)