SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Guest

    Launching a Java application from a batch file under Win95

    Under Win95 I cannot get SilkTest to launch my Java application from a batch file.
    In my JavaMainWin window declaration I have declared a sCmdLine construct as a property, fully specifying the batch file, including the path. However, when I run my test script I get the error "Application cannot be started - File not found". This message appears to be triggered from the Invoke method which tries to start the Java application.

    I've put the batch file in every path and directory I can think of but I cannot get Silk to launch the application.

    In contrast, the same technique under WinNT works fine!

    Anybody had the same problem ?


  2. #2
    Guest

    Re: Launching a Java application from a batch file under Win95

    The solution was simply to add the ".bat" extension to the file name.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:12 PM.

Copyright BetaSoft Inc.