• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WAS5.0 & JDK version problem

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone know which versions of JDK WAS5 is compatable with?

Started writing a new WebApp this week and tried to install it onto WAS5 but when I goto my first Servlet (a login servlet) I get the horrible:

[Servlet Error]-[LoginServlet]: java.lang.UnsupportedClassVersionError: uk/co/keatings/servlets/LoginServlet (Unsupported major.minor version 49.0)

error.

I understand that this means that WAS doesn;t understand the versioning of JDK used, but so far i have tried JDKs: jdk1.3.1, j2sdk1.4.2_07 & jdk1.5.0 and none of them seem to work.

Also I'm creating the WAR file using NetBeans4-Beta2 could this be creating teh WAR file incorrectly do you know? If so does anyone have a recomendation of how to create the WAR file differently (as ANT seems a bit beyond me at the moment!)

Cheers
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WAS 5.0 if I remember right (you should read the documentation to be sure) supported JDK1.3.1 and below. You need WAS 5.1 for 1.4.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's actually WSAD 5.1.2 for JDK 1.4, not just WSAD 5.1.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic