Forums Register Login

win98 v. WinNT

+Pie Number of slices to send: Send
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).]
+Pie Number of slices to send: Send
Though I do not see why the NT machine wouldn't run your batch as the Win9x machines, I might have an idea on getting more information on the problem. Try to use the command prompt to open the batch file instead of double clicking. This will give you probably some more information on why your batch isn't running. Information you won't see when you double click, because then the command prompt is closed immediately.
Good luck,
Tim
I guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 865 times.
Similar Threads
from .java to .exe???
Cannot view Tomcat/JSP example source
NoClassDefFoundError , org.xml.sax.HandlerBase
Interesting problem in starting up j2ee 1.2 reference implementation.
Using windows 2000
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:05:21.