rob was here.

Tuesday, January 10, 2006

fedora core and java

warning.. this will be a whiney tech post.

I just struggled through 2 or 3 days of trying to get a java archive (jar extension) to run natively on my linux box at work. I'll be the first to tell you that I'm no linux guru, but the frustrating part is that the problem really had nothing to do with linux in itself, but rather this distro I am using.

For the first bit I thought it was a problem with my Apache Ant script which is used to compile and build my code into an executable. Then I thought it was difficulties referencing 3rd party libraries.. Then I thought my manifest file in the archive wasn't setting the classpath correctly.. I struggled with most of this for toiling hours while, annoyingly, it setup correctly all along.

The problem was that the default version of java I was using is an open source implementation consisting of a collection of compiler, linker and wrapper tools. The problem with this implementation is that it seems that most larger stand-alone java applications won't operate under this GNU version of java.

I ended up downloading SUNs version of java, and bingo.. it worked right away! Why? What's the difference? I'm not really sure, but from what I read programs such as Azureus, which are also written in Java, require SUN's implementation to be used as well. Maybe the GNU java isn't as up to par.. I'm not really sure. All I know is that with the latest SUN runtime engine, things progressed smoothly.

I'd like the next release of this distro, Fedora Core 5, to move to SUN's java; but they probably won't due to SUN's version not being free (well it's free in terms of money, but it's a closed implementation - and most linux distros arn't keen on that)

edit [01/11/06] : grammar police

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Archives

February 2005 , March 2005 , April 2005 , May 2005 , June 2005 , July 2005 , August 2005 , September 2005 , October 2005 , November 2005 , December 2005 , January 2006 , February 2006 , March 2006 , April 2006 , May 2006 , June 2006 , July 2006 , August 2006 , September 2006 , October 2006 , November 2006 , December 2006 , January 2007 , February 2007 , March 2007 , April 2007 , May 2007 , June 2007 , July 2007 , August 2007 , September 2007 , October 2007 , November 2007 , December 2007 , January 2008 , February 2008 , March 2008 , May 2008 , September 2008 , October 2008 , November 2008 , December 2008 , January 2009 , April 2009 , September 2009 , November 2009 , June 2010 , August 2010 , November 2010 , June 2011 , July 2011 , November 2011 ,

Friends

jeremy, pender, phil, reido, furlong, ajay, earl, angus, nadeana, charles, classBlog
Powered by Blogger Get Firefox! Get Thunderbird!<  Use OpenOffice.org  Rob's Music Get Songbird