SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Invoking Java apps in UNIX

    Hi,

    I'm testing a java app that gets invoked differently depending on the platform being used. On NT, its a pretty straight forward call using the typical java executable contained in the jre. On unix however a shell script is used which contains an app called vbj which is used to launch the application. is there a way i can create a state that uses this "unix method" of invoking the applicatioN?

    thanks,
    Robert

    ------------------

  2. #2
    Member
    Join Date
    Jun 2001
    Location
    Berkeley, CA, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Invoking Java apps in UNIX

    Try setting up a switch in your start routine that goes off of GUITYPE.

    GUITYPE gtSystem = GetGuiType()

    switch (gtSystem)

    case msw
    // Launch windows start routine

    default
    // Launch UNIX shell script

    Hope that works for you.

    ------------------

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Invoking Java apps in UNIX

    Below is a twist on the above response. I'm assuming that what you really need is one sCmdLine for Windows and a different sCmdLine for unix. In that case you can use the GUI specifiers (in Silk Help index under Gui specifier and GUI type). I prefer this approach because I can put it in the window dec and am not relying on executing code to determine the GUI Type.

    Hmm... isn't there a GUI specifier for unix platforms? Couldn't find it in the Help.

    ------------------

 

 

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 07:21 PM.

Copyright BetaSoft Inc.