Thursday, March 22, 2012

Honda z50 CAD modelling

Making CAD models of z50 parts to help later make modified parts.




Plan to model triple clamps and a custom disk brake hub for zokes or similar inverted forks.

Below are some forks I am thinking about.











Saturday, January 7, 2012

Installing Android SDK on Linux/Ubuntu the Missing Java Instructions

I recently setup a new machine with a fresh installation of Ubuntu 11.10 and started following the guides at http://developer.android.com. almost everything is layed out for you, almost. I got a java error even though I followed all the given instructions when I tried to launch the SDK Manager.
android: 84: java: not found
This was one of the errors, there were a couple more. This means you either do not have the proper java installed or the application can not find it. The latter is my case.

In your home directory there is a file that you can edit to tell the SDK and other applications where you have java installed at.

The file is hidden in the home directory in Ubuntu. Go to your home directory and press Ctrl+h and that will show hidden files. Hidden files have a . before them. Pressing Ctrl+h again will hide the files again.



With the hidden files visible find .bashrc that is the file you want to add 2 lines to. Open .bashrc and add lines similar to mine but reflect your java location.
export JAVA_HOME=/home/<user name>/<path>/jdk1.7.0_02/bin/java 
export PATH=$PATH:/home/<user name>/<path>/jdk1.7.0_02/bin
In my case these are these are the lines I added to .bashrc (your version/location may vary)
export JAVA_HOME=/home/nomecone/JAVAJDK/jdk1.7.0_02/bin/java 
export PATH=$PATH:/home/nomecone/JAVAJDK/jdk1.7.0_02/bin

 After adding that you should be able to open your SDK Manager. For me it looked like this:

I hope that simple extra information helps somebody out.