A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: java -cp windows and linux differences
how to import an API not in jdk ?
Not Suitable Driver Error
Linux vs. Windows jar file - cannot find main class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014