Posts Tagged ‘Programming’

The Java UnsupportedClassVersionError

March 26, 2013 Leave a comment

I was having an error when compile one piece of code within Eclipse.

java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version;/CareMonths, offset=6

Got some help from here, which thinks that the reason of the error is because of the unmatched jdk version. And of course, install it.

So tried a simple fix, and it works:

1. go to here download the right version, I am downloading the newest version because of my code.

2. In your eclipse, go to Window->preference->Java->Installed JREs.

From where you can find your current version& its path. Do ‘Add’ add the newest installed JDK <> . If you are using window, the default installation path is <C:\Program Files\Java\jdk1.7.0_17>. Check this version for your project.




3D Reconstruction (I)

January 25, 2012 Leave a comment

Today’s my first test on Bundler
I didn’t use the source cause there are many packages needed to be set up first, so I follow the recommendation using the binary package (
There are some error I encountered cause I carelessly NOT copying the into the the required path. Well this can be easily fixed by changing/adding the dir-path of to your LD_LIBRARY_PATH. In my case, the LD_LIBRARY_PATH is empty, so I simply create this env-variable.

export LD_LIBRARY_PATH=./bin/

This should be the directory path to the, otherwise you will get error that ‘error while loading shared libraries: cannot open shared object file: No such file or directory’.

So read carefully for the ‘Before you begin’ section. Also, if you are trying older version, e.g. v0.2, you will need to change the BASE_PATH for multiple files, such as the sift.txt. Just check if there is BASE_PATH for your ‘TO-DO’.

Find my gtk version on ubuntu
$ dpkg -s libgtk2.0-0|grep ‘^Version’

For the 3D models in Python



# [Vision] Depth estimation from Blur estimation


#Camera Calibration Toolbox for Matlab

# FIT3D”>

# OpenSceneGraph
Install OpenSceneGraph on Windows:
Install on Ubuntu:
apt-get build-dep openscenegraph
apt-get install openscenegraph