Simply create a .bat file with the following lines in it:
@ECHO OFF
set CLASSPATH=.
set CLASSPATH=%CLASSPATH%;path/to/needed/jars/my.jar
%JAVA_HOME%\bin\java -Xms128m -Xmx384m -Xnoclassgc ro.my.class.MyClass
More Related Contents:
- How to arrange the datas to display in array by given string of days in java?
- What’s wrong with using == to compare floats in Java?
- Which is more efficient, a for-each loop, or an iterator?
- How are Spring Data repositories actually implemented?
- Java 8: Difference between method reference Bound Receiver and UnBound Receiver
- How to create a Topic in Kafka through Java
- Java – Best way to grab ALL Strings between two Strings? (regex?)
- Exception handling : throw, throws and Throwable
- Maven: How to change path to target directory from command line?
- Cannot load R xlsx package on Mac OS 10.11
- How to start Activity in adapter?
- JAX-WS client : what’s the correct path to access the local WSDL?
- Hadoop Word count: receive the total number of words that start with the letter “c”
- java.lang.NoClassDefFoundError: javax/mail/Authenticator, whats wrong?
- Invoke method just before session expires
- Is Java’s assertEquals method reliable?
- Intersection of two strings in Java
- Sort a single String in Java
- java.lang.ClassNotFoundException: org.postgresql.Driver, Android
- Jsonpath with Jackson or Gson
- How to Format ISO-8601 in Java
- How to set String Array in Java Annotation
- Video Thumbnails in Java
- Is *this* really the best way to start a second JVM from Java code?
- What’s the best way to check if a String contains a URL in Java/Android?
- Array of function pointers in Java [duplicate]
- Does Pattern.compile cache?
- Setting the correct PATH for Eclipse
- Using int vs Integer
- How to create OSGi bundle from jar library?