What does the colon(:) mean?
Hi,
I'm running DDS Java example with; "java -classpath $OSPL_HOME/jar/dcpssaj.jar:classes HelloWorldDataPublisher" command. I know the classpath part well but what does the ":" (colon sign) mean in the middle of the command? The folder I'm running this example has a folder named "classes" in it and there is a HelloWorldDataPublisher.class file in the classes folder. I searched about it and read the java docs but can't find anything. Thanks. |
It acts as a delimiter, you can specify multiple paths by using a delimiter.
|
I see thank you very much :)
|
No problem. and welcome to LQ! :)
|
Not to be pedantic, : is a colon. ; is a semicolon.
They do have a significant difference as ; can be used to separate commands on a shell line. |
You're right sorry, I edited my first message :)
|
Quote:
|
All times are GMT -5. The time now is 08:14 PM. |