• 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

class file has wrong version 48.0, should be 47.0

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using WSAD 5.1.2 on Windows XP. I create simple Dynamic web project with one Java class (that compiles cleanly) and one JSP (that doesn't). The JSP has scriplet for the Java class and the Project Preferences as well as Window Preferences are both set for 1.4 Compliance.

If I change either Project Preference or Window > Preferences to use 1.3 JDK Compliance or use 1.4 but set Generated .class files compatibility to 1.3 then the JSP compiles cleanly.

Any ideas?

Yes, I did have a 1.3.1 JDK in my PATH environment variable, but then I created a JAVA_HOME to the IBM WSAD/Eclipse Java directory and prepended that to the PATH env variable and restarted machine.

Thanks!

Rob Mitchell
Rob.Mitchell@comcast.net
 
We don't have time to be charming! Quick, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic