Hi,

    I have created a a simple java class inside the folder
D:/Project/src/com.

package com;

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

     I would like to compile this java file and place the .class file in to
ther folder D:/Project/build/classes/ and then how to run this .class file
from command line. I am new to Maven, please help me out. I have downloaded
Maven 2.1.0. Please provide the step by step procedure.


Thanks in advance,
-- 
View this message in context: 
http://www.nabble.com/How-to-compile-and-run-Java-class-tp22799350p22799350.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to