jump to navigation

useful java commands February 18, 2008

Posted by lemonpress in 1 cat, java web dev.
trackback

First, navigate to the progectname dir

jar cvf projectame.war *

jar cf web-app.war *
(What’s the difference between cvf and cf?)

jar cf ear_app.ear web-app.war META-INF
(to deploy on JBoss)

* means “all files in this dir”

Prerequisits:
The dir %JAVA_HOME%\bin must be on the sys env var Path.
This is where jar executable lives.
JDK must be installed. (v1.5 currently)

Comments»

1. lemonpress - February 18, 2008

v means “verbose” output