How to run Java program without typing class name from DOS command line?

T

tony lincoln

Dear Friends,

I finished some classes and want my friend(who is new in computer) to
use and test if my program can work well. How to realize this: he just
doulbe click the image label of my program, then several classes will
be run automatically? Without typing the class name from DOS command
line?

How to produce this image label?

Many thanks.
tony
 
?

=?ISO-8859-1?Q?Fr=E9d=E9ric_Minne?=

tony said:
Dear Friends,

I finished some classes and want my friend(who is new in computer) to
use and test if my program can work well. How to realize this: he just
doulbe click the image label of my program, then several classes will
be run automatically? Without typing the class name from DOS command
line?

How to produce this image label?

Many thanks.
tony

Hello,

Various solutions :

1) use a batch file;
2) use an exectutable jar-file;
3) create a Windows shortcut (Tomcat installer uses that solution under
Windows, for example Tomcat);

--
------------ Frederic Minne (FSA3DS/IN)

(e-mail address removed) (remove spam before replying)
(e-mail address removed) (remove spam before replying)
jabberID : (e-mail address removed)
ICQ#: 51502355

---------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top