Getting an error in the file path
The code that I have written:-
File file1=new File("C:/PDFreader/ocr.gif");
BufferedImage image1 = ImageIO.read(file1);
String s=new OCR().recognizeCharacters(image1);
error:-
Exception in thread "main" java.lang.UnsatisfiedLinkError: no AspriseOCR in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.asprise.util.ocr.OCR.loadLibrary(OCR.java:247)
at com.asprise.util.ocr.OCR.<init>(OCR.java:56)
at ExtractImages.main(ExtractImages.java:38)
i have included the asprise OCR to my library.
import com.asprise.util.ocr.OCR;
even then Why am I getting this error??
Do I need to import any other files ??
Please could you help out..
Sorry...
Check whether you have given the path correctly..
Importantly check whether you have placed AspriseOCR.dll, DevIL.dll and ILU.dll in the following path,
C:\WINDOWS\system32 -- if you are using windows XP.
I think this is your error....try and tell
Similar Messages
-
Trying to uninstall or repair get an error message: The folder path 'My Music' contains an invalid character. How do I fix?
Try the following user tip:
"not a valid short file name" and "invalid character" install errors -
How can I convert an Excel (2008) document to Numbers. When I drag the Excel document onto the Numbers icon I get, "Import error. The file format is invalid.
That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
I see two possibilities for Numbers inability to open it and the message you receive:
1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
2. The file is an Excel file, but has somehow been corrupted.
Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
Regards,
Barry -
When I try to install file 1 of 2 for premier elements 9 I get an error. The file archive archive part is missing.
Can anyone help?Sharky101
From where are you downloading these Premiere Elements 9 installation files....Adobe direct or from another web site?
Please start again. If you did not already, turn off the antivirus and firewall(s) before starting with File 1 and then File 2.
File 1 should be the Adobe Application Manager or its counterpart (.exe file), and File 2 should be the program (.7z file).
If you have not tried it already, consider the following link from which to obtain your installation files for 9.
http://prodesigntools.com/photoshop-elements-9-premiere-elements-9-direct-download-links.h tml
These are tryout files into which you insert your purchased serial number during installation in order to make the files your copy.
Please remember - after the install of Premiere Elements 9, download and install the 9.0.1 Update
for Windows
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4929
for Mac
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4930
Please let us know if you are OK with the above information.
Thank you.
ATR -
HT201272 I keep getting an error saying the file is corrupted when I try to download a purchase
I am trying to download a song I purchased from the iTunes store and I keep getting an error stating the file is likely corrupted and to try again. I have the latest iTunes version on my Windows7 machine. Any help would be great.
I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the item that is not downloading properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
(Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.) -
How do I get iTunes to show the file path for music
I am trying to get iTunes to show me where songs are located on my computer, Hoiw do I get this to show up in iTunes? Thank you
PTIIIk wrote:
I am trying to get iTunes to show me where songs are located on my computer, Hoiw do I get this to show up in iTunes? Thank you
Right-click the track in the library, and choose Show in Windows Explorer.
If you were hoping to get the file path displayed in a column, as is possible in Windows Media Player, note that iTunes does not have that ability. -
I downloaded the Beatles White Album I am getting errors saying the file cannot be converted next to each song that will not load on the IPod 16 songs were loaded and the will not, I restored the IPod twice and still get the same errors any help appreciated, I checked convert the higher bit rate songs to 128 kps this is the first album that will not load for me
Welcome to the Apple Community.
Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer. -
Can not download and install Itunes 10 - Get this message "The folder path 'Program Files' contain an invalid character. I tried to uninstall my old Itune through Control Panel but get the same message. What do I need to do?
Perhaps try the following user tip with that one:
"not a valid short file name" and "invalid character" install errors -
I am getting an error that the file is not found when I sync my photos on my 3gs phone
I am trying to update my phone with my new pics and when I tried to sync it I am getting an error message that states the Iphone cannot be synced because the file cannot be found. How do I correct this I have an Ipad and I dont want to try syncing it till I get this error fixed with my phone
Try deleting what is called the iPod photo cache from your computer's hard drive.
http://support.apple.com/kb/ts1314 -
I get an error message for all the Apple tutorial videos: The file you are trying to play has failed to finish downloading and can no longer play." What is wrong and how can I fix it?
This means that you have downloadd the file from the internet, and the file did not download completely so the computer can't play it. To fix this, just re-download the file and make sure it finishes.
-
Hi all, please help me reinstall Itunes onto my PC. When i did a pc refresh, it deleted my itunes and microsoft office. I am now trying to reinstall itunes and am getting the following message each time i try run the new downloaded version ( i have tried a few older and the latest one and all show the same message)
the file Itunes cannot be read because it was created by a newer version of itunes. I have downloaded the latest version
Cheers
AndrewTell us some version numbers please, of your Mac OS versions and iTunes versions on both computers (two eMacs yes?).
dlrobinson49 wrote:
I guess I must have had a newer version ofiTunes on my defunt eMac....
That is a pretty good guess.Try updating the second eMac's iTunes to at least the version that was on the first. -
I needed to upgrade my iTunes to register and sync a iPhone 5c. I upgraded by Apple Software and finally was able to download the upgraded iTunes. When I try to start iTunes I get this message, "The file iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. How can I repair this?
If you still have an issue you may have to see about using the iTunes version (application) included with Snow Leopard 10.6 from the installer or an another one if available online, and see if that will install.
Sometimes you may have uninstall the bits left in your system by the earlier (or later) iTunes installers; as they all leave a trace and these can stop a different version of iTunes from being installed.
Not sure if the following site/link will tell the method...
•Apple - Support - iTunes - install & update:
http://www.apple.com/support/itunes/install/
•Troubleshooting iTunes installation on Mac OS X:
http://support.apple.com/kb/HT2311
Good luck & happy computing!
ps: i see you resolved this issue. it's magic! -
I had a prompt to update the software, when this was updated i tunes would not open coming up with a 404 error message. So I uninstalled it, reinstalled the 64 bit version for windows, now it wont open with the mentioned error message.
zepel has it, but perhaps some more detail will help.
Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
tt2 -
please help me i can open itunes because i get the error message above!!
hold down ALT + H click on check for updates, then update itunes, after that it will work.
-
I own a website selling digital files. My customers receive an email after they place their order with a download link. Up until yesterday (for the past 3 years to be exact) everything worked smoothly. I have not changed one thing on my site or cpanel. Now customers get an error that the file is invalid or corrupt when they try and download with firefox. The links work fine with chrome. Please tell me there is a solution. This is causing major trouble!!!
You can get a "Corrupted Content Error" error if there are multiple location redirects send via the HTTP response headers.
*http://www.mozilla.org/security/announce/2011/mfsa2011-39.html
*[https://bugzilla.mozilla.org/show_bug.cgi?id=681140 bug 681140] - Corrupted Content error due to multiple Content-Disposition header field instances
A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.<br />
You need to register at the mozillaZine forum site in order to post at that forum.<br />
See http://forums.mozillazine.org/viewforum.php?f=25
Maybe you are looking for
-
Topic says it all... My friend started a installation of Windows Vista, but pulled out after deleting all partitions... So now i power it on, get a blank screen (seems a bit gray because of backlighting, should show the apple logo right?)... Then aft
-
Extracting images and saving as separate .jpg AAX
Hello, I have Acrobat X Standard and I would like to extract the images (photos) from a .pdf and save the images as separate .jpg's (to insert into another document (.doc)). I do not have Photoshop available to me. Is this possible? Thank you, Juli
-
Copy File, Delete File & Opening Document
Hi All Please help, note that I use JDK 1.1.7A. I have 2 directories I recieve a file into the first. This kicks of a process, when the process is finished I must take the file and copy it to the 2nd directory. Once it is copied I have to delete it f
-
Hi All, At the moment we are using CO cycles for distribution and assesment. Business is asking for the plan cycles as well but the same cycle segments will be used. Is there a way that i can copy to actual cycles to plan cycles. Thanks, Ama
-
TM2- no pressure sensitivity in photoshop!
hi guys, i just installed photoshop cs3 , which both do not work when it comes to pressure senstivity, ive tried updating it but still no go, please, need help!