Mac Mini: Cannot launch Java application

Need help? Post your questions here.

Moderator: moderators

Mac Mini: Cannot launch Java application

Postby Control Freek » Sun Dec 11, 2011 3:54 pm

I have installed the Subsonic application on my Mac Mini (running OS 10.5.8). When I try to launch Subsonic, I get this message "Cannot launch Java application -Uncaught exception in main method: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'controller' defined in class path resource [applicationContext-mac.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.sourceforge.subsonic.booter.mac.SubsonicController]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: java/awt/TrayIcon".
Has anyone run into this error before? Please let me know what I can do to resolve it. Thanks.
Control Freek
 
Posts: 2
Joined: Sun Dec 11, 2011 3:45 pm

Re: Mac Mini: Cannot launch Java application

Postby BKKKPewsey » Sun Dec 11, 2011 5:26 pm

Have you got java installed?
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Mac Mini: Cannot launch Java application

Postby Control Freek » Mon Dec 12, 2011 12:51 am

I had an old version of Java installed, so I updated to Java SE 6. Now when I start up subsonic nothing happens. I don't get the error message anymore, but now the app doesn't initialize. Any suggestions?
Control Freek
 
Posts: 2
Joined: Sun Dec 11, 2011 3:45 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests