Hi Peter,

The wildcard '*' in "java -cp h2***.jar org.h2.tools.Server"  should be a 
"Filename Expansion" in Bash not a classpath wildcard. A classpath wildcard 
should be '*' not "*.jar" or "xx*.jar".
So you can execute "java -cp ./* org.h2.tools.Server" in Windows cmd:
> java -cp ./* org.h2.tools.Server
and execute "java -cp h2*.jar org.h2.tools.Server" with bash:
$ java -cp h2*.jar org.h2.tools.Server

Understanding class path wildcards 
<http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html>

在 2013年10月24日星期四 UTC+8下午5:58:35,sheing3003写道:
>
> Hello All,
>
>   When I tried to do jave -cp h2*.jar org.h2.tools.Server  (or any others 
> like Shell), windows command prompt returns cannot find org.h2.tools.XXXX. 
> Please help. Thanks!
>
> Peter
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to