I have a rather newbie question so please bear with me for a while.
You see i am trying to run a jar file programmatically and i am not quite sure how to do it. You see i use windows and i always double-click on it to run but now i have a requirement to run a jar file programmatically.
This is what i have so far
My java.exe is as located as shown by the value of str1 and my jar file is located at "C:\JButtons.jar". Basically all i need is a way to run that jar file and seeting the classpath programmatically by using the Runtime class.