This content has been marked as final. Show 6 replies
I have tryied after include manifest file in jar also got the same exception.
My MANIFEST.MF file look like below.
is any thing i missed out.
Yes, you don't use %CLASSPATH% in the manifest. It is also not a good idea to have absolute paths in there, that will only work on your machine. On other computers the jars are likely not going to be in c:\XBRL\MYJAR. The trick is to use relative paths and distribute the jars with your application. Say you have:
Then you would store that jar in the directory:
Then you can just zip it all up and spread it around and it will work anywhere.
and you run with:
java -Dmy.app.properties=C:/XBRL/eRoller_Desktop/Desktop_Appl/config.properties -jar RolloverDeskTopAppJDK7.jar