11 Replies Latest reply: Feb 27, 2008 5:56 PM by 807603 RSS

    Help with a question about making/running .jar files.

    807603
      First i have a question, can i make a .jar file that can run on a computer without JRE installed. And if i can, how do i make it. I have tried to make it on my computer, that has JRE but i keep getting the error when i run it:
      Exception in thread "main" java.lang.NoClassDefFoundError: Sample\FileSearch
      And im using the command:
      jar cvfm jarname.jar directory\manifest.txt directory\FileSearch.class directory\FileNode.class
      It says it creates the .jar but is unable to run it.