This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
java -jar ./rome-0.9.jar -cp ./Reader
Failed to load Main-Class manifest attribute from
The -jar option is to run specially configured jar files -- that specifies a main. To run a class, that needs a jar just include the jar in the class path. In much the same way as you did while compiling....
java -cp ./rome-0.9.jar:. Reader
Brian R Wolf
Joined: Jan 25, 2010
OK, that works great , thanks
one more thing bugging me about jar files,
I have this one
jar xvf twitter4j-core-2.1.0.jar
and clearly contains
however when I try to use this class,
I declare it in the program: