I have searched this forum and the intermediate for an answer, but to no avail, I am here asking this question for which I have not found an answer.
I have created a software application written completely in java using a Win98 operating system. I have created a batch file to run that looks like this:
All the .class files and images used in the program are found in those folders. Of course, the main .class file is BaseApplet.class which is found in the c:\PhotoMate\prog folder in the package prog.
I've tested this on my machine and emailed it to others(at least 3) and it has worked on all except for one. The DOS window closed automatically after double clicking on the .bat file and nothing happens. I know that this user and the other 3 have installed the Java 1.3.1 JRE (runtime only, not the developer kit as he is only using it). I have included the classpath in the .bat file as well, and he is on WinNT. (Is that the reason?)
So....My question is....why does it close automatically? and why doesn't it run??
Many thanks in advance. A wish of good fortune to those who answer correctly.
[This message has been edited by Brian Snyder (edited October 05, 2001).]
[This message has been edited by Brian Snyder (edited October 05, 2001).]
I have created a software application written completely in java using a Win98 operating system. I have created a batch file to run that looks like this:
All the .class files and images used in the program are found in those folders. Of course, the main .class file is BaseApplet.class which is found in the c:\PhotoMate\prog folder in the package prog.
I've tested this on my machine and emailed it to others(at least 3) and it has worked on all except for one. The DOS window closed automatically after double clicking on the .bat file and nothing happens. I know that this user and the other 3 have installed the Java 1.3.1 JRE (runtime only, not the developer kit as he is only using it). I have included the classpath in the .bat file as well, and he is on WinNT. (Is that the reason?)
So....My question is....why does it close automatically? and why doesn't it run??
Many thanks in advance. A wish of good fortune to those who answer correctly.
[This message has been edited by Brian Snyder (edited October 05, 2001).]
[This message has been edited by Brian Snyder (edited October 05, 2001).]