A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
java -cp windows and linux differences
Joined: Jun 20, 2008
Jul 27, 2011 02:23:14
may be useful: classpath definitions in command line differs if you use windows o.s. or linux:
linux: java -cp "/myJarDirectoryFullPath/theJarfileToInclude.jar
in windows and the
It can save lots of time, I say you
Joined: Aug 18, 2009
Jul 27, 2011 16:26:40
It has nothing to do with Java, but is a platform related issue. It does demonstrate that setting the classpath on the command line is not platform independent as the byte code is.
subject: java -cp windows and linux differences
Linux vs. Windows jar file - cannot find main class
how to import an API not in jdk ?
Not Suitable Driver Error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014