Install SQL Developer mac osx 10.9.1 - sql

i'm trying to install Oracle's SQL Developer in my macbook pro OSX 10.9.1 but I can't understand how to do it. I download a .gz file which I unzip to get an installer but all I have is an unknown file called sqldeveloper-4.0.0.13-1.80-macosx. It is not a .dmg or something so i don't know what to do whith it.
I've read that i'm supposed to run over the extracted directory something like sh sqldeveloper.sh from the terminal but that file isn't there, just the one mentioned above.
thanks

Extraction problem, "The Unarchiver" utility produced the unknown file, I decompressed the file download from Oracle's website with the Archive Utility and I got the installation file

Related

Rubyrep 2.0.0 installation not working postgre 9.3

I tried to install rubyrep following their instructions on their website and the the files are not running for installation. I have the latest JVM and on Windows 7. The application I am using is using POSTGRE 9.3.
I was running the batch file generated from the folder rubyrep.bat or is there a way to run the installation ?
Can someone guide me or give me tip on troubleshooting this problem even though the installation is straight forward?
From the command line change into the directory where you have extracted the rubyrep zip file. You then just run rubyrep NOT rubyrep.bat as shown in the picture below.

Tess4J - Native library (linux-x86-64/libtesseract.so) not found in resource path

I'm using Tess4J (JNA wrapper around tesseract), and trying to call tess.doOCR(myFile) to OCR text from a single-page PDF.
I have GhostScript installed (by using yum install ghostscript), gs -h works correctly.
My app server is using 64-bit JVM, and I have gsdll64.dll, and the 64-bit tesseract dll's liblept168.dll and libtesseract302.dll in the class path.
When tess.doOCR(myFile) is called, this is logged:
GPL Ghostscript 8.70 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
But then it just stops there. The program doesn't go any further.
UPDATE --
It looks like the real issue is from this error:
java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract': Native library (linux-x86-64/libtesseract.so) not found in resource path
After looking around a lot, I don't see a convenient place to find this libtesseract.so file, and I'm not sure what it takes to get this onto my Linux app server. I read that maybe I need to download some C++ runtime, but I don't see a Linux download for that. Any advice would be much appreciated.
Or is this something to do with a symbolic link?
The Fix was simple for me,just do sudo apt-get install tesseract-ocr from the command line. For linux you dont need to worry about the DDL librarires or the jvm version. Installing tessearct from apt-get will do the trick.
Those DLLs are for Windows. For Linux, you'll need to install or build from Tesseract source.
That GS version, 8.70, is quite old. The latest Ghost4J library that Tess4J uses is not compatible with that.
Tess4J should include required libraries. However, you need to extract them first.
This should do the trick:
File tmpFolder = LoadLibs.extractTessResources("win32-x86-64"); // replace platform
System.setProperty("java.library.path", tmpFolder.getPath());
You should replace the argument of extractTessResources(..) with your platform. You can find possible options by looking into the Tess4J jar file.
This way you need not to install Tesseract on your system.
Recently I wrote a blog post about Tess4J in which I used this technique. Maybe it can help if you need further information or a running example project.
sudo apt-get update
sudo apt-get install tesseract-ocr
download test data by git
https://github.com/tesseract-ocr/tessdata

Installing INF files for a PnP device using devcon dp_add

I'm using a BAT file to execute the following command to install my INF file to another computer:
devcon dp_add "linux-cdc-acm.inf"
It works fine with Win7 x64 but it fails in Win8 x64. The error message is:
Adding the specified driver package to machine failed. devcon failed.
I assume the INF file is correct as I can install it manually via the DeviceManager and there is no new entry on [%windir%\inf\setupapi.dev.log]. Is there another way to install INF files to the driver store for Win8?
And another thing, is using devcon really the normal and correct way in installing INF files to client computers?
EDIT:
I got the devcon source from WDK, debugged it and found that I am getting a [ERROR_ACCESS_DENIED]. Is this failing because of the settings in Win8? What are ways to overcome this?
It seems the batch file or devcon just needed to be "run as administrator" in win8.
and test signing the catalog file for the INF file was also needed.
Alternatively for future reference, I was able to use WiX and DIFxApp to create a .msi installer that installs linux-cdc-acm.inf and linux.inf (RNDIS) gadget drivers. https://github.com/ambrice/linux-gadget
Haven't been able to figure out how to create a 32 bit version from my 64 bit dev box yet, even though there's no binaries..

I've installed ImageMagick, added the proper line to development.rb, but Paperclip still won't let me upload photos

Using Windows 7. I've installed ImageMagick in C:\Program Files\, and I've tried adding the line
Paperclip.options[:command_path] = "C:\Program Files"
as well as
Paperclip.options[:command_path] = "C:\Program Files\ImageMagick-6.6.7-Q16"
to config/environment/development.rb. I still get the following error when trying to upload an image:
/Local/Temp/stream20110212-5000-s69b6a.png is not recognized by the 'identify' command.
Any ideas?
I had the same issue with a rails app using paperclip. In my case I'm on a Mac, but the error was:
/var/folders/es/es6TeBjk2RasAk+1YvsY6++++TI/-Tmp-/stream20110214-45420-usux9f-0.png is not recognized by the 'identify' command.
It seems to occur if ImageMagick (IM) is not compiled with PNG support. The windows binaries should come with PNG as one of the default delegates in the installation files.
Try reinstalling the latest version if IM. The alternate option is to recompile ImageMagick with the PNG library available. This is how I fixed this issue on my Mac.
For windows, recompilation is not so simple. ImageMagick offer a download of the libpng library from their delegates folder. They also supply instructions on an Advanced windows install using delegates. It requires the MS Visual Studio IDE to compile.

Server side solution to convert PDF to SWF?

I've found some tools that can convert PDF to SWF, but I'm hoping to find something or even a library to be able to be able to incorporate this on the server to be able to store the SWF in a database.
Have you tried SWFTOOLS? On Debian/Unbuntu:
sudo apt-get install swftools
pdf2swf filename.pdf
http://wiki.swftools.org/index.php/Examples#pdf2swf
They have a Windows version, and the source so you can compile it on other Linux flavors.