Jody,

On windows,  classpath entries are separated by semicolon ';'   but  on all 
other OSes (mac, Linux, BSD) they are separated by colon ':' .   This is the 
same behaviour as the PATH environment variable,  presumably because windows 
uses colon for drive letters.

There is a bug in recent java man pages that forgets to document this:   
https://bugs.openjdk.org/browse/JDK-8262004

So I assume this is normal.



Hans Yperman
Department IT
[cid:b1a442ea-d6a5-4990-a69f-c354ac9c2c39]
Vlaams Instituut voor de Zee vzw
InnovOcean Campus, Jacobsenstraat 1
8400 Oostende, België

☎+32 (0) 59 33 61 13
📧 hans.yper...@vliz.be<mailto:hans.yper...@vliz.be>
www.vliz.be<http://www.vliz.be>


________________________________
Van: Jody Garnett <jody.garn...@gmail.com>
Verzonden: zondag 22 januari 2023 15:46
Aan: Ian Turton <ijtur...@gmail.com>
CC: Geotools-Devel list <geotools-devel@lists.sourceforge.net>
Onderwerp: Re: [Geotools-devel] Release artefacts available for testing

Ian:

Going to asume the issue is on my end; prior releases are behaving this way 
also.

Managed to get it to startup using: java -cp "lib/*:bin" 
org.geotools.tutorial.quickstart.Quickstart

Which does not make a lot of sense to me.
--
Jody Garnett


On Sun, Jan 22, 2023 at 3:26 PM Jody Garnett 
<jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> wrote:
Testing bin download:
1) README.html links are good
2) Bin works

java -cp "lib/*" org.geotools.util.factory.GeoTools

3) The quickstart compiles


javac -cp "lib/*" -d bin src/org/geotools/tutorial/quickstart/Quickstart.java

However it does not run

java -cp "lib/*;bin" org.geotools.tutorial.quickstart.Quickstart

Error: Could not find or load main class 
org.geotools.tutorial.quickstart.Quickstart
Caused by: java.lang.ClassNotFoundException: 
org.geotools.tutorial.quickstart.Quickstart

Changing to Java 8 again did not help ...




--
Jody Garnett


On Thu, Jan 19, 2023 at 11:15 AM Ian Turton 
<ijtur...@gmail.com<mailto:ijtur...@gmail.com>> wrote:
Please try out the new 28.1 release - 
https://build.geoserver.org/view/release/job/geotools-release/73/artifact/build/release/distribution/28.1/geotools-28.1-bin.zip

Ian

--
Ian Turton
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net<mailto:GeoTools-Devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geotools-devel
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to