18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

(Resolved) Sahi Script closes at the opening

romainromain Members
edited June 2010 in Sahi - Open Source
Hi all,
I got a trouble with sahi in my new computer under windows 7.
When I run it, the command window is closed.
No error message. It's just display during 1/2 second and it leaves.

Do you have an idea why?
Thank you

Comments

  • romainromain Members
    I try to launch it from command
    There is an error message

    C:\Users\Andrew\Downloads\sahi_20100611\sahi\bin>sahi.bat
    SAHI_HOME: ..
    SAHI_USERDATA_DIR: ..\userdata
    SAHI_EXT_CLASS_PATH:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object

    I try to reinstall Java but no changes
  • narayannarayan Administrators
    Can you do
    java -version
    on a command line and tell us the result?
  • romainromain Members
    edited June 2010
    Hi narayan, that works!
    You were right, "java -version" send back the same error.
    I think there was a conflict between java 32 bits and java 64 bits. Something like that.
    I uninstall all and just install 32 bits version.
    Sahi's working.
    Thank you for your help

    Romain
This discussion has been closed.