![]() |
...java.lang.UnsupportedClassVersionError.....
I get the following error when trying to run a server sided program. Does anyone know what it means?
Exception in thread "main" java.lang.UnsupportedClassVersionError: CommServer (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass0(Unknown Source) etc..... I assume it has to do with the version of the .class files...but unsure. How do I go about fixing it if that is the problem...any suggestions? Thanks |
Perhaps the code was compiled using a later/earlier version of Java than is available on the server. Check what version the server is running. If it has the appropriate version available but is using the wrong one, you may need to specifically use the proper java executable.
|
Dameon may be right, but you can try adding
:
private static final long serialVersionUID = 1L; |
| All times are GMT -5. The time now is 4:23 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC