![]() ![]() Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)Ĭ:\COS210\roach>javac -cp. Java(TM) SE Runtime Environment (build 1.6.0_20-b02) the highest version can run all other lower versions, your error might be because the java version your class file was compiled with is/was higher then the one you are runningīut i already have jdk kit installed and norm1 Microsoft Windows Ĭopyright (c) 2009 Microsoft Corporation. Or you have more then 1 version of java installed. ![]() I think the reason is the version in which the class file was compiled and the version you are using now to run the class file is lower then that of the version used to compile it. The code works on ecclipse so the code is correct but i have to learn how to compile using command promptĬheck out this image i get this same error i do not know why, is it because of my classpath or somethingĭoit(a batch file) is basically java -cp. I already set a path for jdk and etc, it worked before but now it doesnt work
0 Comments
Leave a Reply. |