Mmm this seems more like a java question rather than a problem in linux OS.
anyway, the first error you encounter is because due to the lack of memory while running java.
After you increase the memory size, the second error you hit is because There is no mainclass attribute in the manifest.The jar file is not meant to be execute as applications.
I assume/guess you try to run your java class files package as jar in this way with library in the class path as an example and your application:
Quote:
java -classpath .:/home/vitalstrike82/struts.jar start.jar
|
If you are running using the java command asshown above, most likely you will not be able to run because we cannot run the jar file this way like an application or a class file.
You can read up more about manifest from:
http://java.sun.com/docs/books/tutor...festindex.html
