Unable to launch appium 1.9.0 using bat file - appium-android

I would like to know how to launch appium 1.9.0 using a bat file.
I used the line below but it's not launching.
"C:\Program Files\nodejs\node.exe" "C:\Program Files
(x86)\Appium\resources\app\node_modules\appium\lib\appium.js"

Make sure your path is correct. I have appium 1.9.0 and I have node.exe in the appium folder.
My commands in .bat file goes like this and it works
"C:\Program Files (x86)\Appium\node.exe" "C:\Program Files
(x86)\Appium\node_modules\appium\bin\appium.js"

Related

- amnuts/opcache-gui 2.5.4 requires ext-zend-opcache * -> it is missing from your system

I'm trying to run 'composer install' command on root directory of existing project, but when I run this command it's giving 'ext-zend-opcache' missing error.enter image description here
I've enabled zendextension in php.ini file Php.ini file screen shot, and to verify whether it has enabled or not I've run 'php -v' in command prompt which is saying 'failed loading php_opcache.dll' Php -v Command Prompt screen shot
I'm using xampp v3.2.2 because php 7.2 was required to run project which was mentioned in composer.json file of project.

I am trying to set up Kafka in my local mac

I have unzipped the kafka_2.12-2.5.0 version and started zookeeper and when I am trying to start kafka using the command
"bin/zookeeper-server-start.sh config/zookeeper.properties" i am getting the following eror:
/Users/manig/Desktop/kafka_2.12-2.5.0/bin/kafka-run-class.sh: line 317: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home#/bin/java: No such file or directory
/Users/manig/Desktop/kafka_2.12-2.5.0/bin/kafka-run-class.sh: line 317: exec: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home#/bin/java: cannot execute: No such file or directory.
I tried adding double quotes around the JAVA term like this: "$JAVA" and also changing the classpath to cygpath -wp $CLASSPATH but still getting the same above error
can someone please help me with this..!
Try to set your Java ClassPath properly using the below commands. It was not able to recognize you JDK.
export JAVA_HOME="$(/usr/libexec/java_home)"
or
export JAVA_HOME=`/usr/libexec/java_home`
cygpath is for Cygwin, not Mac.
If you want to install on a Mac, just use brew install kafka
Or use Docker

Can't init Scala Gradle project: -bash: gradle/gradle-5.2.1/bin/gradle: No such file or directory

I just installed Gradle, manually by downloading the zip and then unzipping it, and verified it installed fine with gradle -v .
I have it located at Users/username/gradle/ . I set it on the home path for linux by running this line:
export PATH=$PATH:gradle/gradle-5.2.1/bin/
However, when I try to init my first Scala project, I run this command:
gradle init --type scala-library
However, it complains that:
-bash: gradle/gradle-5.2.1/bin/gradle: No such file or directory
So fine, I check my directory structure, and that file is definitely in there. What gives?
You should check whether gradle file exists and is an executable ls -l gradle/gradle-5.2.1/bin/gradle. Also if Users/gradle/ means user's home directory shouldn't your path be something like $PATH:$HOME/gradle/gradle-5.2.1/bin/ ?

sbt command not found

I am installing sbt in my cloudera distribution.
I have downloaded sbt.0.13.15
Moved file to /usr/local
Then I had updated profile
sudo nano profile
Added export PATH=$PATH:/usr/local/sbt/bin
Saved file and exited.
But now if I issue "sbt about" command, I am getting sbt: command not found.
Could you please help to resolve this issue.
Some suggestions:
Check your PATH variable: echo $PATH
The PATH variable is not updated automatically by writing into .profile, either open a new shell or do source .profile
The file is called .profile, not profile

Error: Cannot run program "C:\Program Files\Genymobile\Genymotion\/reg": CreateProcess error=2,The system cannot find the file specified

After installing the Genymotion plugin for Eclipse and setting the directory to
"C:\Program Files\Genymobile\Genymotion" , I'm still getting this error and my genymotion emulator won't start.
I'm running Eclipse Juno on Windows 8.1. What should I do ?
Go to Window > Preferences > Genymobile > Genymotion and change the directory to the Genymotion installation directory. Might be this one on windows:
C:\Program Files\Genymobile\Genymotion