The project is completed, the report is working in the JCreator, but not when i run jar file..
I've searched the forum but i couldn't find to my requirements. I want to know to how to make the jar file that the report should also work..
Help needed plz..

Recommended Answers

All 4 Replies

Try running the Jar file via on the command line and check the error.
To run an executable jar file from the command line you will need to type:

java -jar filename.jar

thankz, it could be work!... but how come to run it in LINUX??

Same way, Provided your Linux distribution has a valid JVM, and the path to "java" set correctly.

You should try adding your executable class (main method) to manifest file. build the jar file again with -M option and you are done.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.