Must PATH be set for java.exe?

J

Joe

Hi. I've written a Java app that's about ready to distribute. I want
to make sure that users can run it without too much hassle -- after
installing the JRE on their machines. I'm wondering if it's necessary,
for those who are Windows users, to set the DOS PATH variable so that
the java command can be run from a DOS prompt. This doesn't seem
necessary, since java.exe gets installed under C:\Windows, but I
wanted to be sure.

Thanks.
 
A

Andrew Thompson

Joe said:
Hi. I've written a Java app that's about ready to distribute. I want
to make sure that users can run it without too much hassle -- after
installing the JRE on their machines.

If aim is 'use with no hassle', think 'java web start'..
 
E

Erich Reimberg N.

Joe,

As long as you install just the JRE, you don't need to modify the PATH
variable in a Windows box. This is true for windows located in c:\winnt
and c:\windows (ie, Win2k, WinXP and also Win98).

Maybe you should just verify that the PATH variable includes the Windows
directory, but most probably you will find that the Windows directory
is already there.

Erich
 

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,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top