This content has been marked as final. Show 3 replies
Thanks. Maybe I should explain a little better.
I am using JBuilder 2006 to my IDE. This environment requires that you put in the path to the JRE/JDK.
I have uninstalled and downloaded the jdk again and this time i'm getting a strange error:
"test.java": cannot access javax.crypto.Cipher; bad class file: D:\Program Files\Java\jre7\lib\jce.jar\javax\crypto\Cipher.class, class file has wrong version 51.0, should be 49.0, Please remove or make sure it appears in the correct subdirectory of the classpath. at line 19, column 21
Now this is strange because i'm using the right library.
Is there something that I'm missing here?
Again, thanks for your help.
This environment requires that you put in the path to the JRE/JDK.Certainly, but that's not the same thing as setting the CLASSPATH.
class file has wrong version 51.0, should be 49.0The class file came from a later version of Java than is being used to compile the pRogram. you have two JDKs installed. Use the later one, maybe even remove the earlier one.