Adding downloaded third party packages to my application.

Hello!!
I am new to SDN and this is my first post.
I am building a small application and it should have the ability to read a MS Word file from a location.
So I downloaded the Apache POI and extracted it to
C:\Program Files\JavaMy source files are in
E:\Java Assignment\lalaka\filereaderUtil\MSReader.javawhen i try to compile this, i get the error message saying that the package could not be found.
I have searched the internet andfound out about the classpath issue. But I am not clear how to do it.
Do i have to extract the POI files into my source code directory?? how do i get this compiled.
The same issue has pop up regrding java media framework too.
How do i add the functionality of a third party(ex: POI, JMF etc;) in to my applet, and how do i set the class path relevantly.

Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

Similar Messages

  • How to use  third party package in java application

    hi, i am a student , new to java world can any of u tell me how to import third party package in our java application.
    i want to know how CLI is done in java.
    i am going thru this link http://www.codezoo.com/pub/component/5574
    not able to get anything.
    please please help me

    There are two steps -
    1. Import the classes you need from the package(s) using the Java import statement in your classes that need access to them.
    2. include the 3rd part code (one or more .jar files and/or root directories holding the code's package tree and .class files) to your javac and java class path and optionaly to the class path found in your .jar's manifest file.

  • After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    After upgrading to Mavericks on my MacBook, I'm not able to download third party applications like Dropbox and MyCleanMac 2.  After clicking the download button, the screen just turns dark and is frozen.  Any idea what is happening?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Using third party packages

    I'm using NetBeans with a Nokia S60 sdk installed to write an app for a phone.
    I need to use a third party math package in the app, but I am new to this, so I have no idea how to do it.
    I've downloaded and unzipped the files for the third party package, but where do I put them and how to I use them in my project?
    (I don't mean how do I use the new functions, but how to I access them in NetBeans ... how do I NetBeans to "see" them ... just wanted to be clear about what I was asking).
    Thanks.
    Message was edited by:
    AlJohnJeffJoe

    Okay, almost there. I added the folder and was then able to use the commands.
    However, when I went to compile I got a weird error:
    Error preverifying class wabaMathFP
    java/lang/NoClassDefFoundError: waba/ui/MainWindow
    I am not using the waba stuff as far as I know, but I did see some waba class files in the same folder. Could that be the problem? It is trying to verify ALL the class files in that folder?
    Any suggestions?

  • Problems with third party package and file access

    I am using a third party package that allows me to decode
    multipart forms that I use to upload files to our server.
    I have been able to write my own code (JSP) that both reads and
    writes to our filesystem. However, when I try to upload a file
    using the third party package the method I am using fails with
    the following IO exception: The error message is "access is
    denied." But the files get written and are usable (even binary
    files). I have checked the directories and all the dirs I am
    writing to have read, write and execute permission.
    I have access to the code so when I duplicate the actual
    methods used for writing (FileOutputStream.write(foo)) in my
    JSP, it writes fine without exceptions. In fact, I use
    FileOutputStream.write() in other code and it works fine. My
    question is: why would FileOutputStream work in packages we have
    developed and not in a third-party package. I have added the
    codebase and filePermissions to <weblogic_home>\weblogic.policy
    without any changes.
    I am running WLS 5.1 and NT 4.0 with SP5.
    Does this problem sound familiar to anyone?
    thanks for any and all help,
    saulj

    HI Mike,
    If you have third party Document Management System, then you can post two different message, i.e. service order in transaction details of the third party tool with link to document which would be posted to third party Document management server.
    If you don't have third party document management system and what to use sap infrastructure, then you don't need to maintain attachment, maintain the link between the third party tool and SAP document repository, with some login utilities.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • Third party dirver in distribution application

    I am not sure how to add Third party dirver in distribution application in LV11 service pack1.
    Solved!
    Go to Solution.

    There are different ways, one that I use successfully in the past is to include the third party driver in the project, include it in your installer and use the "run after install" (I can't remember the exact name of this feature and being at home on my mac I can't check because LabVIEW mac can't build installers) option to launch the installer.
    Other ways would require more work I think, have look here.
    I've look a bit but I couldn't find a good (and recent) white paper about this on NI Knowledge base... can someone find a good white paper?
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • *URGENT* importing third party package into Jdev project

    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina
    null

    Hello,
    I'm not sure about what you mean,
    but in order to use a given package within JDevelopper, you should:
    - select project/project properties,
    - find the libraries tab
    - click "add", then "new"
    - click "class path"
    - click "add ZIP/JAR" and add the various jar files you want to include
    Note: if the included libraries contain subpackages of packages like javax, and you want to deploy your project (as EJB for instance) you will have to edit the deployment profiles in order to add the 3rd party libraries, otherwise, these subpackages won't be deployed (by default, packages suvh as java.lang, javax etc.. are not excluded from the deployment).
    about the PROJECTFILES and CLASSFILES items, they refer to the directories in which your project's source code (PROJECTFILES) and compiled classes (CLASSFILES) are stored
    Hope this helps, Remi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Augustina:
    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina <HR></BLOCKQUOTE>
    null

  • Compiling a programme with third party package help

    Hello all,
    I am writing a programme with a third party package (freetts.jar). The jar is is the classpath of my 2003 server and it compiles ok.
    import com.sun.speech.freetts.Voice;
    import com.sun.speech.freetts.VoiceManager;
    import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
    When I go to run it with java it cant find a class in the package!! I dont get it?
    When it gets to this part it throws Exeption in thread main java lang noclassfounddeferror com/sun/speech/freetts/VoiceManager
    public void myVoice(){
    VoiceManager voiceManager = VoiceManager.getInstance();
    Voice helloVoice = voiceManager.getVoice("kevin16");
    /* Allocates the resources for the voice.
    helloVoice.allocate();
    /* Synthesize speech.
    helloVoice.speak("Thank you for giving me a voice. "
    + "I'm so glad to say hello to this world.");
    It says that it cant find VoiceManager...I cant work it out, VoiceManager is in the package it imported ok at compilation.....why cant it see it when I run it?? This is driving me CRAZY...please help.
    Phil.

    Yes you were kinda right.. I went back and had another look at the 2003 environment variables. They have one set for the system and another for the current user. I have come to the conclusion that the system variable classpath just doesnt work. I looked at it over and over again and it looked ok to me. I just put the same thing in the users variables and low-and-behold it works!!!!
    Go figure!
    Thanks for that, I just needed a trigger.
    Phil.

  • How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • UTF8 DB using third party package

    I have an Oracle DB defined with the UTF8 characterset. I can use Oracle Forms to insert and retrieve multibyte characters from the DB however, I have not been able to retrieve multibyte characters using third party packages. These packages can retrieve multibyte characters from other DB's. Does anyone have any suggestions or other information about retrieving multibyte characters from Oracle DB's.
    Thanks
    Scott

    Hi,
    Unfortunately there was a regression bug around using the Generic JDBC connector to a Foreign Database in this Technology Preview (3). I'm not able to give you good news as I don't have a workaround for you either.
    You could use SQLDeveloper to connect to the database for live work, unfortunately that will not help if you wanted to create offline objects of some sort using JDeveloper.
    regards
    Susan
    http://www.susanduncan.blogspot.com

  • How can i download third party Softwares from Support tab in Apple site?

    Hi,
    Previously i downloaded third party softwares for mac like Browsers, Anti- Virus softwares from Apple site but now i can download only Apple products (softwares) not third party softwares from download links so any one please let me know the status.
    Thanks in advance,
    Suresh Balakrishnan.

    Apple no longer hosts a website for 3rd party software.  Instead it runs the Mac App Store, which offers a good range of software.
    If you are very keen for the apps and other things that are not in the Mac App Store, a good app to download is "Bodega" - which provides another app store experience.
    Cheers,
    Rodney

  • Compiling problem when importing third-party package

    Hi,
    I have a question about compiling a java application program. I tried to use a free package from third-party, say "abc.jar". I added it to my classpath by setting Win2000 CLASSPATH environmental variable.
    When I compile the program, it complained that it can not find the classes inside the abc.jar file.
    My program is located at: C:\test\Test.java. The abc.jar file is located at: C:\libraries\abc.jar. It is already set in classpath.
    Here is the structure of Test.java:
    import com.abc.def.ghi.PLOT;
    import com.abc.def.ghi.GRAPH;
    class Test {
    //main method using PLOT and GRAPH classes from abc.jar
    Suppose now I am in C:\test\ directory, this does not work.
    javac Test.java
    Then still in C:\test\ directory,I tried:
    javac -classpath ".;c:\libraries\abc.jar" Test.java
    Still it does not work, it complains that it can not resolve symbol "PLOT","GRAPH".
    How to solve this problem?
    Thanks.

    I'd put that JAR file in the same directory your Test.java file is in for now. You should keep it close to the Java files that use it in any case, IMO.
    Ditch that system CLASSPATH. (I don't have one.) You should always set the CLASSPATH as you need it when you compile and run.
    The statement you need to compile is:
    javac -classpath .;abc.jar Test.javaIf that works, you run by typing:
    java -classpath .;abc.jar TestThis assumes no package statement in Test.java.
    Are you sure that JAR contains two files named PLOT.class and GRAPH.class, both with paths com.abc.def.ghi? If not, the class loader won't find them in the JAR.
    It'd be better if you cut & pasted the message verbatim. If you've quoted it properly, the error you got sure is weird.
    That message means you've got a CLASSPATH problem. It's the stumbling block of every newbie. Don't rest until you figure out what you've done wrong. - MOD

  • How to use third party themes in swing application?

    I want to use some third party themes (like [http://www.javasoft.de/synthetica/themes/|Synthetica] ) in my swing appliaction. i am using eclipse ide, got the jar file of theme and added the following code(according to the readme file i got with theme) with my application code
    try
       UIManager.setLookAndFeel(new SyntheticaBlackMoonLookAndFeel());
      catch (Exception e)
       e.printStackTrace();
      }but after this modification its showing the following error
    The type de.javasoft.plaf.synthetica.SyntheticaLookAndFeel cannot be resolved. It is indirectly referenced from required .class fileswhat does this mean? i tried searching on net but cant really find any useful answers
    Contents of Readme file:
    System Requirements
    ===================
    Java SE 5 (JRE 1.5.0) or above
    Synthetica V2.2.0 or above
    Integration
    ===========
    1. Ensure that your classpath contains all Synthetica libraries (including
       Synthetica's core library 'synthetica.jar').
    2. Enable the Synthetica Look and Feel at startup time in your application:
        import de.javasoft.plaf.synthetica.SyntheticaBlackMoonLookAndFeel;
        try
          UIManager.setLookAndFeel(new SyntheticaBlackMoonLookAndFeel());
        catch (Exception e)
          e.printStackTrace();
        }   

    It seems that you have the library that contains the SyntheticaBlackMoonLookAndFeel class, but you don't have the library which contains the SyntheticaLookAndFeel class which is needed by the LaF you're trying to load.
    And their website even says in clear english: "The 'BlackMoon Look and Feel' can not be used standalone (without Synthetica)".

  • Ear files and third-party packages

    Hi all.
    I don't know where to put a third-party .jar package into an ear file. Does it have to go under the META-INF folder, or maybe it has to go at the same folder as ejb jars go? I read the J2EE specs, but it doesn't make up my mind.
    Thanks very much.

    In meta-inf folder change application.xml
    in <application>
    add here u'r application jar and third party jar
    eg
    <module><ejb>test.jar</ejb></module>
    <module><ejb>test1.jar</ejb></module>
    </application>
    put u'r all jar files ( application and third party jars )in parent folder.

  • Downloading third party ordered software

    I work for fed govt and my software was ordered by a third party (admin asst). He sent me my serial number but didn't order disks, figuring I'd download from Adobe. I can't seem to download. How do I download (or get the media) without having the third party's password? How can our admin assts order software for us in a manner we can have access?
    Laura

    Thank you for your response. I think the trial version trick is the way to
    go. The dept. chief who ordered us the software did give us the download
    link but it wanted us to log in with his password which would give us
    access to everything he's done for the dept. across the nation and that
    wasn't viable. Fortunately, someone in my building had ordered the full
    version and I was able to use their discs to install my upgrade. Again, I
    appreciate you giving a response to my question, it was most helpful.
    Laura L. Whitehouse
    Regional Visual Info Specialist
    USFWS, Alaska Region
    <removed by moderator>

Maybe you are looking for

  • Synch and connect Problems after upgrading to latest version 7.6.1.9 itunes

    OK... this is getting painful!!!!!!!! 1. Has worked for 6 months flawlessly.... 2. Upgraded Apple TV to the latest update - 2.0 - new look and feel. 3. Said I now needed to update iTunes to latest 4. Updated itunes to 7.6.1.9 5. Apple TV still showin

  • My mac pro keeps trying to boot up but will not.

    My mac pro keeps trying to boot up but will not. How do I fix his?

  • Widgets won't function

    when i open dashboard, none of my widgets show up. when i press the "+", all my widgets show up on the bottom, but when i drag a widget from the menu along the bottom to the upper area on which it's supposed to function, the widget shows up for a sec

  • Control WHEN mail is sent

    Hi, I am very new and just making the transition from PC 2 Mac. This is my question: In MS Outlook I can control when an email is sent so that it sits in the "out basket" until you decide to send it. This way you can write all your emails and then se

  • MacBook Pro won't turn on and just beeps. What's wrong?

    My Mac book pro won't turn and instead continues to beep three times, pause and repeats itself. What's wrong?