Help me please...

Hi friends...!

I'w working with SLSBeans ,I created SLSB and compiled with java version 1.4 and deployed them on Weblogic7.0 with Weblogic Builder successfully.Then I tried to access the business method from the below client,but I couldn't. I've been getting an exception like.....

:Exception in thread "main" java.lang.UnsupportedClassVersionError :javax/management/InvalidAttributeValueException (Unsupported major.minor version 49.0).

//package newpack;

import javax.ejb.*;

import java.rmi.*;

import javax.naming.*;

import javax.naming.Context;

import javax.naming.InitialContext;

import java.util.*;

public class SLSBClient

{

public static void main(String[] args) throws Exception

{

Context ic=getContext();

Object obj=ic.lookup("slsb");

MyHome h=(MyHome)obj;

MyRemote r=h.create();

r.getMessage();

}

public static Context getContext() throws Exception

{

Hashtable h=new Hashtable();

h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");

h.put(Context.PROVIDER_URL,"t3://localhost:7001");

h.put(Context.SECURITY_PRINCIPAL,"weblogic");//username

h.put(Context.SECURITY_CREDENTIALS,"weblogic");//password

return new InitialContext(h);

}

}

!!!!!!..........what might be the wrong thing ?..!!!!!!!!!

[1417 byte] By [raaja] at [2007-10-3 3:27:54]
# 1
The classes you are trying to load have been compiled with java 1.4 while you are apparently running an older version with WL 7.0 (last time I checked, it used java 1.3).So you'll neeed to sync your java versions used for compilation and deployment..
karma-9a at 2007-7-14 21:21:25 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...