making a executble from simple java code
I am totally new to java.
Could somebody help me to convert the below java code to an executable file? (double click to run in win 7)
var intInterval = 0
filename = "C:\1.txt";
AmiBroker1 = new ActiveXObject("Broker.Application" );
AmiBroker1.Import( 0, filename, "custom.format" );
It simply imports numerical data from 1.txt into an application amibroker.
Custom.format gives values in a particular sequence.
Also this import function has to be in a loop of 60 seconds.
Much appreciated your help is..;)