hello I’m trying to setup a media server for my Playstation 3 I’ve opted for the one off of this site PS3 Media Server now the installation instructions in the README don’t really say much just make sure you have JRE 6 and run the script which I have done but get a message that I can’t even began to cipher which is the following…
./pms.jar: line 1: PK: command not found
./pms.jar: line 2: ��h:: command not found
./pms.jar: line 25: ��h:��META-INF/MANIFEST.MFManifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 11.0-b16 (Sun Microsystems Inc.)
Main-Class: net.pms.PMS
PK
��h:net/PK
��hnet/pms/PK
��h:net/pms/configuration/PK
net/pms/dlna/PK
��h:net/pms/dlna/virtual/PK
��h:net/pms/encoders/PK
��h:net/pms/formats/PK
��h:
net/pms/gui/PK
��h:
net/pms/io/PK
��h:net/pms/network/PK
��h:net/pms/newgui/PK
��h:net/pms/newgui/update/PK
��h:net/pms/update/PK
net/pms/util/PK
��hD|d
net/pms/Messages.class����17
"
#
$%&: No such file or directory
./pms.jar: line 31: syntax error near unexpected token `C'
Messages.javane 31: `SourceFile
/
▒java/util/MissingResourceExceptionjava/lang/StringBuilder
01
02
34net.pms.messages
56net/pms/Messagesjava/lang/Object▒java/util/ResourceBundleappend(C)Ljava/lang/StringBuilder;-(Ljava/lang/String;)Ljava/lang/StringBuildertoString()Ljava/lang/String; getBundle.(Ljava/lang/String;)Ljava/util/ResourceBundle;!
▒'
any help on this would be greatly appreciated Thanks
> any help on this would be greatly appreciated Thanks
i don’t make a lot of sense out of those errors either, but they all
look to be coming from java, so at a command line run
java -version
you should get an answer something like this (but probably different):
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode)
if the second number in the version string is a 6 then you have the
right version installed (if the readme you mentioned is
correct)…and, if you used YaST to install it, and if YaST didn’t
throw any errors then it is installed correctly and all the errors you
see are not due to an openSUSE failure (that i can see)
so, i wonder why you don’t ask Sony (who made the hardware), or SUN
(who makes java), or the writer of that blog (who made the
instructions you followed) what is going on…
on the other hand you are certainly VERY welcome to hang out here and
hope someone with experience turning a PS3 into a Linux media server
to happen along and help you…
but, if it were me i’d try to find a forum full of folks who are
running such on PS3 hardware… (:google might help:)
yepp looks like I’ve got the right version of java, and I think you misunderstood me I’m trying to setup a media server so I can stream music and videos from my suse machine to my PS3, I’m not trying to install suse on my PS3.
Make sure you’re running version 1.10.5 (or later if there’s a later
release).
The messages you’re seeing are messages I can generate if I flag the
pms.jar file as executable and try to execute it - so that’s very likely
your problem.
On Tue, 02 Feb 2010 18:38:29 +0000, palladium wrote:
> threatingbehaviour wrote:
>> I feel like an idiot
>
> don’t feel like an idiot, instead feel like someone happy to get fixed
> AND learn…
>
> and thanks Jim for looking in and fixing him up, it was beyond my help!!
Just happened to see it and it’s a piece of software I use.
For me the thing that got me thinking it was execution of the jar file is
that a jar is essentially a ZIP file, and the old “PK” header at the
beginning of the output made me think of that. Shows how much of a geek
I am that I recognized the file type signature from the output.
Wow wish I was that knowledgeable…but I guess that’s why there’s schools. it would be nice though if there was a way to install the program instead of having to run a shell script…trying to teach my girlfriend how to use a terminal is a nightmare,but anyway thanks for your help.
On Thu, 04 Feb 2010 16:16:01 +0000, threatingbehaviour wrote:
> Wow wish I was that knowledgeable…but I guess that’s why there’s
> schools.
For me it was just a matter of spending a lot of time working with
computers.
> it would be nice though if there was a way to install the
> program instead of having to run a shell script…trying to teach my
> girlfriend how to use a terminal is a nightmare,but anyway thanks for
> your help.
What I did was created a desktop shortcut that launches the script - that
way there’s no need to go to a terminal window.
If you’re using GNOME, right-click the desktop and select “Create
Launcher”. If you’re using KDE, maybe Palladium or one of the other KDE
users here could provide instructions on that DE.
You know I just thought of that I used the menu editor and set everything up except it’s not working… I placed the shell script in the /usr/bin directory then issued the following command kdesu PMS %U and I get nothing…
On Tue, 09 Feb 2010 13:26:01 +0000, threatingbehaviour wrote:
> Ok I just put the pms and .jar file in the usr/sbin directory and
> entered the command kdesu /usr/sbin/pms and it works.
That’s good to hear - I suspect your earlier problem was due to the
script using relative paths - moving the script but not the jar file (and
the subdirs) probably just caused a “file not found” error to be produced.