class file has wrong version 50.0, should be 48.0 error

Joined
Jul 11, 2008
Messages
1
Reaction score
0
Hi,

I'm new to Java so I was wondering if anyone could help me with the following error that I keep getting:

D:\Implementation\Name\PropertyAgent.java:14: cannot access House
bad class file: .\House.class
class file has wrong version 50.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
private House addHouse;
^
1 error

how could I fix it? Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top