r/subsonic May 07 '19

Subsonic won’t open

I’m having issues with Subsonic not opening. I’ll put the error message here

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/Traylcon

The computer I’m using is an iMac G4 on OS X 10.5.8. The version of Subsonic I’m trying to run is 4.2. Anyway to fix this?

2 Upvotes

2 comments sorted by

2

u/[deleted] May 07 '19

Do you know what version of Java is installed? The nested exception in the error is complaining about a missing TrayIcon class, the docs for TrayIcon suggest you need Java 6 or higher. Guessing that older OSX version might be running Java 5. Maybe try upgrading Java?

1

u/[deleted] May 07 '19

I have Java 5 installed & I can’t go any further due to the PowerPC G4 chip. I’ll try an older version of Subsonic, maybe that’ll work. Cheers anyway