6 Replies Latest reply: Dec 3, 2013 7:30 AM by 6032deca-e74c-4ae1-abcf-2089b0495abb RSS

    Java compiler works but at run it gives error

    6032deca-e74c-4ae1-abcf-2089b0495abb

      I have installed apache maven 3. JAVA_HOME, M2_HOME, M2 and PATH are done with correct paths with the guidance of apache tutorials. I checked "mvn --version" to confirm the installation and created my first project with "mvn archetype:generate". Project has been created. clean, compile package commands are working but the problem is when i am trying to run my App.class file with "java App" it gives error. I thought my maven is not installed as it should be. I created a simple program and compiled it with command prompt. It compiles but when i am trying it to run it gives error msg which is not java exception. My java is working. Can one say why???