------------------------------------------------------------------------------------------ remember to remove the "package com.carolinacustom;" before trying to compile and run from the java directory. ------------------------------------------------------------------------------------------ "C:\Program Files\Java\j2sdk1.4.1\bin\javac" -d "C:\Program Files\Java\j2sdk1.4.1\jre\lib\ext\inside_is_com\com\carolinacustom" SendEmail.java "C:\Program Files\Java\j2sdk1.4.1\bin\java" -cp "C:\Program Files\Java\j2sdk1.4.1\jre\lib\ext\inside_is_com\com\carolinacustom" SendEmail ------------------------------------------------------------------------------------------ before jarring up the file, replace the "package com.carolinacustom;" back in the top of the .java file and recompile. But, remember that it won't exectute using "java" with "package com.carolinacustom;" in the top of the .java file ------------------------------------------------------------------------------------------ jar cvf carolinacustom.com -C com/ * to add manifest, then do the same command again to jar it up jar cvf carolinacustom.com -C com/ *