Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Java Help

Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-23-2008, 05:08 PM
monkey_instinct's Avatar   
monkey_instinct monkey_instinct is offline
Learning Programmer
 
Join Date: Dec 2007
Posts: 88
Rep Power: 4
monkey_instinct will become famous soon enough
Default JAR Problems

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OPENFILENAME struct (win32) - problems shariath C and C++ 1 02-14-2008 11:07 PM
Quad Core - Heating Problems TcM Computer Hardware 2 11-28-2007 11:09 AM
PDF download problems ikke ionFiles 5 10-09-2007 11:31 AM
Problems in GETMEM.INC with newer WinXP security updates. dima_q Pascal/Delphi 0 06-04-2007 10:17 AM
Problems in compiling D-ITG MietitoreDAnime C and C++ 2 02-15-2007 12:18 PM


All times are GMT -5. The time now is 03:04 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads