PDA

View Full Version : Mac OS X Help Please


Rocky
12-22-2006, 07:29 PM
I double clicked "MediaCenter.jar" but nothing happened. How do I get this working?

I don't really know much about Macs but I have one because my brother bought it a long time ago and he has a new computer now.

loudestnoise
12-23-2006, 01:26 AM
I also cannot run the jar file on my computer. Is there something else required to execute this application?

msgyrd
12-23-2006, 01:11 PM
If you read the readme.txt, it states that this must be launched from the console, not double clicked. I'm at work so I don't have access to my mac to test.

Try going to Apps->Utilities->Terminal.app, double click that, then navigate to your download location via the terminal interface ("cd" changes directories, try "cd /Users/<your username>/<wherever you downloaded to>", it's been a while since I've used the BSD subsystem of OSX, I may be wrong). Then type "java MediaCenter.jar" and see if it works.

This is still alpha software still, and to run it on systems besides Windows will require a little bit of computer knowledge.

ExtraLars
12-23-2006, 01:15 PM
typing java -jar MediaCenter.jar gave me the following output, which is obviously an error


Wii/PS3/Red Kawa Media Center X 0.91
Media Center User Guide URL: http://www.redkawa.com/mediacenters/tutorials/
Red Kawa URL: http://www.redkawa.com
Your IP: 192.168.1.2
Media Center Web Address: http://192.168.1.2:8192
9 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
332 [main] INFO org.mortbay.log - jetty-6.0.1
3619 [main] WARN org.mortbay.log - failed SocketConnector @ 192.168.1.2:8192
3621 [main] WARN org.mortbay.log - failed Server@a51027

xlopez
12-23-2006, 03:17 PM
Try going to System Prefences and changing the "Sharing" information. I tried the java -jar MediaCenter.jar and I get

1 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
73 [main] INFO org.mortbay.log - jetty-6.0.1
821 [main] INFO org.mortbay.log - Started SocketConnector @ ip:8192


I am able to stream to other computers from my MAC, but my Wii doesn't play the music. What could be wrong?

ExtraLars
12-23-2006, 05:08 PM
But can you open the website to your wii-browser?

I can run the Media Center Application now, I can open it with my mac, but can't open the site on my wii.

Rocky
12-23-2006, 06:34 PM
If you read the readme.txt, it states that this must be launched from the console, not double clicked. I'm at work so I don't have access to my mac to test.

Try going to Apps->Utilities->Terminal.app, double click that, then navigate to your download location via the terminal interface ("cd" changes directories, try "cd /Users/<your username>/<wherever you downloaded to>", it's been a while since I've used the BSD subsystem of OSX, I may be wrong). Then type "java MediaCenter.jar" and see if it works.

This is still alpha software still, and to run it on systems besides Windows will require a little bit of computer knowledge.

Alright I got it working using msgyrd's tutorial. I also used "java -jar MediaCenter.jar" from ExtraLars and it worked. Thank you both.:)

loudestnoise
12-24-2006, 12:03 AM
When running "java MediaCenter.jar" I receive the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: MediaCenter/jar
david-cintrons-powerbook-g4-12:~/mediacenterx_jar Folder loudestnoise$

I have the mediacenterx_jar Folder inside my user folder.

loudestnoise
12-24-2006, 12:04 AM
When running "java MediaCenter.jar" I receive the following error.



I have the mediacenterx_jar Folder inside my user folder.

NVM, I neglected to have java -jar MediaCenter.jar

suprdave71
12-29-2006, 01:09 AM
Try going to System Prefences and changing the "Sharing" information. I tried the java -jar MediaCenter.jar and I get

1 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
73 [main] INFO org.mortbay.log - jetty-6.0.1
821 [main] INFO org.mortbay.log - Started SocketConnector @ ip:8192


I am able to stream to other computers from my MAC, but my Wii doesn't play the music. What could be wrong?

What did you change in your Sharing Preference Pane? I don't think that's my problem, and I'm still getting a Socket Error:

68 [main] INFO org.mortbay.log - jetty-6.0.1
1027 [main] WARN org.mortbay.log - failed SocketConnector @ IP:8192


...and I don't think I'm the only one! I've always been confused about the whole "ports" thing. Do I need to configure a port via my router or something?

By the way, I'm using OS X (natch), and I put the unzipped contents into my home folder, as was talked about elsewhere.

Thanks in advance for any insight!

Guy
12-29-2006, 02:03 AM
2 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
136 [main] INFO org.mortbay.log - jetty-6.0.1
1824 [main] WARN org.mortbay.log - failed SocketConnector @ 192.168.0.100:8192
1825 [main] WARN org.mortbay.log - failed Server@a51027


i'm getting this screen and i have no idea what to do. I've opened the port 8192 in both my router and my firewall. any suggestions on what to do next?

Shlomo
12-29-2006, 12:31 PM
2 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
136 [main] INFO org.mortbay.log - jetty-6.0.1
1824 [main] WARN org.mortbay.log - failed SocketConnector @ 192.168.0.100:8192
1825 [main] WARN org.mortbay.log - failed Server@a51027


i'm getting this screen and i have no idea what to do. I've opened the port 8192 in both my router and my firewall. any suggestions on what to do next?

I tried opening port 8192 on my router as well, though it shouldn't make a difference if your computer running the media center and the Wii are on the same local network (judging by your IP address, this sould be the case). Try accessing the site from your computer, enter 192.168.0.100:8192 into your address bar. If that works, try it exactly the same way on your Wii, making sure that you are using periods and colons not commas or semi-colons (this was my first mistake).

WARN is different from an error. A WARN in this case seems to be the programs way of telling the user what port to use.

Right before the first line you posted, did you get a line that reads:
Media Center Web Address: http://192.168.0.100:8192

kenny
12-29-2006, 03:42 PM
To thoose who isn't not able to run by double clicking: Double clicking a jar activates JAR Launcher which doesn't work with this, in terminal, goto the mediacenter jar dir, and type java -jar mediacenter.jar

To thoose who get the socket error, goto System Preferences -> Share, then personal file sharing, if its stopped, start it and it its running, stop it, (i can't remember if i started or stopped mine :P )

To thoose with the music problem: theres a java error in the music JSP

artist25
12-29-2006, 05:14 PM
I also got that message with the failed to connect socket message, but after a bunch of screwing around, I found this to work.

1) Unzip the file and leave the mediacenterx_jar file on your desktop, with everything still in it

2) go into the terminal and type in: (be sure to leave a space after cd)
cd /Users/username/desktop/mediacenterx_jar

3) now that you have changed the directory (cd), you can do that infamous java command:
java -jar mediacenter.jar

This finally got me a message "started socket connector", and everything was viewable on my wii, hope this works for you.:cool:

forcaca
12-29-2006, 06:59 PM
Okay, I turned on just about every Share feature there is, and I still get the following error message in Terminal...

Exception in thread "main" java.lang.UnsupportedClassVersionError: mediaCenter/WebServer (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)

Any clue? Does this have to be above 10.3.9? Cause that's what I got.

~Dak

Bluearmy
12-29-2006, 07:19 PM
OK people.

Everyone who has the "failed SocketConnector" error try this:

- Open the file "webserver.prop" in the "mediacenterx_jar" folder using texteditor.
- Change 8192 to 8194 and save
- Restart mediacentre

It should connect now!

If not, you need to change your firewall settings.
More info can be found here (http://www.redkawa.com/forums/showthread.php?p=657)

Many thanks to jackcheng pointing this out!

artist25
12-30-2006, 12:37 AM
And if that doesn't work, then look above at my last post, either one of these methods should help out :D

forcaca
12-30-2006, 12:56 AM
I've changed it to, and back again, from 8192 and 8194 -- restarted my computer, let alone Media Center -- I've done the Firewall settings for both ports... I've turned on every permission in the book...

I continue to get the Exception in thread "main" java.lang.UnsupportedClassVersionError: mediaCenter/WebServer (Unsupported major.minor version 49.0)

Why is this? Am I missing something obvious? Does the Wii have to be turned on, already trying to search for the IP#:8192 for the Terminal command to give me the okay?

I thought I had to get the Media Center X going BEFORE I used the Wii's Opera browser to connect. I'm I wrong?

~Dak

artist25
12-30-2006, 02:39 AM
you don't need your Wii on when doing this, just start over with these steps:

1) Unzip the file and leave the mediacenterx_jar file on your desktop, with everything still in it

2) go into the terminal and type in: (be sure to leave a space after cd)
cd /Users/username/desktop/mediacenterx_jar

3) now that you have changed the directory (cd), you can do that infamous java command:
java -jar mediacenter.jar


I had loads of difficulty as well, but this managed to work, don't listen to any of that "copy your stuff into the user folder" hoo-haw :p

forcaca
12-30-2006, 03:56 AM
I appreciate the effort, but those instructions (which I just followed to the letter... well, aside from switching username with my actual username of course) are just the basic instructions on getting Media Center X up and running, and again, I get the same error message.

~Dak

Bluearmy
12-30-2006, 08:12 AM
@forcaca: I think that in your case there is something wrong with your version of java. Have you checked if there is an update using the software update?

forcaca
12-30-2006, 01:05 PM
Do you need higher than OS 10.3.9? Because, aside from having that OS, I have all my updates from Apple. Tis pretty frustrating.

~Dak

Bluearmy
12-31-2006, 08:25 AM
Do you need higher than OS 10.3.9? Because, aside from having that OS, I have all my updates from Apple. Tis pretty frustrating.

~Dak

I'm not sure about that. Maybe someone can clear this up?
It looks like Java is your problem. Unfortunately, I can't help you with that.

babywriter
12-31-2006, 10:11 AM
Okay, I turned on just about every Share feature there is, and I still get the following error message in Terminal...

Exception in thread "main" java.lang.UnsupportedClassVersionError: mediaCenter/WebServer (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)

Any clue? Does this have to be above 10.3.9? Cause that's what I got.

~Dak

I'm so glad Dak posted this. I have been getting exactly the same error messages - and I, too have OS X 10.3.9. It does look like a Java compatibility problem - but there is no way to upgrade to the very newest version of Java from 10.3.9 - looking on Sun's website for updates refers you to the appropriate Apple page (Java 2 Platform Standard Edition (J2SE) 5.0 Release 1 provides support for J2SE 5.0 on Mac OS X 10.4) - which is only compatible with 10.4, not 10.3.9. Us Panther users are still on Java versions 1.4.2 and 1.3.1.

Any help at all would be appreciated. I know this is a free app and the devs are doing it as a labor of love at this point; I'd be willing to beta test any fixes before they are released more widely.

I'm using Mac OS X 10.3.9 on a Power Mac G4, 466 mHz - 512 MB RAM, 120 GB HD.

babywriter
01-02-2007, 07:09 AM
OK - through trial and error, figured out that the program apparently won't run under anything less than Java 5.0 and OS X 10.4 on the Mac. See my new post for details.

-b

britrgreen
01-07-2007, 07:20 PM
I am getting this as an message when i type in "java -jar MediaCenter.jar" what am I doing wrong?

Wii/PS3/Red Kawa Media Center X 0.92
Media Center User Guide URL: http://www.redkawa.com/mediacenters/tutorials/
Red Kawa URL: http://www.redkawa.com
Your IP: 10.0.1.2
Media Center Web Address: http://10.0.1.2:8192
7 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@5e3974 via org.mortbay.log.Slf4jLog
202 [main] INFO org.mortbay.log - jetty-6.0.1
2620 [main] WARN org.mortbay.log - failed SocketConnector @ 10.0.1.2:8192
2622 [main] WARN org.mortbay.log - failed Server@a51027

touff
01-09-2007, 05:46 PM
I connect my wii succesfully, I can see the files on my computer, but I can't read them

"http://192.168.0.1:8192/software/Files /download....." is actually injoignable"

is someone can help me please ?