3 ms·
what's so unusual about -cp (or "-classpath")
by xxs 12y ago
what's so unusual about -cp (or "-classpath")
- deleted 12y ago[deleted]
- apetresc 12y agoEspecially since the guy writing this literally wrote the XML spec. You'd think he's be good at deciphering "incantations".
- acdha 12y agoIf you're familiar with most unix tools, you'd expect that to be --classpath. If you need more than one addition, do you use a colon separated list (Unix), semicolon (Windows), or repeat it once per option? Does it expand ~ or do you need to None of this is that hard but if you don't use this all the time it's easy for everyone's soup of almost-but-not-quite similar conventions to blur together and you waste time figuring it out. In the Java world you have the added problem that the JVM has a legacy convention which doesn't follow any platform standard and the problem that many projects use different conventions so you probably also have a different set of rules for JVM options and the actual program options.
- syncsynchalt 12y agoThat's unixese for -c -p, for one. -C <classpath> or --classpath=<classpath> would be more typical.