[quote]Maybe that’s Java implementation dependent because doing “java some/path/to/a/Class” does not work on my Windows system (j2sdk 1.4.2) regardless if the directories exist or if it’s a jar. Only “java some.path.to.a.Class” works.
[/quote]
I’m running Sun’s JRE and JDK.
C:>java -version
java version “1.4.1_03”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
Java HotSpot™ Client VM (build 1.4.1_03-b02, mixed mode)
Either slashes or dots work fine for me as long as I’m executing from the top of the package tree. I also run without a CLASSPATH if I can avoid it.