![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
...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 Last edited by Krista; Dec 6th, 2005 at 6:46 PM. Reason: more meaningful title |
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
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.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#3 |
|
Expert Programmer
|
Dameon may be right, but you can try adding
private static final long serialVersionUID = 1L; |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|