Results 1 to 4 of 4
  1. #1
    Zeo7 is offline Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    0

    Exclamation project runs in netbeans but .jar wont work

    hi there im having a problem with java, my project runs perfectly when i run it on netbeans, but when i try to use the .jar file it simply wont run, when i try using the command box i get the following error


    C:\Users\Stephan>java -jar "C:\Users\Stephan\Documents\NetBeansProjects\Onces Ale
    manas\dist\OncesAlemanas.jar"
    Exception in thread "main" java.lang.NoClassDefFoundError: iic1102Package/Interfaz

    at oncesalemanas.Caja.Inicializar_Caja(Caja.java:21)
    at oncesalemanas.Main.main(Main.java:28)
    Caused by: java.lang.ClassNotFoundException: iic1102Package.Interfaz
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 2 more
    any hints on how to solve this i have tried everything i know, please

    heres the complete netbeans project

    2shared - download OncesAlemanas.rar
    Last edited by Zeo7; 12-14-2010 at 06:45 AM. Reason: spelling

  2. #2
    Zeo7 is offline Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    0

    Default

    please help

  3. #3
    jicxicmic is offline Member
    Join Date
    Aug 2009
    Location
    Costa Brava
    Posts
    5
    Rep Power
    0

    Default

    You MUST put the "settings.txt" and "Menu.txt" files on the dist directory. Also you MUST create the 'Pagos' directory inside dist.

    Sorry for my english.

  4. #4
    Zeo7 is offline Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    0

    Default

    omg thank you very much this solved everything, i mean words cant express my gratitud thx again

Similar Threads

  1. class that wont work out properly.
    By vampire-elf in forum New To Java
    Replies: 7
    Last Post: 09-07-2010, 01:39 AM
  2. Jar file wont run but runs in netbeans
    By ArmenBaba in forum NetBeans
    Replies: 14
    Last Post: 08-24-2010, 05:04 PM
  3. JApplet buttons wont work
    By Mark101 in forum New To Java
    Replies: 3
    Last Post: 03-16-2010, 06:53 PM
  4. Why wont import jm.util.*; work??
    By cakepizza in forum New To Java
    Replies: 2
    Last Post: 01-01-2010, 11:19 PM
  5. save will work but load wont?!?!
    By Sticks_ll in forum New To Java
    Replies: 1
    Last Post: 06-12-2008, 04:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •