-
Applet compiled in version 1.5 wont run on JRE 1.4
Hi,
When I view my webpage a grey box appears where my applet should be, I get the following message from the java console...
java.lang.UnsupportedClassVersionError: MyApplet (Unsupported major.minor version 49.0)
I believe this problem arises when I try to run the applet (which was compiled with java version 1.5) in a browser that supports JRE version 1.4
My question is this...
How did Sun Micro allow this situation to arise, surely they should have ensured that version 1.5 is compatible with all previous versions
Will future versions of internet explorer support JRE 1.5
If I compile the program in version 1.4 can I then run the applet in all browsers (ie. both JRE version 1.4 and 1.5) ?
Any thoughts are appreciated
-
This is not a matter of your applet being compiled with a 1.5 compiler - it is a matter of the language elements you are using in your applet. The jre which is resident on the client machine must support those language elements. If you are using 1.5 introduced features, they won't be supported on older installations of the jre.
If you need these features, convince your users to upgrade their jre installations. If not, modify your applet so that it uses nothing introduced with 1.5.
-
Thanks nspils,
I shall have a look at my code and see what I need to change
-
usually software is upcompatible and not downcompatible.
or ever tried running a win2k specific application on a win98 machine?
Similar Threads
-
Replies: 0
Last Post: 02-06-2002, 03:04 AM
-
Replies: 2
Last Post: 12-18-2001, 09:49 PM
-
By Robert Levy in forum Java
Replies: 6
Last Post: 09-22-2000, 03:36 AM
-
By Fabio Luis De Paoli in forum Java
Replies: 1
Last Post: 05-17-2000, 01:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks