Gadgets. Games. Apps. Tips & tricks and everything that I have experienced on my daily life
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Monday, December 1, 2014
[Amazing Website] DevFreeCast: huge collection of FREE screencast for DEVs
Huge collection of FREE screencast for developers:
Java, Javascript, iOS, Android, Phyton, php and many more.
http://devfreecasts.org/
Tuesday, May 20, 2014
[JAVA] [CODE] How to Pass Parameter/Argument to JAR file
Here is what needs to be done if parameter/argument want to be passed to the JAR file:
public class Convert {
public Convert() {
super();
}
public static void main(String[] args) {
try{
String inputFile = args[0];
}
catch(Exception e) {
e.printStackTrace();
}
}
}
public class Convert {
public Convert() {
super();
}
public static void main(String[] args) {
try{
String inputFile = args[0];
}
catch(Exception e) {
e.printStackTrace();
}
}
}
[JAVA] How to Run JAR file
To run jar file:
java -jar <jar file name>
java -jar <jar file name>
Subscribe to:
Posts (Atom)