This blog has moved!

If you are not automatically redirected to the new address, please direct your browser to
http://www.juxtaservices.com/blog/
and update your bookmarks.

Monday, August 14, 2006

Accessing iTunes on Linux

I found a really slick tool today that I have found quite enjoyable thus far. Since my recent and wholehearted move to Ubuntu on the desktop, I have never really looked back. There are however a couple pieces of software not available to me now that I have made the open source change. One of these is iTunes, which currently only has Windows and an OSX versions. Well, there are plenty of amiable open source media players that would be fine for playing MP3's (although iTunes has very user friendly playlist management and library functionalities, so that's not really much of a downside. However, the real drawback comes when trying to listen to music shared out by other iTunes users. I had assumed this was fairly difficult without having an iTunes client. In fact, I was trying to figure out some way I could run iTunes inside of Wine. That was until today.

Enter ourTunes. This Java based iTunes client not only allows the user to view other iTunes shares on the network, there is the added bonus of also being able to download them in mp3 to the local HDD. Sweet!! And, since ourTunes is written in Java, i will run on anything with a JVM installed. With so many awesome tunes floating out there on the office network, I can now enjoy them on my Linux box without having to contrive some connived method of emulating the functionality. I had already used Synaptic Package Manager to download an appropriate JVM to be able to run Zend for my PHP development, so all I had to do was download the ourTunes jar file and fire it up, and I've been rockin' ever since.

2 Comments:

Anonymous Anonymous said...

Hello,

Im running Red Hat Enterprise 4. Im trying to run ourTunes but I keep getting the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: OT44.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib64/libgcj.so.5.0.0)
at __gcj_personality_v0 (/home/mawaldne/java.version=1.4.2)
at __libc_start_main (/lib64/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/home/mawaldne/java.version=1.4.2)


Any thoughts?

3:53 PM  
Blogger Bryce said...

This looks like it is probably an issue with some needed module not being found (at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)).

Have you got the full JRE installed for your version of Redhat? It is possible you have some of the Java components but not the full JRE (which is really what you need to run Java programs). I would look into that.

If that doesn't work, try downloading the source code and debugging it from inside of Eclipse or some other Java IDE so you can see which class the code is trying load. This should give an idea of what may be missing from your install.

As a last resort (and one you will probably ignore) you really should try out Ubuntu. Check out my post about my move to it ( http://bitshifting.blogspot.com/2006/08/ubuntuliciousness-aka-bye-bye-billy.html) to so see why I like it so much (mostly because of apt-get). There is a server install for it as well that is rock solid.

5:20 PM  

Post a Comment

<< Home