This discussion is archived
2 Replies Latest reply: Mar 31, 2013 2:23 PM by ccortez RSS

jar command not execute !

bhatt t Newbie
Currently Being Moderated
Hello!

I have jdk6u35 (64-bit) alongwith Weblogic1036 and 11gr2 Forms/Reports (64-bit).

When I give following command to make a jar file for icons;

jar -cvf frmicons.jar *.gif


It doesn't execute, as it is not recognised as an internal command or external command.

Guide me please.

Thanks with Regards.
Bhatt.

Edited by: 982164 on Mar 31, 2013 1:38 PM
  • 1. Re: jar command not execute !
    ccortez Journeyer
    Currently Being Moderated
    Hi Bhatt,

    You need to add your java to your path.

    I think you are using windows so just add the path to bin folder from java to PATH variable and you will be able to execute the command.

    For example if you have java installed in C:\Program Files\Java\jdk1.6.0_37 just add the following to PATH environment variable at the beginning:
    C:\Program Files\Java\jdk1.6.0_37\bin; 
    You may follow this guide:
    http://www.kingluddite.com/tools/how-do-i-add-java-to-my-windows-path

    Hope this helps you :)

    Regards
    Carlos
  • 2. Re: jar command not execute !
    bhatt t Newbie
    Currently Being Moderated
    So nice of you.

    It worked.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points