Jump to content

JAR Problems

- - - - -

  • Please log in to reply
No replies to this topic

#1
monkey_instinct

monkey_instinct

    Learning Programmer

  • Members
  • PipPipPip
  • 88 posts
I have a problem creating a JAR executable. I have the following directory structure:


  • bin
    • edu
      • uprm
        • spriteanimator
          • ui
            • *.class

          • Main.class

  • src
  • data

I use the jar tool to create an executable file like this: jar cmf manifest.txt SpriteAnimator.jar bin. The manifest file contents is this one:

Quote

Main-Class: edu.uprm.spriteanimator.SpriteAnimator
Class-Path: bin

But for some reason the file keeps telling me that it can't find the main class. I've tried several different ways but none seems to work. Can anyone help me?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users