Exception in thread "main" java.lang.NoClassDefFoundError: JavaApplicationTest
------ Solution --------------- -----------------------------
find classes.
------ For reference only ---------------------------------------
put the installation has been installed uninstall a heavy chant
------ For reference only ---------------------------------- -----
remember to use the command line parameters classpath
you did not find this class
Exception in thread "main" java.lang.NoClassDefFoundError: JavaApplicationTest
------ For reference only ------------- --------------------------
I do not reload , but the path has moved , changed environment variables. Or why not , jre environment variables in addition there are other registration information you ?
------ For reference only -------------------------------------- -
unloading, again, and Bu trouble .
------ For reference only -------------------------------------- -
I do not reload , but the path has moved , changed environment variables. Or why not , jre environment variables in addition there are other registration information you ?
nothing relationship with the environment variable , say that you do not set this parameter classpath
you still take a look at the official documentation to see how to use it java command
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html
------ For reference only --------- ------------------------------
I do not reload , but the path has moved , changed environment variables. Or why not , jre environment variables in addition there are other registration information you ?
nothing relationship with the environment variable , say that you do not set this parameter classpath
you still take a look at the official documentation to see how to use it java command
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html
set classpath this parameter is not OK .
------ For reference only -------------------------------------- -
busy on the re Come
------ For reference only ---------------------------------------
reinstalled , still the same .
------ For reference only -------------------------------------- -
kill environment variable CLASSPATH, now the jdk do not need it anymore.
------ For reference only ---------------------------------- -----
killed, still the same .
------ For reference only -------------------------------------- -
jdk-7u40-windows-i586.exe installation file in the installation process, the default path is X: \ Program Files \, it does not detect whether the path contains a space , a space is not that it does not matter . Otherwise the sun and oracle too tmd anything. Think this would lead to what ? All windows!
------ For reference only -------------------------------------- -
resolved, there are code package javaapplicationtest;
command should be in the upper level directory , java javaapplicationtest / JavaApplicationTest
没有评论:
发表评论