Cognos Analytics

 View Only
  • 1.  Creating a .Jar File

    Posted Wed June 30, 2021 04:55 PM
    Good Afternoon,

    I hope that the day is going well with each of you.  I am following IBM's instructions on how to create a .jar file, but I am encountering errors.  I am using this command from this site:
    https://www.ibm.com/docs/en/imdm/11.5?topic=applications-deploying-third-party-custom-user-jar-file

    I am running this command from the Command Prompt:
    java -jar -cvf MyJar.jar MyApplication.class

    I get this from the Command Prompt:
    Unrecognized option -cvf
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

    Warm Regards,
    Eli

    #CognosAnalyticswithWatson


  • 2.  RE: Creating a .Jar File

    Posted Thu July 01, 2021 10:17 AM

    Here is what we are using; It is working, but not getting errors:


    start java -jar -cvfm MyJar.jar <path>\META-INF\manifest.mf -C *.class