NetBeans 7.1.2 does not work with JDK 8

23-Jul-2014

Views 117 

I’ve recently installed the JDK 8 on my rMBP and all of a sudden NetBeans stopped working for me. I’ve dug into this a little further and tried several things, none of which worked, in the end I ended up forcing NetBeans to use JDK 7 and everything was working again.

First NetBeans stopped launching from my Dock, so I opened up Terminal and tried to launch it manually, this presented me with the following error:

> open /Applications/NetBeans/NetBeans 7.1.2.app

LSOpenURLsWithRole() failed with error -10810 for the file /Applications/NetBeans/NetBeans 7.1.2.app.

Not much information here, so I tried to launch the NetBeans binary instead:

> /Applications/NetBeans/NetBeans 7.1.2.app/Contents/Resources/NetBeans/bin/netbeans 

Unrecognized VM option 'MaxPermSize=384m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Now I was getting somewhere.

[Read More and Comment]


Posted by on Wed Jul 23 11:46:09 2014 in Programming, Java, Apple, Oracle, OS X


Fixing the Node remains in conflict SVN message

21-Jul-2014

Views 153 

I had the ‘Node remains in conflict’ error message come up recently due to an SVN update, this is how it’s resolved. This error came about because I had a file in my local checkout that was not under version control, someone checked in a file with the same name into SVN. This should never have happened, the repository had its file deleted, yet every time I did an update, I got this error.

This is what the SVN output looked like:

Updating '.':
Skipped 'xxxxWS/xxxxWS.jpr' -- Node remains in conflict

To fix, just resolve with the working copy:

svn resolve --accept=working xxxxWS/xxxxWS.jpr

The error goes away after this and the local changes are not affected.

[Read More and Comment]


Posted by on Mon Jul 21 16:24:58 2014 in Programming, Unix, Tips, SVN


Goat Simulator released on OS X

2-Jul-2014

Views 395 

I know I’m a few days late and the release was actually on the 27th of June, but hey that still does not take away from the awesomeness of this game. My curiosity of what it would be like to be a goat has finally been satisfied. This game is silly and pointless, but quite a lot of fun to play. Check out some of these screenshots I took.

So what’s the point of this game? You basically run around as a goat and destroy what you can. You can lick things which causes them to attach to your tongue and you can drag them around. This works especially well when you lick a human and drag them behind you to a group of other humans to freak them out.

Here’s me (as a goat) with my captured human.

gt1.jpg

Here’s me and the human again, after we were ran over by a car.

gt2.jpg

[Read More and Comment]


Posted by on Wed Jul 2 09:06:20 2014 in Apple, Games, Review, OS X


Fix Cura window positioning on OS X

30-Jun-2014

Views 393 

One of the Cura updates recently caused my main window to go off-screen. Out of the box OS X does not have a built-in way of manually moving windows using a keyboard (like Windows does). There are third party tools for this, however I thought that surely there is a different answer and this setting must be stored in Cura configuration somewhere. After a bit of digging, it’s right there as expected and here is how to change it.

This is the issue I was having - The main Cura window was being displayed with the title bar outside of the top part of my desktop, no way to move it:

cura1s.png

After closing Cura and updating its configuration file, the window is back to normal:

cura2s.png

The file to edit is called preferences.ini and is located in the ~/.cura// directory. In my case this was ~/.cura/14.03/preferences.ini. The setting to change was window_pos_y. I changed mine like so:

window_pos_y = 100

That’s all there is to it.

[Read More and Comment]


Posted by on Mon Jun 30 16:05:00 2014 in Apple, 3D Printer, Tips, OS X


 

Setting up a traffic webcam on OS X

28-Jun-2014

Views 457 

I’ve had a number of people mention to me that I should have a webcam set up in my apartment because I am overlooking the river and the major road that runs beside it. After some thinking, I’ve decided to do just that. So here it is, this is how I’ve set up the Riverside Expressway Cam.

First lets have a look at what the cam actually displays (good view right?). This is useful to see what the traffic conditions are like on the expressway as this is one of the major routes in/out of the city centre.

wc.jpg

I set up this cam to capture an image every 5 minutes, so it’s not a live stream. The 5 minute interval is configurable with the use of cron, no messy timing inside the script I wrote!

[Read More and Comment]


Posted by on Sat Jun 28 12:28:53 2014 in Programming, Apple, OS X, Webcam


 

Use hightlights in SQLDeveloper to instantly see patterns in data

20-Jun-2014

Views 497 

So I’ve been using SQLDeveloper like mad lately and have been finding some really neat features that it provides. One of the great time savers is its ability to create persistent highlights that you can use to instantly see the patterns in data. Great for debugging that ETL!

This is what I mean by the highlights, in this case I was looking at a table of test results and wanted to see which ones were failed, without a highlight I had to strain my eyes and look at each word, with the highlight, it’s like magic, the failed tests just pop out instantly!

sqldevhighlight1.png

So how do you turn this amazing feature on?

[Read More and Comment]


Posted by on Fri Jun 20 19:01:36 2014 in Programming, SQL, Database, Oracle