[x3d-public] classpath separator on windows 10, java 10

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Sat Sep 22 16:40:39 PDT 2018


On 9/22/2018 12:54 PM, John Carlson wrote:
> How do I do that on commandline or environment

when building your command string, or environment string, insert pathSeparatorChar.

> or ant?  Thanks!

when using Ant, you don't have to worry since either form is accepted satisfactorily.  See "Path-like Structures" in the following.

	Using Apache Ant
	https://ant.apache.org/manual/using.html


> John
> 
> On Sat, Sep 22, 2018 at 1:58 PM Brutzman, Donald (Don) (CIV) <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
> 
>     use this for portability:
> 
>              java.io.File.pathSeparatorChar
> 
>              Platform independent paths in Java
>     https://stackoverflow.com/questions/3548775/platform-independent-paths-in-java/3548818#3548818
> 
>              Javadoc, Class File
>     https://docs.oracle.com/javase/8/docs/api/java/io/File.html
> 
>     On 9/21/2018 7:13 PM, John Carlson wrote:
>      > Did the classpath separator for Java change with Java 10 on Windows 10? Thanks, and beware!

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list