Saturday, August 6, 2011

how to make jar file

make jar file

jar cvfm MyJarName.jar manifest.txt *.class *.txt

in manifest.txt
Main-Class: ExecuteclassName


runjar file
java -jar MyJarName.jar

jar file execute on click

right click on jar file and open with path to jre/lib/jexec

No comments:

Post a Comment

how to see xml preview in browser php

xml preview view in browser $xml = new DOMDocument('1.0', 'UTF-8');                 $xml->preserveWhiteSpace = false; ...