java -classpath in combination with java -jar

Since I always forget about that damn detail, it’s time to write it down! Whenever you need to give -classpath parameters at start time, be sure not to use the -jar option at the same time! Go for the main class in the jar instead!



Leave a Reply

Formatting: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>