[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bad class path



Sounds like you have an older version of jre installed with a newer
version of the jdk.

I would delete all java related directories and re-install the latest
jdk.



On Thu, 2003-08-07 at 08:08, Kathy Z wrote:
> I need your guys help.
> We installed j2se1.4.1_03 on SunOS 5.8. 
> I set
> Java_home=/user/j2se
> PATH=.:/usr/j2se/bin:/usr/j2se/bin:/bin:/lib:/usr/bin:/usr/local/bin:/usr/ucb
> 
> 
> When I compiled java class by using javac
> pkgname/xxx.java, I got an error saying:
> bad class file:
> /usr/j2se/jre/lib/rt.jar(java/lang/Object.class) class
> file has wrong version 48.0, should be 47.0.
> 
> Could you tell me what is wrong here? It seems JRE
> does not work with jdk.....
> 
> Thanks for help in advance.
> 
> Kathy
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
>