| | When i run my war file in tomcat5.5.9 it is display Unsupported version 49.0 error .Do you have any idea? |
|
|
You're trying to run Java code compiled with 1.5 SDK on an earlier VM (e.g. 1.4).
Version 49 => Java 1.5 and 48 => Java 1.4 By default compiling code with a 1.5 Java compiler will generate bytecode that only runs on a 1.5 VM, but you can set flags to make the bytecode backwards compatible. Tomcat 5.5.x is (AFAIK) buildt with 1.5 SDK, but with backwards compability enabled. Thus Tomcat can run on an 1.4 VM... You could either upgrade the VM Tomcat is running on, or compile your code with the "-target 1.4" option, e.g. javac -target 1.4 MyCode.java
Recent Queries:-
Keywords : error, unsupppoted, class, version, 49, 0
Opacity Issue (2) I use the Lightbox JS script for displaying images ( seen here ). It works great, but the trouble The code in the tutorial I have read returns an error upon compilation (3) I want to create an array of type Cards. Is this the right way of doing it? CODE Card Looking for error, unsupppoted, class, version, 49, 0
|
|
![]() Error Unsupppoted Class Version 49.0 - none |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|