Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

win98 v. WinNT

Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
    Bookmark Topic Watch Topic
  • New Topic