Find difficulties to install a package

Hello
I need to install a new package: jmat.jar
I put the jmat.jar in /lib directory, but when I import this package in the programm below:
import jmat.data.*;
import jmat.data.matrixDecompositions.EigenvalueDecomposition;
public class PCA {
private Matrix covariance;
private Matrix EigenVectors;
private Matrix EigenValues;
public PCA(Matrix X) {
covariance = new RandomMatrix(X).cov();
EigenvalueDecomposition e = covariance.eig();
EigenVectors = e.getV();
EigenValues = e.getD();
after compiling: javac PCA.java
I have this error: "package jmat.data.* not found in import"
Can U help me.
Thanks

1. Are there classes in jmat.data ?
YES
2. Did you restart your machine yet since putting the file in the classpath.
YES
3. To make it automatic, it needs to be in lib/ext not just lib in the JRE directory.
I create a directory "ext/" in "lib/" directory
I put the file jmat.jar in "ext/" directory .... it does not work

Similar Messages

  • How to find out what files a package has installed?

    Sometime you installed a package, but you don't know the name of the command to run and you don't know the name and location of the configuration files. There are conventions but is there a way to show those information explicitly?

    aberkoke wrote:
    You can try
    $locate
    for example. you write
    $locate firefox
    and you will see all files about firefox.
    That's a partial solution. Suppose I installed a package called gtk-vim, but the binary is gvim and I didn't know that. If I use
    locate gtk-vim
    it will not find "gvim".
    Besides, different packages may install files with names identical or partially identical. What I want to find out is what files a specific package installed or removed, or changed, just like the deb package manager in ubuntu.

  • Hello I have lost my serial number for adobe photoshop elements. Bought from John Lewis last month. I did have it installed but had to uninstall but cannot find the any of the packaging etc plus did not register. What is the best way of getting it install

    Hello I have lost my serial number for adobe photoshop elements 13. Bought from John Lewis last month. I did have it installed but had to uninstall but cannot find the any of the packaging etc plus did not register. What is the best way of getting it installed again/replacement? Thanks

    Do you have the receipt? If you have proof of ownership, you _may_ be able to persuade Customer Support to help you out.  I imagine you would need to scan and email that proof if it works at all.

  • Where can I find the quick install package for EBS extensions for Endeca?

    I want to install EBS extension for Oracle Endeca 12.1.3.4.
    Where can I find the quick install package in the edelivery.oracle.com site? Which Product Pack should I select in the site?

    If you're getting a "This update requires Mac OS X version 10.7" message, than you have the updater and not the full installer. Go to your Purchases section of the Mac App Store and you should see the full version there. But it may be 10.7.5, though in my system is shows as being from 2011 which would appear to be the original version.
    As to Mountain Lion, that's supported only on the Early 2008 Mac Pro or newer.
    Regards.

  • I find it difficult to instal keynote and numbers for my iPad air

    Hi
    i find it difficult to instal keynote and numbers for my ipad air
    <Subject Edited by Host>

    Can you provide a little more detail, such as what happens when you try, or why specifically you "find it difficult"?

  • Trouble finding all Installed Oracle packages and versions

    How do I quickly find ALL installed oracle packages - like OWA etc. I know that I can look at DBA_OBJECTS - but I need to compare installed packages between two different databases? If anyone has any ideas - they will be very much appreciated.
    Thanks

    You can do a MINUS on dba_objects in two different databases.
    SELECT obj1.*, 'In DB1 Not in DB2' from dba_objects@db1 obj1
    MINUS
    SELECT obj2.*,  'In DB1 Not in DB2' FROM dba_objects@db2 obj2
    UNION ALL
    SELECT obj2.* , 'In DB2 Not in DB1' from dba_objects@db2
    MINUS
    SELECT obj1.* , 'In DB2 Not in DB1' FROM dba_objects@db1

  • Finding it difficult to instal my hp cmf2320nf MFP printer and when i open printer preferences it gives me a

    I am finding it to install my Hp printer cmf2320nf MFP. when I open printer and scanners from system preferences, it replies "There was an error in Printers & Scanners preference pane."

    Embie wrote:
    I was told by support that my problem was a hardware problem and that HP would not replace the faulty hardware.  Great.  I will replace my faulty hardware manufacturer.  Simple, HP never again.
    In the hour since you have registered you have posted seven messages, none of which contain any useful information that would allow someone here to help you.  Please read this post then provide some details in a new thread.  What printer model? What operating system? How is the printer connected - USB, wired LAN, Wireless LAN, bluetooth?  What is the problem you are having (with the printer...)?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Linux Installation- I can't find the required install script

    I'm trying to follow the LabVIEW installation guide for Linux, but I am having trouble. This post will be kind of long, as I will try to tell you everything I have done so far. I'm also kind of new to Linux, so I'm sure there are many things I don't know.
    I'm trying to use http://www.ni.com/pdf/manuals/374718a.html#installing
    and http://www.ni.com/pdf/manuals/375845d.pdf
    Step one from the guide is to insert the "installation media" and run
    #sh ./INSTALL
    and that's easy enough. Or at least it would be if I had any idea where this sh file is. I requested a copy of the install disks from my university (I'm installing on one of their computers), and they said that while they don't have any Linux install disks, they were pretty sure "it is on there somewhere," whatever that means. That seems to be about the extent of their knowledge regarding linux.
    On this disk is a folder named slcp10 with contents slcp10.cab, slcp10.mis, and slcp200_mft.cab, all of which are windows files and as far as I can tell impossible to run on linux unless I'm using WINE, which is clearly not the way to go.
    I also have a few ISOs from the site licensing department, but likewise no one seems to know anything about installing on linux. After mounting these ISOs I see that they contain the folders Bin, Common, Distributions, Licenses, and Readme (which is full of all kinds of irrelevant stuff). They also contain the files academicsitelicense.html, asladminresource.html, autorun.exe, autorun.inf, nisuite.xml, patents.txt, readme_core.html, setup.ede, and suite_md5_1.xml, none of which seem promising. Again, I only know how to install .exe files using WINE.
    I've since turned to the internet to try and download it from NI directly, and have gone to http://www.ni.com/download-labview/ and selected "Already own LabVIEW? Download the latest version." From there I select the dropdown for alternative OS, and select the MAC OSX option as I read somewhere on the NI help pages that this would work on a linux machine (which makes sense to me, as MAC is UNIX-based, right?). Well, that gives me a dmg file (apparently some sort of mac file?) which I found a way to use on linux by extracting it in 7zip and then mounting the hfs file. This still seems to be some sort of evaluation program, as it contains LabVIEW2014Evaluation.pkg, readme.html (which takes me to the OSX install readme-useless), installation_guide.pdf (again, solely for MAC and useless to me), drivers.webloc, and the folders Extras and Licenses.
    I'm at wit's end, man. I feel like I'm taking crazy pills. I've never had so much trouble installing a program before in my life, because technically I haven't even started the installation process yet, and I'm already about to defenestrate my computer. Please help me. I don't know what else to do, and I'm sure there is a very simple solution that I'm too ignorant to see.
    At our other lab we run windows, and installing is cake. After learning Linux over the past few months, I never thought I'd say this, but I actually wish I had a windows machine right now.
    Solved!
    Go to Solution.

    Well, I managed to get it installed, but only because I found another ISO from the site licensing department that had linux install files. Oddly enough, this single ISO is a scant 3 Gb while there are three other ISOs that each come in at 7.5 Gb. Are there really that many missing packages in Linux?
    Sorry if anyone reading this has similar issues, but the best I can do is say find the Linux install disk.

  • I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem"

    I tried updating iTunes to version 11.1.1, but installation fails each time even when I did it manually as was suggested.  The message I receive is: "The installer has encountered an unexpected error installing this package.  This may indicate a problem with this package.  The error code is 2324."

    Hi hongkongpom,
    Just wanted to say that after posting the problem, I had a chat with an iTunes' Tech Support, her name is Rebekah.  My problem was resolved after that.  Will list the chat history below in hopes that it may help you as well.
    Good luck!
    Samia  
    Chat Transcript
    Friday, October 4, 2013 05:55 AM
    Duration: 81 minutes 28 seconds
    Rebekah:
    Welcome to AppleCare chat support. Please give me a moment to look over your information.
    Rebekah:
    Hi, Samia! My name is Rebekah. If we get disconnected, please chat us back. http://www.apple.com/support/ipod/contactEnter the case number from the initial email we sent you. This gives the next advisor you chat with immediate access to your case history.
    Rebekah:
    Could you please confirm your serial number? I want to be sure we provide the best service possible for you, Samia!
    SAMIA:
    Sure, it's 8L8395UY2C5
    SAMIA:
    My problem is with iTunes.
    Rebekah:
    Thanks for that confirmation. Just a heads up, this is iOS Tech Support. We do support iPod touches, iPads, and iPhones, but not the iPod classic. But no worries! I can get you in touch with a phone Advisor who can get you in touch with the department that specializes in iPod classics and would be able to better assist you. Would that be OK?
    SAMIA:
    I wasn't able to install the new version of iTunes (version 11.1.1). The installation keeps failing. The they suggested the I install it manually and that failed too. I will attach the message I received.
    SAMIA:
    I don't have a problem with iPod.
    SAMIA:
    Just iTunes
    Rebekah:
    No problem! We can certainly troubleshoot iTunes as much as possible. It may come to the point that you may have to transferred, but we can do as much as possible during this chat!
    Rebekah:
    Thanks for the screenshot. It is a bit small so I am unable to fully see the message that you are receiving. What is the error message you are receiving?
    SAMIA:
    This is the message I received in case you weren't able to open the attachment: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324."
    Rebekah:
    Thanks for that info!
    SAMIA:
    Pleasure!
    Rebekah:
    What version of Windows (XP, Vista, 7) do you have?
    SAMIA:
    Windows 7
    SAMIA:
    Windows 7 Home Premium
    Rebekah:
    Thanks for that confirmation. I do apologize for the delay, Samia. I am researching this error code now. You mentioned trying to install iTunes manually. To be sure I am on the same page, what steps did you take to do that?
    SAMIA:
    Well when the indsatalltion failed I was given instructions to select Download Only from Tools and then install manually. When I did it, I window popped up with the following items: - AppleApplicationSupport
    SAMIA:
    - AppleMobileDeviceSupport64
    SAMIA:
    - Bonjour64
    SAMIA:
    iTunes64
    SAMIA:
    SetupAdmin
    SAMIA:
    I selected Repair in all of them instead of Remove and all worked but iTunes64
    SAMIA:
    That's when I received the message that I sent you earlier.
    SAMIA:
    By the way, this is the fir st time something like this occured. I never had problems with installation before.
    Rebekah:
    I completely understand what you're saying. Since that Repair did not resolve the issue, our best option is to uninstall iTunes and its components and redownload it. To do this, we will follow the steps in this article: Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Rebekah:
    First, we will want to quit iTunes and/or Apple Software Update if those are open at this time.
    SAMIA:
    Rebekah, the instructions you gave says, "For Windows XP, follow these steps to remove and reinstall iTunes and other software components for Windows XP."
    SAMIA:
    I closed all applications
    SAMIA:
    Also, my iTunes doesn't open anymore after the new failed installation.
    Rebekah:
    The section that says "For Windows XP…" is in case we opened up the wrong article, as we have the one for Windows Vista, 7, or 8. There is a link to click ("these steps") in those directions that would take us to the article for uninstalling on a Windows XP.
    Rebekah:
    So no worries! We have the right article!
    Rebekah:
    On the computer, we will want to click on Start > Control Panel. In Control Panel, we will click the "Uninstall a program" link.
    SAMIA:
    I thought so after doing a little exploration.
    SAMIA:
    done
    Rebekah:
    Alright, we'll want to select iTunes from the list of currently installed programs. Then we will click Uninstall. When asked if you would like to remove iTunes, let's click Yes.
    Rebekah:
    After the uninstallation is complete, we don't want to restart your computer if you're prompted.
    SAMIA:
    Done
    Rebekah:
    Then if you see other iTunes entries on the list, we'll want to remove them the same way.
    Rebekah:
    Then we will remove all instances of Apple Software Update the same way you removed iTunes.
    SAMIA:
    Okay, but do I have to remoce iCloud as well?
    SAMIA:
    Rebekah, I received the same error message again when uninstalling
    Rebekah:
    We actually do not need to remove iCloud. After the Apple Software Update, we will want to remove all instances of Apple Mobile Device Support
    Rebekah:
    How strange! Are you able to click past that and allow the process to continue or has it stopped it completely?
    SAMIA:
    I am unable to uninstall iTunes either
    SAMIA:
    Stopped completely
    SAMIA:
    I treied clicking Repair
    Rebekah:
    Alright, after trying the Repair option, let's see if it will allow us to continue uninstalling or not.
    SAMIA:
    I tried that but unfortunately, it isn't working. I still get that same message with error code 2324.
    Rebekah:
    This error code is not something that I am finding in my sources, Samia. So there is a chance that it is being caused with the Windows computer itself. However, I did find a link that may be able to help with uninstalling iTunes from Windows' support site: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    SAMIA:
    Rebekah, you're a genius! It worked! iTunes is no longer there. What next?
    Rebekah:
    Awesome! I'm glad that worked!
    Rebekah:
    To be sure I am on the same page, what was the last component we uninstalled?
    SAMIA:
    iTunes
    SAMIA:
    Shall I remove the Apple Application Support, Apple Mobile Device Support, and Apple Software Update
    Rebekah:
    That is correct! However, we do want to uninstall it in the order I mentioned above. So Apple Software Update first, Apple Mobile Device Support next, and then Apple Mobile Device Support.
    SAMIA:
    Got it, but is the second one to uninstall Apple Mobile Device Support OR Apple pplication Support?
    Rebekah:
    The second one is Apple Mobile Device Support.
    Rebekah:
    The Application Support will be the last component we uninstall.
    SAMIA:
    Thanks! I'm on it.
    SAMIA:
    Done! ll 3 are gone, well 4 with iTunes. Now what?
    Rebekah:
    Awesome! Also, I just noticed that I accidentally typed Apple Mobile Device Support twice, I do apologize for any confusion! Now we will remove all instances of Bonjour and then remove all instances of Apple Application Support.
    SAMIA:
    There was only 1 instance with Bonjour. I don't know what the instances are for Apple Application Support
    Rebekah:
    Yes, Bonjour is often only listed once. Is the Apple Application Support listed at all?
    SAMIA:
    No
    SAMIA:
    Since I removed it
    Rebekah:
    Oh, perfect! If it was removed, we should be set!
    Rebekah:
    We have removed iTunes and its components now! From here, our next step is to restart the computer. Then once you reboot, you can redownload iTunes from apple.com/itunes
    Rebekah:
    That should allow you to download iTunes!
    SAMIA:
    Shall I downloaad the latest vesion?
    Rebekah:
    You will want to first restart the computer as shown in the article. That will ensure that this process goes smoothly and that everything was removed correctly! Then you can try downloading iTunes again.
    SAMIA:
    Okay, thanks Rebekah!
    Rebekah:
    You're very welcome! I'm glad I could help! And of course if you have any issue after the reboot and download, you can always chat us back, as chat is open 24 hours! You will just need to give your case number and the next Advisor would have all my notes!
    SAMIA:
    Thanks again for all your help, for I couldn't have managed with out it. Have a nice day!
    Rebekah:
    You're very welcome! I know how important iTunes is and I'm glad we could get you on a path to resolution!
    Rebekah:
    I hope you have a lovely day!
    Rebekah:
    It's been a pleasure speaking with you! Thanks for chatting with us Samia. If you don't have any more questions, select End Chat from the upper left corner of the chat window.
    SAMIA:
    Will do, thanks.

  • Problem while installing Setup package

    Hi all,
    A week before i installed setup package on one device it worked perfectly fine.
    Today i created new setup package with parameter sets( MI_CONFIG and included parameter MobileEngine.Sync.Gateway.Service=/sap/bc/MJC/mi_host
    MI.Sync.ProtocolVersion=251500
    And did not added these two lines in Mobileengine.config file.
    My device is looping between two screen Ie Logon screen and change password screen. Whenever i enter the username and password it enters into Change password screen and then again to logon screen.
    What can be the problem?
    Thanks and Regards
    Neha Kapoor

    Hi Neha
       This is because after after you have created a setup package, a configuration tells the user to change his password on this first login to the client. If you open the MobileEngine.config file you will find an entry called <i><b>MobileEngine.Security.PasswordChangeRequired</b></i> with a value true.  Just set the value to false and restart MI.  If the parameter is not present, add the same and restart.  This should solve your problem and the change password page will never appear again.
    Best Regards
    Sivakumar

  • How to install/add packages to org.apache

    hi everyone!
    i'm pretty new with Java and i wanted to know how to install a package i downloaded from "http://www.apache.org/dist/jakarta/". the package name is poi and i have no clue how to do it so i'll be able to import some classes from it in my code... (i tried to just paste it the file src.zip at the location org/apache but it didn't worked)
    thanks for you help,
    shimon ;)

    "install" isn't really the right word. You'll have to learn to think differently about JARs in Java. because you don't "install" them and your apps don't get access to them via the operating system. They're more like dynamic link libraries or DLLs in Windows parlance.
    What you should do is figure out what a standard directory structure for all your applications will be, maybe something like this:
    application
    +
    +------source (put your .java source files in their package structure under here)
    +------lib (put your 3rd party JAF files under here)
    +------classes (compile your .class files to this directory)
    So in this case you'd put the POI JAR under /lib for your project. Tell Eclipse that /source is where it should expect to find all the .java file, that /class is the output directory for all compilations. Right click on the project folder, select "Properties", and add all the JARs to the build class path. Then you'll be all set with Eclipse.
    Tell Eclipse that application is the root of your project. Tell

  • Install a package from Solaris 10 cd

    Hello,
    I accidentaly removed a package (namely SUNWgcc) from the system. I have the Solaris 10 CDs. Is it possible to install this package for the CD? I check the CD and it looks like SUNWgcc on it is not a package that I can install with pkgadd -d.
    Thank You,
    PN.

    This does not seem to work from the Solaris 10 CD 1 -
    the CD directory structure is different.
    Specifically I am trying to install SUNWmfrun which
    is in the /cdrom/tmp/root/var/sadm/pkg directory.Don't go there.
    Stay in the Product directories on the CDs. You'll find the package there.
    However this directory doesn't have a pkgmap file in
    it so running the pkgadd command fails. No, that's not a package. /var/sadm/pkg contains information about the package database, so some of the files and directories there have the same name as packages (but they're not packages).
    Further investigation shows another directory,
    /cdrom/tmp/root/var/sadm/pkg/SUNWmfrun/save/pspool/SUN
    Wmfrun which does have that file, but running pkgadd
    against that directory fails completely.Still not a package.
    How can I use pkgadd to add packages from the first
    CD in the Solaris 10 installation?The packages are in the 'Product' directory.
    Your paths seem odd. You have a normally booted host and you're just inserting the CD? What are the contents of /cdrom?
    Darren

  • Can't find my newly installed Windows Installer 4.5

    022614: Windows XP, 
    I've installed the newest version of Windows Installer several times and I can't find it anywhere on my system. It is not listed as a program and it is not listed in the Control Panel Add/Remove list.
    How am I supposed to find out if my installation actually exists? I want to install an older version of Java (currently have 7u51) so that I can play the Text Twist game on Excite Games. The older version demands that I have Windows Installer on my system
    before it can complete the installation. So I go find Windows Installer 4.5 and have tried several times to install it, but I can't find any proof that the installation actually completed.
    I expected to see the Windows Installer 4.5 in the Control Panel, but it's not there. I do, however, have the latest version of Windows Installer Clean UP, as well as Windows Fix It.
    Any help on this would be HUGELY appreciated.
    dmh

    Thenk yew veddy mutch! I did run the msiexec.exe and it opened a Windows Installer window with a bunch of instructions about options and parameters that can be used. Here's a little capture of what was shown in the window: 
    Windows ® Installer. V 4.5.6001.22159 
    msiexec /Option <Required Parameter> [Optional Parameter]
    Install Options
    </package | /i> <Product.msi>
    Installs or configures a product
    /a <Product.msi>
    Administrative install - Installs a product on the network
    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
    Advertises a product - m to all users, u to current user
    </uninstall | /x> <Product.msi | ProductCode>
    Uninstalls the product
    Now I assume that this window is showing me that I "have" installed Windows Installer v4.5.6xxxxxx.xxxxx. I'm a little surprised that it doesn't list itself in the Control Panel. 
    I did go to the long link you provided and discovered that during my searches I had actually sifted through that forum (up to 18 pages, then I quit as I couldn't find any postings or threads regarding how you verify that you have, indeed, installed WI 4.5). 
    That was another surprising thing about the Windows Installer installation steps - the last step DID NOT verify that the installation was completed and everything was working properly. 
    So I'm very grateful that you gave me extremely useful information and now I'm off to try to install Java 6, 32-bit. Hopefully my WI4.5 installation will behave beautifully and I'll again be able to go into "brain dead" mode while I play Test Twist up to
    100,000 just before I go to bed :)
    dmh

  • Unable to Install any packages in Fink

    I am unable to install any packages either via Fink commander or via the terminal. I was able to install some just the other day, so I don't know what went wrong.
    I have not been able to get Fink commander to see any package lists, despite following every bit of advice I could find in these forumns and on the net. Also, I updated the repositories rsync as instructed on the net. I can see the list of Fink packages by running "Fink List". However, when I try to install "sudo apt-get install xyz package" I connstantly receive the error "xyz package not found".
    I'm sure this is a case of operator error, only I don't know what that error might be. I would be most grateful for anyone's help in this regard as I really enjoyed the Fink programs like kdegames that I was able to install before I started having this problem.
    My thanks to everyone for any assistance they can provide.
    Message was edited by: PugetSounder

    I appreciate your previous response, instructing me to enter "source /sw/bin/init.sh as a user in order to run Evolution.
    My problem is that this solution only lasts until I logout. When I log back and and try to run evolution via terminal, I receive the error "Command not found". Once I enter your instruction again, all is well-for that session.
    Is there a way I can do this globally and make it "stick"? By making it stick I mean so that I don't have to do it each time I want to run evolution.
    These issues of course don't happen when evolution is run as admin user. Also, it's worth noting that evolution is the only fink program that causes these problems. Other KDE programs like kgeography and kmahjongg don't have such issues.
    I appreciate any feedback you can give with this issue.

  • How to find java is installed in database and how to install it if its not there

    HI,
    I want to use sqlj in my work, but I m not sure that Aurora
    JVM is installed in the database while creating it.
    So how can I find abt it. if its not installed which packages
    should I run to install it in the current database.

    Hi,
    Dont know how to check if it is present but there should be a
    script called initjvm to install the java stuff.
    Roger.

Maybe you are looking for

  • Issue related to Total's

    HI Experts, Actually I am new to WebI.I have got an requirement to dispaly total number of employees in the report.Usually this report should show Department names and employees related to that departments and number of employees in particular depart

  • Satellite M70: WLAN connection lost

    Hello! I have Satellite M70 and I use integrated Intel WLAN card 2200bg. I have the latest drivers downloaded from Toshiba web site and Asus WLAN router w520g with latest firmware. Connection signal is excellent but sometimes actually very often conn

  • 5800XM and Music Player

    I have a problem with the built-in music player, it seems to add every playable file on the playlist.. and i use several ring tones that are not nokia default and it would be nice NOT to be able to see those tones on the playlist, any way of doing th

  • Omit the XML declaration when using the PHP MM_XSLTransform class

    Hi Is there any way to omit the XML declaration when using the PHP MM_XSLTransform class? When using the PHP MM_XSLTransform to transform some XML into HTML, the XML declaration is faithfully delivered, which is expected. In my case though this ends

  • Browser Testing on Intel Mac

    I'm trying to find articles / information that outline good methods to perform browser testing on an Intel Mac. I already use Browsercam, which works to a point, but I need to test the functionality of navigation systems which I can't do with screen