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.

Linux: Unable to access jarfile ../lib/sahi.jar

nratlosnratlos Members
edited November -1 in Sahi - Open Source
I am trying to run /sahi/bin/sahi.sh on a debian system (with firefox instead of iceweasel) and receive the following error message

': not a valid identifier: `MOZ_NO_REMOTE
Unable to access jarfile ../lib/sahi.jar

I have been able to correct the first lineof the error message by modifying
MOZ_NO_REMOTE=1
export MOZ_NO_REMOTE

to
export MOZ_NO_REMOTE=1

However the second line of the error message leaves me stumped. I have changed the location of the script
to ../lib modifying the location of the jarfile to simply ./sahi.jar or giving the full path name, to no avail.

Any good ideas ??

Comments

  • keturnketurn Members
    I ran in to this problem. It turned out to be caused by DOS line endings in the .sh files. I loaded the .sh file in vim, :set fileformat=unix and saved it again, and then it worked better.
Sign In or Register to comment.