Wednesday, October 29, 2008

Saturday, September 13, 2008

Chubbs

Wednesday, August 20, 2008

Child Clowns

Monday, August 18, 2008

Return

I've finished my SSL clone. One still needs troubleshooting probably on the gain reduction meter.

Wednesday, December 19, 2007

Studiomaster 16 into 4

I can find no information about this desk. It took me a while to get the sound through it.
It can be a bit noisy at times. Some pots are scratchy.
Otherwise a fun thing for me to play with. I got it for $50.

Friday, December 7, 2007

My Java Discoveries

I've been taking this Java class this whole semester. The whole class is taught in Windows except me. Our only laptop is an Apple ti-book. I have OSX 10.4 installed. The professor's instructions were all based on the Windows operating system.

The first thing we did was install Java SE. Well OSX, I discovered, already has it installed including older versions. The way to install on windows looked quite complicated, using all these hidden menus. I didn't do anything.

Then came Tomcat. It's a serverlet container. It allows you to run Java serverlets and Java server pages on your computer. These run .jsp files which unlike static html are dynamic web pages. They are often used when things need to change on web pages for businesses or customers. Luckily Apple's developer connection has an article on how to set Tomcat up on OSX.

At first I got a little confused. It wouldn't show any of the jsp file examples we had with the Dietel book. Well I had my path wrong and just watching the instructor loading the page a class later, I realized this. You just put your files in the webapps section... <--- (I may clarify) The developer connection article makes it more complicated than it has to be. <--(I'll clarify later) One must remember if you are going to edit any server pages you have to stop and restart tomcat. I learn this important lesson as well. Then everything was fine until we got into j2me. This allows you to develop for mobile devices. Sun has an IDE for Windows and Linux but not OSX. So I had to search again to find how to do this. I found several sites. I had this one but I didn't have X11 installed on my system. Another requiring X11. Finally I found this little blog which shows how to build and run with Xcode. They had this to say,

"download the project template @ http://haikusoftware.com/midletdev/xcodetemplate.zip

uncompress it & put the "Ant-based MIDlet Jar" folder into
/Library/Application Support/Apple/Developer Tools/Project Templates/Java/

download mpowerplayer sdk @ http://mpowerplayer.com/

put the mpp-sdk folder into /Developer/Java/

set /Developer/Java/mpp-sdk/osx/peverify executable."

The template is outdated by newer versions of Xcode. Once you try to open it it will update the template. Check with Xcode in the New Projects menu under Java to make sure it's there. You will have to be admin. Move the mpp-sdk. Make the "peverify" (it should be preverify) folder executable (in Terminal):

cd /Developer/Java/mpp-sdk/osx/
chmod ug+x preverify

But for some reason you have to use Java 1.4.2. Once you have the ant-based midilet jar project open in Xcode, open the build.xml file. You'll find: "The "preverify" target requires the bootstrap classes." Below that is your directory. You have to change this to the 1.4.2 version. Change the value to "/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar" This may be different on different systems, just search for your JavaVM.framework/Versions/1.4.2 and it should end with "classes.jar". Otherwise you'll get the "File format error" when you try to run it.

I hope this helps someone who is in a position I was.