cs****@myway.com (Colin McSwiggen) wrote in message news:<fb**************************@posting.google. com>...
Lately I've been annoyed by having to run my Java programs from either
the IDE or the command line. Is there a way to make a Java program
executable that doesn't involve using a script in C++ (or some other
language) to run it with a System Call?
hi
i was also irritated by invoking java frm cmd prompt or IDE tools.
i found a solution which is a small program in c (i wrote by myself
with the help of some online tutorial ... i dun rem clearly but i
guess from some reference on roedy green's site)
with this, you can double click your .class files to run them like
normal .exe files ....
its for WIN* users
features support for command line options, parameters
if the class has main method , you can run it by double clicking it
it uses windows association features to associate .class with this program
no need to convert .class into native code
all you need to do is double click any .class file it will ask for
program to associate with ... locate this program henceforth you dont
have to invoke java from command prompt
if you need it, i shall mail it to you ....
or you can search for tut n write it yourself ...its damnnn easy
regards
amey