SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Placeshifter
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Placeshifter Discussion related to the SageTV Placeshifter application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV Placeshifter software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-23-2007, 04:47 PM
devinteske's Avatar
devinteske devinteske is offline
Sage User
 
Join Date: Jan 2007
Location: Ontario, CA USA
Posts: 69
Send a message via ICQ to devinteske Send a message via AIM to devinteske Send a message via MSN to devinteske Send a message via Yahoo to devinteske
Linux Placeshifter not working

I get the following error while trying to run the Linux placeshifter client:

Code:
[dteske@dt miniclient]$ ./sageclient.sh
Changing to SageTV directory /home/dteske/Desktop/miniclient/.
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: sage.miniclient.MiniClient
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/home/dteske/Desktop/miniclient/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/home/dteske/Desktop/miniclient/java.version=1.4.2)
Caused by: java.lang.ClassNotFoundException: javax.crypto.Cipher not found in [file:MiniClient.jar, file:jogl.jar, file:./, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_PrepareCompiledClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
   ...9 more
I am able to run the built-in mplayer as I've installed libmad and faac so far. I've already installed the latest version of the JRE. Don't know why I'm getting this error).
Reply With Quote
  #2  
Old 01-23-2007, 05:31 PM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
You are using gcj instead of the Sun JRE 1.5.

_Demo_
Reply With Quote
  #3  
Old 01-23-2007, 07:35 PM
devinteske's Avatar
devinteske devinteske is offline
Sage User
 
Join Date: Jan 2007
Location: Ontario, CA USA
Posts: 69
Send a message via ICQ to devinteske Send a message via AIM to devinteske Send a message via MSN to devinteske Send a message via Yahoo to devinteske
Quote:
Originally Posted by _Demo_
You are using gcj instead of the Sun JRE 1.5.
I downloaded and installed the file named "jre-1_5_0_10-linux-i586.rpm.bin" from sun.java.com. After looking, I noticed that gcj was already installed prior to me installing the Sun JRE. So, the problem was that it was using gcj rather than Sun's java.

I modified the "sageclient.sh" file with the following patch and then it worked fine:

Code:
--- sageclient.sh.orig  2007-01-23 17:49:00.000000000 -0800
+++ sageclient.sh       2007-01-23 17:50:09.000000000 -0800
@@ -13,6 +13,7 @@
 echo Changing to SageTV directory $sagepath
 cd $sagepath

+export PATH="/usr/java/jre1.5.0_10/bin:${PATH}"
 export LD_LIBRARY_PATH=.
 java -cp MiniClient.jar:jogl.jar:. sage.miniclient.MiniClient $1 $2 2>&1 > /dev/null
 #java -cp MiniClient.jar:. sage.miniclient.MiniClient $1 $2 2>&1 > miniclient.log

Last edited by devinteske; 01-23-2007 at 07:54 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

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

Forum Jump


All times are GMT -6. The time now is 04:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.