• 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

Ant + Weblogic + EJb on Eclipse - UnsupportedClassVersionError

 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am on WebLogic 10.0

My JAVA_HOME is set to JDK 1.4

The same I have configured for the project properties -->java Compiler -->JDK Compliance

I am compiling an EJB on ant script.

Ant is also configured to run on Excution JRE as 1.4.

And it gives me following error.


Problem is at the line:


Whats wrong? I have tried switching between versions, and at a point I got a jar out! but when I deployed it, I ended up with an error on the server.
 
Ranch Hand
Posts: 376
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.UnsupportedClassVersionError: weblogic/utils/compiler/Tool (Unsupported major.minor version 49.0)
is when you are using diff JDK version.

for WLS 10.0 you need to use JDK 1.5 and not 1.4

 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Change the JAVA_HOME to the JDK 1.5

Cheers,
Anandraj
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic