Error 500 java+heap+space
Hi,
I'm running an application which needs java on Fedora Core 6.When I access my application through browser , I get the Error 500 java+heap+space. I searched the error and found some solutions like java -Xmx1950M -Xms1950M -jar start.jar But I get error like this : Failed to load Main-Class manifest attribute from start.jar Can anyone tell me what I'm missing in this command? Jomy |
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:
You can read up more about manifest from: http://java.sun.com/docs/books/tutor...festindex.html :) |
All times are GMT -5. The time now is 05:10 AM. |