Jar file of Helliker.ID3 package

Hey guys,
I am facing a problem with making a jar file of hellikar.id3 package.I am importing hellikar.id3.ID3v2FormatException class but it is giving class not found error.I tried to set the classpath but its not working.Can any body please tell me how i should make the jar file helliker.id3.jar so that i can add it in lib/ext directly.
Please tell about how i can use jar cvf filename.jar   with regard to class hierarchy.I created a jar file but it is not working so i figured out that there must be a problem with from where(directory) to make the jar file on command prompt.*

Thespian wrote:
Please tell about how i can use jar cvf filename.jar   with regard to class hierarchy.I created a jar file but it is not working so i figured out that there must be a problem with from where(directory) to make the jar file on command prompt.*Have you tried the Jar tutorial? [http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
If you have gone through a tutorial and still have problems, I suggest you post a short example of what you try to do and what does not work. Include commands you use and error messages you get.

Similar Messages

  • Where is the .jar file that contain this package oracle.security.idm

    Dear Everybody
    Could you tell me where is the .jar file that contain this package
    oracle.security.idm
    Thanks for your help

    Hi,
    check jdeveloper_home\jdeveloper_10133_<version>\jlib\identitystore.jar
    Frank

  • Jar File Problem Using External Packages

    I am having problems creating an Executable jar file that imports classes from my own package.
    I can create an exe jar no problem without using any external packages, but when I use an external package the jar will not execute.
    I am using WindowsXP, my package is in,
    C:/MyClasses/Database
    the class files are stored loose, not in a jar file
    I have tried altering the class-path in the manifest file, but to no joy - I may have not changed the classpath correctly!
    Please help
    Magic

    This is a mine field of "correct programming style."
    External jars, if very general, could be placed in the directory jre/lib/ext.
    In some cases you can unzip the external jars and add them to your own jar.
    The manifest.mf migth be looked into, and of course you need to communicate your patching!
    As you remarked, it might be a problem of class path usage.
    For that the jar tool documentation might explain it better than I.

  • JAR file with 3rd party package

    Hello.
    I am sorry if similar question has been asked many times. But I really have no idea to make the JAR work...
    I have downloaded dom4j package into my Windows XP machine. And put the file to my C:\j2sdk1.4.0\jre\lib\ext\. Then I develop my application in other directory. Is there a way to edit the manifest file such that the JAR file can contain all the classes including classes from dom4j, such that I can run the application in other machine that without dom4j's jar file in the ext directory?? Thank you very much.

    why not?
    1. extract dom4j.jar
    2 add all extracted files to your own .jar file..
    everything will be ok.
    The following may help you..
    JavaJar(written by java) can compress and decompress jar,war, ear and.zip...
    it can deal with manifest file and executable .jar file .specially.
    may download from http://www.qwerks.com/download/4114/JavaJar.zip
    the tool is very verygood tool.
    but the homepage(www.pivotonic.com) of JavaJar cannot be accessed.
    it is funny.
    good lucky.

  • Creating an executable jar-file including a custom package

    I am trying to learn how to create executable jar-files. I have managed this with a single class. However having a class which is an extention of another class which in turn belongs to custom package, I can't make it work.Running the program normally is not a problem. I don't think the problem is the actual code, but I will include it here anyway. I create the jar-file using:
    jar -cmf Direkt2b.txt Direkt2b.jar *.class
    where Direkt2b.txt is just:
    Main-Class: Diriekt2b
    Only the main class-file is included this way. Copying the other file to the same directory before creation doesn't help either. There is no error messages, the jar-file just refuses to run no matter what.
    The main-class:
    import java.awt.*;
    import extra.*;
    class Direkt2b extends ExtendedFrame {
         Font f;
         Direkt2b() {
              f = new Font("SansSerif", Font.BOLD, 24);
              setBackground(Color.yellow);
              setSize(400,150);
         public void paint(Graphics g) {
              g.setFont(f);
              g.setColor(Color.blue);
              g.drawString("V?lkommen till Java Direkt", 45, 100);
         public static void main (String[] arg) {
              Direkt2b d2 = new Direkt2b();
              d2.setVisible(true);
    The help-class:
    package extra;
    import java.awt.*;
    import java.awt.event.*;
    public class ExtendedFrame extends Frame {
         private static boolean first = true;
         private boolean isFirst = first;
         public ExtendedFrame() {
              addWindowListener(theListener);
              first=false;
         WindowAdapter theListener = new WindowAdapter () {
              public void windowClosing(WindowEvent e) {
              dispose();
              if (isFirst)
                   System.exit(0);
    }

    My problem wasn't really getting more than one class in a jar-file,
    but rather that my jar-file with multiple classes wouldn't execute.
    Reading the original post I realized that maybe I was unclear about that.
    However I have solved the problem now so for anybody reading this
    thread in the future I will tell you how.
    The general setting is this: You have a bunch of self-made help-classes
    organized in some classdirectory somewhere in the filesystem. You use these
    in your programming from time to time. You have set a classpath-varible
    in your OS such that Java could find your help-classes.
    Now you want to create executable jar-files so that you could publish your work.
    My problem was that while I added all needed classes in a jar-file, the main-class
    couldn't find the others because they were referenced incorrectly. The solution I
    came up with may not be elegant, but it works. I copied the main-class and all directories
    (only one in my case) just as they appear in the classpath-directory, to the same temporary
    directory. Then I created the jar-file from there, using: jar -cmfv Direkt2b.txt Direkt2b.jar Direkt2b.class extra/*.class
    I suspected that incorrect referencing was the problem and I tried several variations on the theme above
    before giving up and writing the first post. Part the problem was that I didn't get any error messages,
    just an annoying error-sound double-clicking the jar-file. I learned later that you could run jar-files from
    the command -prompt using: java -jar myjarfile.jar. This way you get a more useful response.
    I guess there is a way to include the classpath instead somehow, but I will use my method for now.
    I hope this was helpful to somebody.

  • How to include JAR file as package

    I am trying to code for passing data from an Applet to javascript. It appears the preferred method involves a package netscape.javascript to include support for the JSObject class. found a download of a jar file which contains this package. I am using Sun Creator and JCreator but dont know where to or how to install this package to be available to the compiler. Sorry for the beginner level question but any help is greatlyt appreciated. TIA

    You need to create a project and add the jar to the classpath. Then you can import the required libraries.

  • Importing packages from jar file

    Hi all,
    I have a jar file that contain a package . And i set the clathpath with the path of jar file including the jar file name. And when I import the package i have an error that package does not exist. And I don't know why.

    1.) did you spell the path + name of the JAR file correctly?
    2.) Did you spell the package name including capitalization correctly?
    3.) Is the package hierarchie in the JAR the same as the package names?

  • Where is the jar file contain this package

    Dear Everybody
    Could you tell me where is the .jar file that contain this package
    oracle.security.idm
    Thanks for your help

    Hi,
    check jdeveloper_home\jdeveloper_10133_<version>\jlib\identitystore.jar
    Frank

  • Loading a DLL which is part of a JAR file

    I have a C++ DLL which I can successfully load from Java using JNI when the DLL is in the same directory as my JAR file. However, for packaging reasons, I would like to bundle the DLL inside the JAR file. When I do this, I can no longer load the DLL. I've tried modifying the java.library.path property using -D on the java invocation. I've tried setting java.library.path to the current directory, and also to the JAR file which contains the DLL, but neither works. I have a platform-independent JAR file which contains my base code. I also have a Windows JAR file in which I'd like to ship the DLL. It is within the Windows JAR file that I've placed the Windows DLL. I put both JAR files in my classpath, and they both load, but I'm stuck on the DLL. I've search the forums, and it looks like someone on the WebStart forum did something like this, but he was not specific about whether the DLL was contained within the JAR file.
    Here is the error:
    java.lang.UnsatisfiedLinkError: no WindowsAudio in java.library.path
    If all else fails, I will ship the DLL separately, but I was hoping there was a way to ship it within the JAR file.
    Thanks.

    >
    Let me know if you figure out how to delete the dll
    file from the applet once it is loaded.It is possible. I have done it but it is a bit convoluted.
    The key is in having the dll loaded by a ClassLoader that can be GCed when you no longer need the dll. When the ClassLoader is GCed, the dll is unloaded from memory and then you can delete it. You can only create new ClassLoaders from signed code, but that should not be a problem because it has to be signed to load native libraries.
    It basically goes something like this:
    In the base ClassLoader define an interface to all the methods you need in the native code.
    In create a ClassLoader that will define a class that implements the interface, and get a reference to an instance of it via Class.forName(String, boolean ClassLoader); Now you can access all the needed methods through the interface.
    Load the native code via the new ClassLoader.
    When you are done set all references to things loaded by the new ClassLoader to null, call System.gc() and System.runFinalization() several times to make sure it is cleaned up.
    Then you can delete the native library.
    As an alternative use a PhantomReference to the ClassLoader and then do the delete when the PhantomReference is enqueued. That way you don't have to call System.gc().

  • J2SE 1.4 cannot import from JAR files

    Windows 2000
    J2SE 1.4.0
    Textpad (IDE)
    Everytime I attempt to use a package from a JAR file, I get a "package _name_ does not exist" during compilation. If I un-jar the package, then the compilation runs normally.
    I am putting the JAR files in c:\program files\j2sdk1.4.0\lib and my classpath is set to .;c:\program files\j2sdk1.4.0\lib. I don't think its a classpath problem though, because it only occurs with JAR files.
    Textpad performs the following command to compile: javac filename. Manually compiling does not help, nor does using the -classpath option.
    It is as if javac is not looking in the JAR files, and like I said if I un-jar the package, everything compiles normally. This has been driving me crazy for a couple of months now, and I would really appreciate any hints anyone can give me as to what might be causing this.
    Thanks,
    Jeremy Figgins

    I just decided to check if it was possibly a bad installation; the problem occurs on my other Win2k machine as well, so that precludes that possibility. The directory structure on the other machine is slightly different as reflected by its CLASSPATH:
    .;C:\Program Files\java\lib
    Thanks,
    Jeremy Figgins

  • Which Jar file to import

    Hi Experts
            I need to import below mentioned package to write an adapter module.
            Package name :  com.sap.engine.interfaces.messaging.*
             I Am not able to identify name of the jar file in which this package lies.
    Thanks
    Ajay

    Hi Ajay,
    I guess this blog will help
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID1708152450DB01924696702449628261End?blog=/pub/wlg/11835
    Also check this link :
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=XI&title=WheretogetthelibrariesforXI+development&decorator=printable
    Regards
    suraj

  • Accessing ressources in jar file

    Hi,
    I need some help with jar files, please.
    The concept of jar files is quite new to me and I din't fully unterstand it yet I guess...
    I'm loading an image by
    ImageIcon image = new ImageIcon("image.gif");
    now I'd like to pack that image into a jar file, for simplifying reasons when using more files, which is not the problem, so far.
    But how can I access that file then in my java programm?
    Do I have to use the JarFile.getInputStream() method or what?
    Is there no 'easier' way, avoiding Streams and Readers?
    Can I hand over the JarEntry of my gif file to the ImageIcon constructor
    somehow instead of the file?
    Thanks for help..

    I guess you've set me on the right course, but I am
    afraid I don't really understand the concept of those
    class loaders, either.
    I read the part on jar files and extensions in the
    java tutorial(and therefore on class loaders, too),
    but I still don' get it.JAR Files and classloaders are two different concepts. The JAR file is merely a packaging method for Java code. Classloaders on the other hand, are the way the JVM finds the code classes. All a classloader does is load binary data from somewhere and pass it to the JVM for execution. See http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassLoader.html for more info.
    The relevant code part we're talking about here is
    used in a class extending JPanel , so thats what you
    get by performing getClass(), the running instance of
    a JPanel subclass.
    but obviousely there is no getResource() method in
    that type of class.Really? http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html#getResource(java.lang.String)
    Of course, Object.getClass().getResource() is just a convienence method for Object.getClass().getClassLoader().getResource(). Just as the ClassLoader can load the binary data that creates a Class object that lends itself to the execution of the Object you're loading, it can load other forms of binary data from the same location.
    what I don't understand is: where does this method
    come frome? do I have to add somehow a classlistener
    instance to my class? or add an implementation in the
    code of my class, providing a getResource method? A Class object (See http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html) is merely a "wrapper" object that represents the running code. It exposes the methods and fields for access. Normally Class is used behind the scenes, but it can be used to execute dynamically loaded code.
    You don't need to "add" a classloader. A classloader loaded the code that you are running. When it loads the class, it stamps it with its signature so that you know who loaded it.
    I guess you see now I really have no idea how the
    classloader system works ;)
    (and believe me I'm not asking dumb questions berfore
    trying to solve the prob by myself....)
    Thanks for any additional helpNo prob. :-)

  • JAR files needed ?

    I am trying to create a Dynamic Web Project in Eclipse exactly as Portal Project in Workshop, I am trying to find what are the JAR files we needed,
    Can any one point me to any resources where i can look into it,
    Thanks
    JD

    Hi,
    Use IBM class loader plug-in for Eclipse to find the required jar files by specifying the package name or class name. This will help you to avoid including files, which are not required.
    Regards,
    Bhavani Prasad

  • Where is jar file containing oracle.ifs.beans?

    Where is the jar file containing the Java packages that must be imported in order to compile a Java application that uses iFS? It doesn't seem to have been included when I installed the iFS development kit.

    1) To run an applicaiton against iFS you need the following entries in your Classpath
    classpath "D:\Program Files\Oracle\IFS\custom_classes;D:\Program Files\Oracle\jlib\oracle8.1.6\classes111.zip;D:\Program Files\Oracle\IFS\lib\xmlparserv2.jar;D:\Program Files\Oracle\IFS\lib\release.jar;D:\Program Files\Oracle\IFS\lib\repos.jar;D:\Program Files\Oracle\IFS\lib\tools.jar;D:\Program Files\Oracle\IFS\lib\utils.jar;D:\Program Files\Oracle\IFS\lib\adk.jar;D:\Program Files\Oracle\IFS\jws\lib\servlet.jar;D:\Program Files\Oracle\IFS\settings;D:\Program Files\Oracle\Lib\vbjorb.jar;
    null

  • Missing jar files

    Hi All,
    I am new to Netweaver. I have downloaded few sample applications from this site.
    If any one can help me in getting jar files for the below packages it would be of great help.
    com.sap.pct.srv.portaldataviewer_api.jar
    com.sap.pct.srv.portaldataviewer_core.jar
    com.sap.portal.compatibility50.jco_api.jar
    com.sap.portal.compatibility50.jco_core.jar
    com.sap.portal.runtime.application.jcoclient_api.jar
    com.sap.portal.runtime.application.jcoclient_core.jar
    jcoconnection_api.jar
    prtconnection.jar
    prtjndisupport.jar
    prtregistry.jar
    If you know atleast one of the path Please let me know.
    It would be grateful for you.
    And I find from SDN that we can logon to portal system administration->support->portal runtime->etc link.
    But I am unable to find out that portal runtime link in portal.
    Please let me know.  I have to finish this issue.
    Regards,
    Subashini.J

    Hi,
    you can find these files on your portal at location
    <b>prtjindisupport.jar & prtregistry[/b are at:
    system admin -->support -->portal run time -->browse deployment -->WEB-INF/lib
    <b>com.sap.portal.runtime.application.jcoclient_api.jar</b> file is at
    system admin -->support -->portal run time -->browse deployment -->/WEB-INF/portal/portalapps/com.sap.portal.runtime.application.jcoclient/lib
    <b>
    com.sap.portal.runtime.application.jcoclient_core.jar files</b>
    system admin -->support -->portal run time -->browse deployment -->WEB-INF/portal/portalapps/com.sap.portal.runtime.application.jcoclient/private/lib
    Regards,
    Ameya

Maybe you are looking for