Thank you. I didn't realize it was as simple as just specifying the top-level jar and that Java would then find all the other required jars if they were in the same directory. I started out with Java 1.0/1.1 when it was pretty dumb about finding required classes.
What do you mean by "demo-introduction"? The static main method in MapViewer.java? regards, David At 07:37 AM 10/17/2006, Adrian Custer wrote: >Hello, > >On Tue, 2006-10-17 at 07:19 -0400, David Adler wrote: > > Is there any script or readme file to run this? Or documentation on what > > jar files are pre-requisites at runtime? > >For a cheap version, the pre-requisites is opening the binary >distribution into a folder (i.e. dropping *all* of the libs into a >single directory) and then placing the *one* jar on your classpath. The >current versions of java will find the rest. Something like: > java -cp gt2-demo-mappane-2.3.0-RC1-SNAPSHOT.jar \ > org.geotools.demo.mappane.MapViewer >should get you going since java will find all the dependencies >automatically. The mappane jar may have its own main() class, I'm not >sure. > >The serif problem may be that we should be searching for Serif (with >initial capital). As you say, it's a minor annoyance on the list of >things to fix. > >Look at the demo-introduction for a readme. > >cheers, >adrian > > > > > It took over an hour to get this going, finding the jar files one by one > > after getting "ClassNotFound" errors. > > > > Is there some straightforward way of determining what the > pre-requisites are? > > > > I've managed to get this more or less working and it is a reasonable > example. > > > > I am getting a bunch of messages like: > > java.io.FileNotFoundException: serif (The system cannot find the file > > specified) > > This doesn't seem to be a serious problem although it would be nice to > know > > how to correct it as it must take some time to search for a file hundreds > > of times. > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Geotools-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/geotools-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
