Setting up Tess4J on IntelliJ

Posted on

Here's a quick guide to getting Tess4J Up and Running. Let's go ahead and start up IntelliJ, and create a new project with the first class being called Tesseract. We'll be using the provided sample code. package com.company;; import java.io.File; import net.sourceforge.tess4j.*; public class Tesseract { public static void main(String[] args) { File imageFile = new File("eurotext.tif"); Tesseract instance = Tesseract.getInstance(); // JNA Interface Mapping // Tesseract1 instance = new Tesseract1(); // JNA Direct Mapping try { String result = in…

Read more »

IntelliJ Git Error

Posted on

Error: Cannot run program "git.exe": CreateProcess error=2, The system cannot find the file specified The problem is that intelliJ cannot find the Git program on your computer. Either because you don't have it installed or because it's in a different location. Easiest way to fix it, is to download git, and put in the new path. If you have the GitHub app installed follow these instructions. on intelliJ go to Settings -> Version Control -> Git In text box next to "Path to Git Executable" you will see "git.exe", just give it the following full path. Check if you have git installed at this loca…

Read more »

Compiling Your First Java Program with IntelliJ

Posted on

Part 1: Setting Up IntelliJ Now you should have the "Hello" project open on IntelliJ, and it should look something like this. On the left you have your project folder, it's just a more advanced view of the actual folders on your computer. Main with a C symbol, is a class. Which holds all your actual programming. Just incase you couldn't grab the github project, you can find it here: https://github.com/Nixhatter/Hello To Run the project, just go to the Run menu at top and hit run (Shift+f10). Give it a few seconds to compile, and at the bottom you should see something like this. Congratulations…

Read more »

Setting up a Java Project with IntelliJ and GitHub

Posted on

Download List: IntelliJ - http://www.jetbrains.com/idea/download/ JDK - http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html GitHub - https://mac.github.com/ or https://windows.github.com/ You will need a GitHub account GitHub Create an account on https://github.com/ and download the app for your OS, listed at the top. IntelliJ IntelliJ is a lightweight Java IDE that just makes everything simple. Follow the standard installation procedure on your OS, and then start it up. If it asks you to import any preferences, select the "Do not import" option. At the welc…

Read more »

Choosing the Best DNS Provider for You

Posted on

Changing the DNS server your computer connects to can be beneficial in many different ways. It could increase web browsing speeds, make downloads go faster and can get rid of those pesky messages/ads your isp adds to your web pages. Most guides would tell you to just go with google or opendns, but in some cases they might not be the fastest option for you. That's where namebench comes in: http://code.google.com/p/namebench/ Just download and hit "Start Benchmark". The options are pretty self explanatory, and I highly recommend checking the "Upload and share your anonymized results" because i…

Read more »

Choosing the Best Password Manager

Posted on

I'm a big fan of password managers, over the years I've joined countless number of websites, forums and random services. Currently, dashlane is holding over 200+ different logins for me and I've been using it for less then a year.Why do you need a password manager?Simple, password reuse is the largest cause for website accounts being compromised. Relevant xkcd:What are your options?(In order of best to worst)DashlaneMy personal recommendation. It is an online password manager, but it encrypts all your data locally, plus a whole suite of other security features to keep your account safe. I…

Read more »