Help: command not found

Help
2007-08-31
2012-12-12
  • Nobody/Anonymous

    Hi David,
    I'm running Linux.
    When I type:
    java -cp Knotwork0.5.jar;geom2d.jar gui.Knotwork

    I get:
    bash: geom2d.jar: command not found

    Seems I've missed something, where I'm wrong?

    Thanks in advance.
    Cheers.

    AB

     
    • David

      David - 2007-09-01

      Hi,

      this is the line command for Windows, I am not sure it works for Linux as well.

      First, do you have the file 'geom2d.jar' (or one with similar name) in the directory ?

      If yes, you have to call Java with the option '-cp', meaning you have to include both the Knotwork0.5.jar and the geom2d.jar, and call the program in gui.Knotwork.
      Try to replace the semi colon ';' by a colon ':', if I remember wel this works better on unix and linux systems.

      hope this helps...

       
    • Nobody/Anonymous

      I replaced ';' with ':', now it works.
      :-)

      Thank you very much.

      Cheers.
      AB

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks