Java Version Connundrum
Posted: Fri Nov 30, 2012 2:10 pm
So last night I had a period of time where no one was on my server, so I decided that it was finally time to bite the bullet and try out the new beta build of Madsonic.
FYI, I currently run the stock subsonic war version, deployed under Tomcat 6 on Windows Home Server.
I backed up my settings directory, stopped the service, deleted the work and webapp\subsonic directory and dropped the latest madsonic war file in.
When I started Tomcat, I got the following in the stderr log:
Which some quick google searching said that I was behind on my java revisions and needed to update.
That is correct... I am running Java Version 6 update 5 (build 1.6.0_35-b10)
But IIRC, the last time I tried to update to the latest Java version I found that Tomcat 6 does not run under Java 7, so I had to roll back to Java 6.
Does that all sound like your experiences?
In which case, what version of Tomcat is Madsonic designed to run under? Is it Java 7/Tomcat 7/Madsonic?
It just makes it difficult for me to "evaluate" and fall back if something goes wrong... if I have to update all three in order to give my users a test drive.
Or am I missing something?
(I'll be honest... I could figure this all out by trial and error myself, but I don't want to take the server offline for longer than I have to)
Thanks,
Glenn
FYI, I currently run the stock subsonic war version, deployed under Tomcat 6 on Windows Home Server.
I backed up my settings directory, stopped the service, deleted the work and webapp\subsonic directory and dropped the latest madsonic war file in.
When I started Tomcat, I got the following in the stderr log:
- Code: Select all
java.lang.UnsupportedClassVersionError: net/sourceforge/subsonic/filter/BootstrapVerificationFilter : Unsupported major.minor version 51.0 (unable to load class net.sourceforge.subsonic.filter.BootstrapVerificationFilter)
Which some quick google searching said that I was behind on my java revisions and needed to update.
That is correct... I am running Java Version 6 update 5 (build 1.6.0_35-b10)
But IIRC, the last time I tried to update to the latest Java version I found that Tomcat 6 does not run under Java 7, so I had to roll back to Java 6.
Does that all sound like your experiences?
In which case, what version of Tomcat is Madsonic designed to run under? Is it Java 7/Tomcat 7/Madsonic?
It just makes it difficult for me to "evaluate" and fall back if something goes wrong... if I have to update all three in order to give my users a test drive.
Or am I missing something?
(I'll be honest... I could figure this all out by trial and error myself, but I don't want to take the server offline for longer than I have to)
Thanks,
Glenn