Exception when Running Jar File

Hello,
I have downloaded a jar file from http://sourceforge.net/projects/sarf/
It's an Arabic Morphology System, The program run successfully but when I try to use the User Interface by entering an input and clicking on the main button, I get the following Exception:
java.io.FileNotFoundException: .\db\trilateral\augmented\?.xml (The system canno
t find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.apache.commons.digester.Digester.parse(Digester.java:1477)
        at sarf.verb.trilateral.augmented.AugmentedTrilateralRootTreeCreator.bui
ldXmlVerbTree(AugmentedTrilateralRootTreeCreator.java:42)
        at sarf.DatabaseManager.getAugmentedTrilateralRootTree(DatabaseManager.j
ava:85)
        at sarf.SarfDictionary.getAugmentedTrilateralRoot(SarfDictionary.java:37
        at sarf.ui.ControlPaneContainer.processTrilateral(ControlPaneContainer.j
ava:345)
        at sarf.ui.ControlPaneContainer.rootEntered(ControlPaneContainer.java:30
8)
        at sarf.ui.ControlPaneContainer.access$400(ControlPaneContainer.java:32)
        at sarf.ui.ControlPaneContainer$10.actionPerformed(ControlPaneContainer.
java:246)
        at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
        at javax.swing.JTextField.postActionEvent(JTextField.java:705)
        at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:704)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:969)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:841)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:668)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Window.dispatchEventImpl(Window.java:2475)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at sarf.SarfDictionary.getAugmentedTrilateralRoot(SarfDictionary.java:38
        at sarf.ui.ControlPaneContainer.processTrilateral(ControlPaneContainer.j
ava:345)
        at sarf.ui.ControlPaneContainer.rootEntered(ControlPaneContainer.java:30
8)
        at sarf.ui.ControlPaneContainer.access$400(ControlPaneContainer.java:32)
        at sarf.ui.ControlPaneContainer$10.actionPerformed(ControlPaneContainer.
java:246)
        at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
        at javax.swing.JTextField.postActionEvent(JTextField.java:705)
        at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
        at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
        at java.awt.Component.processEvent(Component.java:6040)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:704)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:969)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:841)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:668)
        at java.awt.Component.dispatchEventImpl(Component.java:4502)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Window.dispatchEventImpl(Window.java:2475)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Can anyone please help me, is there anything that I need to install in before running the jar file???
Many thanks,
Moe

Doesn't look like a widely used app to me. I suppose trying to contact the creator of it is futile and that's why you're hoping for luck here. I wouldn't hold my breath.
Or maybe you're the creator of it and this is a sneaky way of getting people to look at your product? Hmmm...

Similar Messages

  • Error messege when run jar file

    when i run jar file of my project give me that error(Fatel exception occured.program will exist)
    what is the reason of that error

    "can't get that path". Sounds like requisite classes aren't on the classpath.
    Please paste the ENTIRE error message that it's producing into your next reply. You have probably forgotten to include necessary classes - perhaps a JDBC driver - in your JAR file.

  • Console not display when run jar file

    i run jar file with command javaw -jar test.jar or double click on jar file, it's console app, it just run well but console not display, can i made console display and when i close console, it's stop jar file too?
    thanks

    i got it, javaw = no console window, i tried java command and i got error: can not access jar file?

  • Problem running jar files of java in Linux

    I cannot run jar files in java/jdk1.3.1_01/demo in Readhat Linux 6.2
    The command is :--
    [root@localhost Notepad]# java -jar Notepad.jar
    java.lang.NoClassDefFoundError: javax/swing/JPanel
    at java.lang.Class.forName(Class.java:33)
    at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
    at kaffe.jar.ExecJar.main(ExecJar.java:61)
    [root@localhost Notepad]#
    My ~/profile setting is :---
    PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
    export JAVA_HOME=/usr/java/jdk1.3.1_01
    export NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/ns4

    [root@localhost Notepad]# java -jar Notepad.jar
    java.lang.NoClassDefFoundError: javax/swing/JPanel
    at java.lang.Class.forName(Class.java:33)
    at
    at
    at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
    at kaffe.jar.ExecJar.main(ExecJar.java:61)
    [root@localhost Notepad]#
    My ~/profile setting is :---
    PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/u
    r/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
    export JAVA_HOME=/usr/java/jdk1.3.1_01
    export
    NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/n
    4Add the line:
    export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar
    Then, run the command "source ~/.profile" and then the jar file should be able to run.
    Bhav

  • Read a txt file when I run jar file

    Hi all,
    I have a jar file. In ir there are:
    /file.jar
       |----/pack
       |        |----MyClass.class
       |        |----file.txt
       |
       |----/META-INF
       |        |----MANIFEST.MFI want: when I execute the jar file java -jar file.jar from the java class MyClass to read the file.txt
    When I run this the error is:
    C:\Documents and Settings\pc\Escritorio>java -jar file.jar
    java.io.FileNotFoundException: file:\C:\Documents%20and%20Settings\pc\Escritorio\file.jar!\pack\file.txt (El nombre de archivo, directo
    rio o etiqueta del volumen no es valido)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at pack.MyClass.main(MyClass.java:20)
    Exception in thread "main" java.lang.NullPointerException
            at pack.MyClass.main(MyClass.java:31)the code into the java class is:
    package pack;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStream;
    public class MyClass {
         private static String version = null;
         static String fich = "file.txt";
         public static void main(String[] args) {
              BufferedReader br = null;
              File file = new File(fich);
              try {
                   br = new BufferedReader(new FileReader(MyClass.class.getClass().getResource("/pack/file.txt").getPath()));
                   String j= null;
                   while ((j = br.readLine())!=null){
                        version = j;
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException io){
                   io.printStackTrace();
              } finally{
                   try {
                        br.close();
                   } catch (IOException e) {
                        e.printStackTrace();
              if (version != null)
                   System.out.println("I have read : "+version);
    }in MANIFEST.MF file:
    Manifest-Version: 1.0
    Main-Class: pack.MYClassthanks very much

    thanks you!!
    I have read the file, but I have put the package when I write the file.txt, beacuse If I don't put this, givas me NullPointerException
    Now I have
    InputStream in = Main.class.getResourceAsStream("/pack/file.txt");
    InputStreamReader isr = null;
    BufferedReader reader = null;
    try {
              isr = new InputStreamReader(in, "ISO-8859-1");
              reader = new BufferedReader(isr);
              while ((j = reader.readLine())!=null){
                   version = j;
              reader.close();
    } catch ...Thanks very much

  • Could not read Log4j configuration file when I run jar file

    Hi,
    I'm using Log4J in my application..
    I configure the log4j, as follows;
    PropertyConfigurator.configure("properties/logging.properties");and then go on to use it.
    The .properties is in the root when I jar my source. I use Ant to Jar the file. It all works good when I run the jar file from ant.
    The problem is when I run the jar file by double clicking on it, I get an error
    " Could not read configuration file [properties/logging.properties]."
    I tried the following options;
    PropertyConfigurator.configure("/logging.properties");
    PropertyConfigurator.configure("./logging.properties");
    PropertyConfigurator.configure("../logging.properties");But in all cases, I get corresponding errors on running the jar file through Ant:
    log4j:ERROR Could not read configuration file [logging.properties].
    log4j:ERROR Could not read configuration file [./logging.properties].
    log4j:ERROR Could not read configuration file [../logging.properties].
    I want to be able to run the Jar by double clicking on it or through Ant.. Would any one know how to fix this issue so that I can use both methods..

    Keep your properties file inside the root folder of your application.It is working fine

  • Error with running JAR files created with NetBeans

    I have been having difficulty running the JAR files that NetBeans compiles. When I run my code from NetBeans, it always works just fine, but when I try to run the compiled JAR I get the following errors:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass2(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:719)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    This is happening for multiple projects now, though I don't remember it happening before. What am I doing wrong? Why is this happening? How can I fix it? Thank you for any insights...

    Oh, I forgot to mention, all the NetBeans samples work, just not apps that I create. This is very frustrating!

  • Java.lang.NoSuchMethodException encountered when using jar file

    Hi Friends
    I am getting this peculiar exception for some time now and not able to figure out why i get it.
    I searched the net but seem to not find any proper solution.
    Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
    I have a Java project in my workspace which was previously using Java code to perform DAO look up.
    Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. I have done this now and my code compiles properly. Even Eclipse is able to recognize this code.
    When i try to run the code i am getting this java.lang.NoSuchMethodException: DAOClass.getValue(java.lang.string)L
    The getValue() is present in the DAOClass in the jar file but still i am getting this exception.
    I am not able to figure out what the issue is here.
    Can you please provide your suggestions about this issue. is there something i am missing out.
    Thanks
    vikeng21

    802944 wrote:
    Hi Friends
    I am getting this peculiar exception for some time now and not able to figure out why i get it.
    I searched the net but seem to not find any proper solution.
    Here is what i am trying to do. I am using Eclipse(Latest version) and jdk 1.6.
    I have a Java project in my workspace which was previously using Java code to perform DAO look up.
    Now i have got an executable .jar file which has this DAO look up code bundled in it and i just need to include it in my project ClassPath. Is the DAO code a jar, which you are attempting to put into another jar? Then there are very specific steps that you must take, outside of the code, to accomplish that.
    If the DAO code is not a jar then the following possibilities exist
    - You are not putting the code in the executable jar.
    - You are putting it in the executable jar incorrectly due to a path problem.

  • Exception when running WebLogicMBeanMaker

    Hi all,
    I get a strange Exception when I try to run the WebLogicMBeanMaker, either to
    produce my MBean source files or to create the MBean jar file. The error is as
    follows:
    Compiling these files /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorImpl.java
    /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBI.java
    /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBean.java
    Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main
    (Unsupported major.minor version 48.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecurClassLoader.defineClass(SecureClassLoader.java:111)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:407)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at weblogic.management.commo.WebLogicMBeanMaker.compile(WebLogicMBeanMaker.java:987)
    at weblogic.management.commo.WebLogicMBeanMaker.main(WebLogicMBeanMaker.java:796)
    Anyone seen this error before? What does it mean and how do I fix it? Any help
    is appreciated. Thanks!
    - Torin

    Yes. I usually can.
    I can not find your "latest" post describing your exception.
    "Torin" <[email protected]> wrote:
    >
    Thank you Seyvet. I appreciate your help. You were right, I had to
    change my
    path to use java1.4.2. Now I run into another exception when I try to
    configure
    my authenticator from the console. Were you able to do this successfully?
    Please
    see my latest post if you think you can help. Thanks!! Sincerely,
    - Torin
    "seyvet" <[email protected]> wrote:
    I remembered that I had to sett eh following in ant to build:
    <pathelement path="${java.class.path}"/>
    And I suggest you check that ${java.class.path} is set properly.
    <java classname="weblogic.management.commo.WebLogicMBeanMaker"
    fork="true"
    failonerror="true">
    <jvmarg line="-Dfiles=${dir.mbean.temp} -DMDF=${dir.mbean.temp}/YourAuthenticator.xml
    -DcreateStubs=true"/>
    <classpath>
    <pathelement path="${java.class.path}"/>
    <pathelement location="${dir.mbean.temp}"/>
    <pathelement location="${dir.lib.mbeantypes}/wlManagement.jar"/>
    <pathelement location="${dir.oem}/weblogic/8.1/weblogic.jar"/>
    </classpath>
    </java>
    "seyvet" <[email protected]> wrote:
    This may be a failure again, but did your check the java version you
    are using
    for compilation?
    java -version
    You should run JDK1.4.1_03 at least.
    Personaly, I use 1.4.2_02-b03.
    "Torin" <[email protected]> wrote:
    Hi all,
    I get a strange Exception when I try to run the WebLogicMBeanMaker,either
    to
    produce my MBean source files or to create the MBean jar file. Theerror
    is as
    follows:
    Compiling these files /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorImpl.java
    /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBI.java
    /home1/bea/weblogic81/server/bin/applications/mbeans/DbAuthenticatorMBean.java
    Exception in thread "main" java.lang.UnsupportedClassVersionError:
    com/sun/tools/javac/Main
    (Unsupported major.minor version 48.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecurClassLoader.defineClass(SecureClassLoader.java:111)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:407)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    at weblogic.management.commo.WebLogicMBeanMaker.compile(WebLogicMBeanMaker.java:987)
    at weblogic.management.commo.WebLogicMBeanMaker.main(WebLogicMBeanMaker.java:796)
    Anyone seen this error before? What does it mean and how do I fixit?
    Any help
    is appreciated. Thanks!
    - Torin

  • Error Running jar file on Linux Server

    Hi,
    I recently wrote a small program to be run together when apache is being start up on the server. When the bin/startup.sh is executed, my program will be run together
    exec java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
    I included this command in the startup.sh but the following error came up when I run it:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/btsoft/magic/zip/ZipFile
    I placed the jar file in the same directory as the startup.sh.
    But when I run it directly on the console:
    java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile
    its fine..
    Can anyone help me with this problem?
    Thanks

    williammandrake wrote:
    I placed the jar file in the same directory as the startup.sh.That would suggest to me that your directory is wrong. I suggest you start by printing out cwd.
    Could also be a permissions problem as well.

  • Unsupported class version error trying to run jar file on windows machine

    Hi,
    i've written a program that connects to an access database to get its data. Created a jar file with the class files, the access database and other required files.
    works fine on my home windows computer but when i try to run it on another machine i get an error.
    here's what i write on the cmd: java -Xmx128m -jar myFile.jar
    heres the error i get:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: StartUp(Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    and so on.
    It seems like it might be quite a basic error but i'm lost, can anyone please shed some light and tell me where i'm going wrong?
    cheers in advance

    hey there, in case anyone was going to reply, i've worked it out now. couldn't work out what was wrong at first so just pulled out all my classes and put them into a brand new jar file. now use javaw -jar instead of java and it worked fine! wierd...

  • Error when executing JAR file

    I am trying to execute a JAR file, via the command line, when I get the following error:
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e file specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    Any suggestions?

    I am trying to execute a JAR file, via the command
    line, when I get the following error:
    Any suggestions?How are you trying to execute the file?
    some suggestions
    create a manifest.mf file with the following content
    Main-Class:TheNameOfTheClassWithMainMethod
    and hit return
    jar this file with any other .class files folders etc like this
    java -jar manifest.mf nameUwantToGive.jar *.class
    run by double click or by with the following
    java -jar nameUwantToGive.jar
    Hope this helps
    AA

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

    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\FileSearchAnd im using the command:
    jar cvfm jarname.jar directory\manifest.txt directory\FileSearch.class directory\FileNode.classIt says it creates the .jar but is unable to run it.

    dford425 wrote:
    First i have a question, can i make a .jar file that can run on a computer without JRE installed. No, not unless you package the JRE with your dist. Hence the name JRE (Java Runtime Environment).
    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
    That simply means your not pointing the runtime to the classes. Set your CLASSPATH environment variable correctly and it will run (given you have a JRE which it appears you do).
    And im using the command:
    jar cvfm jarname.jar directory\manifest.txt directory\FileSearch.class directory\FileNode.classIt says it creates the .jar but is unable to run it.

  • How to run jar file with classpath?

    Hi, all,
    I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar.
    Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with command:
    java -jar my.jar
    It tells me couldn't find javahelp class.
    What shall I do? How can I create my jar file with the jh.jar?
    Thanks in advance.

    Thanks, hjembaek,
    But it doesn't work for me. I am running in windows, it still generate the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/help/HelpSet
    at own.gui.OwnMenuToolBar.getOwnHelpBroker(OwnMenuToolBar.java:560)
    at own.gui.OwnMenuToolBar.addHelpMenu(OwnMenuToolBar.java:327)
    at own.gui.OwnMenuToolBar.getOwnMenuBar(OwnMenuToolBar.java:188)
    at own.gui.OWNDPTool.initGui(OWNDPTool.java:55)
    at own.gui.OWNDPTool.<init>(OWNDPTool.java:39)
    at own.gui.OWNDPTool.main(OWNDPTool.java:100)
    Here is my command to generate the jar file:
    jar cfm Own.jar temp.txt help own log others
    temp.txt is the file including the main class and class path information
    I have help folder, log folder and own package, others is directory that has the jar file(others/jh.jar)

  • ExceptionInInitializer when running Jar

    Hi,
    I have developed an application which uses jdk1.4,jai and 2 classes from the jai demo classes. My application does not work when I create a jar however it does otherwise. I have included the jai_codec.jar and jai_core.jar classes in my jar. When my jar is run I get the following error:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    <...>
    Caused by: java.lang.RunTimeException: Registry intialization file not found.
    at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
    Any help is much appreciated!!!!

    Hi again,
    it turns out that the application outputs the above error if I run it from anywhere except EditPlus (what I use to code my applications - not an IDE), i.e. if I run the main class file from the command line, the same thing happens.
    AAAAAHHHHH!!!!!

Maybe you are looking for

  • ITunes Can't Find Podcasts on my iPod Touch

    Since I upgraded to OS3.0 on my Touch, I have been unable to keep track of my Podcasts in iTunes (both 8 & 9). This has persisted despite upgrading my Touch to 3.1.1 and iTunes to 9.0.1.8. iTunes only finds 16 podcasts, even though I have 76 - so I c

  • What's the problem with the music App on iPhone 3GS iOS 6.1.3

    Sometimes the in the music app the volum doesn't show up, or sometimes I can't see The the name of the singer it's like showing like an iPhone five or something and its annoying Because its not a 4 inch it's. 3.5 inch can apple fix that?

  • Ipod won't sync certain songs after update to 5.1.1

    I updated my ipod touch to version 5.1.1.  This included the addition of icloud to my system.  Since I have updated it, my ipod won't add certain songs from my itunes.  It's really weird how it just randomly selected songs to download.  I have songs

  • File Server - File size\type search and save results to file

    I already have a vb script to do what I want on our file server, but it is very inefficient and slow.  I was thinking that a powershell script may be more suitable now but I don't know anything about scripting in PS.  So far the vb code that I have w

  • Preview acting odd

    Hello, My preview application has been acting strangely for about two weeks. PDFs scroll very sluggishly and once they finally start moving they're out of focus for about 5-10 seconds. Before, it was like flipping through a paper, now it's frustratin