MDS-CS in blackberry - blackberry

When I run my simulator I obtain an error that java 1.6 cannot found for launching MDS-CS
Can any one help me ? What should I add to run MDS-CS?

open command prompt and type java. If you get "java not recognized as an internal or external command" , you havent set the path. MDS-CS needs JDK path to be set. So as Farid farhat told you,set the path in environment variables to point to bin folder in JDK.

Related

Error while install appium in windows 8, Couldn't find java 'jar' executable on your path.Please ensure it is present, I have set variable for java

enter image description here
I have installed appium in windows 8, Getting error as Not find jar executable file in your path.
You have to simply add C:\Program Files\Java\jdkx.xx.x_\bin to Windows' PATH variable.
That is the location where jar.exe is located on Windows (yours may differs, depending on JDK version, etc.)
You'd have to start a new command prompt (assuming you're using Windows'cmd) for the new PATH variable to reflect the change.

monkeyrunner can't be started up with an error

I met an error of
SWT folder '..\framework\x86_64' does not exist. Please set
ANDROID_SWT to point to the folder containing swt.jar for your
platform.
when i run the monkeyrunner in the first time.By the way, the sdk is installed with the androidStudio 3.0.
I tried to check my jdk and python, and they are ok.
To set ANDROID_SWT to point to the folder containing swt.jar for your platform, use following command:
setx -m ANDROID_SWT "C:\Users\pang\AppData\Local\Android\Sdk\tools\lib\x86_64"
Keep in mind that the path has to reflect your actual path.

Starting thingsboard service on windows Error 1067

I am getting the below error when I run net start thingsboard
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
Problem was with windows service java wrapper
I was able to run thingsboard from command line with out using service wrapper using below command :
SET BASE=C:\thingsboard
SET LOADER_PATH=%BASE%\conf,%BASE%\extensions
SET SQL_DATA_FOLDER=%BASE%\data\sql
SET jarfile=%BASE%\lib\thingsboard.jar
SET installDir=%BASE%\data
java -jar thingsboard.jar
I had same Problem that I solved by giving correct path of java in
Control Panel\All Control Panel Items\System\Advanced system settings\Advanced\Environmental Variables\System variables
In system variable select Path and click on Edit and give your java version path
for example mine is:
C:\Program Files\Java\jre1.8.0_172\bin
if this is not working check whether multiple java versions are available or not.
there should not be multiple java path in Environment Variables if its there delete others and let only correct path

Error while running eclipse in liferay platform

i am new to liferay and is managed to start the liferay sever by setting the environment variable, but when i create a liferay plugin project it doesnt work and shows
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\JDK1.7.0_79;
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
whereas the server is running correctly due to correct path of java_home
please help
In Windows, processes cache the environment variables. So if you have changed the environment variables when eclipse was open, new environment variables won't be reflected in eclipse. To solve that problem You can close eclipse and open it from a new instance of windows explorer. If this doesn't solve the problem, open it from the command line with a -clean parameter.
D:\eclipse>eclipse.exe -clean

Java windows command

I am trying to compile some java code on Windows 7 pc, I have installed java JDK and I am trying to use the javac command in cmd but I get output saying that
'javac' is not recognized as an internal or external command,
operable program or batch file.
What do I have to do to enable compiler in cmd or is it possible to do in Windows?
1)Go to properties by right click on icon Computer , then navigate to Advanced System Settings.
2)Click Environment Variables.
3)Click on New , set Variable name as path and Variable path as the path of java jdk installation directory which could be something like this -
C:\Program Files\Java\jdk1.6.0_23\bin;
where C:** is the drive where JDK is installed and **Program Files\java is the directory where it resides.
look out for semi-colon(;) at the last.
4)Click ok
5)Restart cmd and run javac , it should work now.
Look for Screenshots here for more help.
Regards
Anshul
you have to set a new system variable for your JAVA_HOME in windows.
See here for further information.
Add the path to bin folder of JDK in your PATH variable. For instructions to set PATH variable follow this tutorial.
Your java directory is not on the path. Here are some helpful screenshots to show how to set it up:
http://vietpad.sourceforge.net/javaonwindows.html

Resources