TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-10-2006, 08:54 PM   #1
cshuttle
Registered User
 
Join Date: Dec 2003
Posts: 13
FreeBSD HMO runtime issues

Let me be the first to say that this is probably something incredibly obvious, as I hate classpath errors and they're especially annoying when you see how simple the solution is. That said, I'm seeing the following after running my ant compile script on FreeBSD:

[Loaded sun.misc.URLClassPath$FileLoader from /usr/local/jdk1.4.2/jre/lib/rt.jar]
Exception in thread "main" java.lang.NoClassDefFoundError: org/lnicholls/javahmo/server/Server
[Loaded java.lang.StackTraceElement from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.lang.Shutdown from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from /usr/local/jdk1.4.2/jre/lib/rt.jar]


Obviously, this is no good. An excerpt from my /etc/profile reads as follows:

JAVA_HOME=/usr/local/jdk1.4.2
export JAVA_HOME

CLASSPATH=.:${JAVA_HOME}/jre/lib:/usr/share/javaHMO/build/lib
export CLASSPATH


So, I guess I'm pointing to the right place, but since java is sooo good at telling me exactly which JAR it's looking for, I have no idea what it's missing out on.

Any help with this would be just ducky.
cshuttle is offline   Reply With Quote
Old 01-10-2006, 09:12 PM   #2
javahmo
Registered User
 
Join Date: Aug 2003
Posts: 1,538
If your TiVo has version 7.2.1 software, rather install Galleon: http://galleon.tv

Otherwise, you need to ensure that all of the .jar files in the JavaHMO lib directory are added to the CLASSPATH environment variable:
CLASSPATH=.:${JAVA_HOME}/jre/lib:/usr/share/javaHMO/conf
for j in /usr/share/javaHMO/lib/*.jar
do
CLASSPATH=$CLASSPATH:$j
done
export CLASSPATH
__________________
galleon.tv
javahmo at users.sourceforge.net
javahmo is offline   Reply With Quote
Old 01-11-2006, 07:12 AM   #3
cshuttle
Registered User
 
Join Date: Dec 2003
Posts: 13
Yea, I'd sure like to be able to use Galleon, but this is a directivo setup. I'll let you know how your suggestion turns out...
cshuttle is offline   Reply With Quote
Old 01-11-2006, 07:33 AM   #4
cshuttle
Registered User
 
Join Date: Dec 2003
Posts: 13
Much better! Still getting the following:

[Loaded java.awt.font.TransformAttribute from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.awt.geom.AffineTransform from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.awt.font.TextAttribute from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded sun.java2d.FontSupport from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded sun.java2d.SunGraphicsEnvironment from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded sun.awt.X11GraphicsEnvironment from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded sun.awt.font.NativeFontWrapper from /usr/local/jdk1.4.2/jre/lib/rt.jar]
[Loaded java.lang.InternalError from /usr/local/jdk1.4.2/jre/lib/rt.jar]
Exception in thread "main"

cshuttle is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 06:20 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |