I was trying to implement Selendroid in my pc.
I do as follows
1.Installed JDK
2.Installed eclipse
3.Installed SDk
4.Created Environmental Variables
5.Created a Java Application in eclipse
6.Mapped Selendroid Standalone jar,Selendroid Standalone with dependencies, Selendroid Client and Selenium Client.I used the command in console as follows
java -jar selendroid-standalone-0.17.0-with-dependencies -apk myapk.apk
And verified status using http://localhost:4444/wd/hub/status.I created android application and was stuck after this,What do after this?
here is their official site link http://selendroid.io/setup.html from where you can complete instruction regarding your question if you face any issue than feel free to contact
Related
As per the problems this person was having;
JDBC Connector not working
I'm running Debian 9.1
I installed Java via the package manager
I added Java to the path in /etc/config & added JAVA_HOME to the path in /etc/environment
I then installed jmeter via the package manager
I then downloaded the mysql-connector-java-5.1.44-bin.jar and copied this to /usr/share/jmeter/lib
But after all this, I still dont get the JDBC connection option under Add->Config Element within JMeter, nor do i get any options for JDBC within JMeter.
Can anyone help me as to what im doing wrong?
While I am new to JMeter, I have successfully run simple "Hello World" HTTP requests queried from a PHP Script & a NodeJS script so far.
Update
Added JMeter log by request
Jmeter log
I have no idea what the problem was with Jmeter on my Debian machine... (as prior to this I was trying to use it on Ubuntu Server, and it had the same issue as Debian);
But anyway, I just installed the Oracle JDK & JMeter for Windows, on my old Windows 7 laptop, dropped in the JDBC connector to the lib directory - & immediately it had the option for 'JDBC Connection', which never appeared on either the Ubuntu or Debian installs.
So if anyone else runs into this issue on Ubuntu or Debian ~ I might suggest trying a Windows 7 VM for running it.
Note here
This was the JMeter I installed on Windows (I didn't get it from Apache):
JMeter for Windows
For some reason I cannot find JMeter JDBC components either in Debian or in Ubuntu repositories, maybe it wasn't included by maintainers.
So instead of installing JMeter using package manager you can just download the latest JMeter version (which is JMeter 3.2 as of now while in repositories you have much older versions, 2.11/2.13) from the official website. JMeter is pure Java-based application so all you will need to do in order to be able to use it is to install Java 8 or above.
Alternative option would be downloading jmeter-jdbc JAR appropriate to your JMeter version and dropping it under /usr/share/jmeter/lib/ext folder (super-user privileges might be required), this way you will get JDBC test elements.
I'm trying to deploy a nodejs app to swisscom application cloud.
The app uses the node-java module.
While staging the app, I get an error message:
[node-java] Error: not found: javac
is it possible to deploy apps with multiple buildpacks (e.g. nodejs and java) like on heroku (besides creating a custom buildpack)?
#UPDATE:
I'm (now) aware of the (experimental) multi-buildpack for cloudfoundry. unfortunately it won't detect my app as java app (which isn't) and anyway, it would ony install the jre but not the jdk.
Is there a possibility (besides a docker image or custom buildpacks) to have jdk in the app container?
because there seems no way to add custom packages to the cf base image (cflinuxfs2) provided by swisscom, I forked the official cloud foundry buildpack and let it install the openjdk-7-jdk package before doing all the nodejs related stuff (https://github.com/juckerf/nodejs-openjdk-buildpack)
(unfortunately the multi-buildpack with the nodejs buildpack and herokus apt buildpack didn't work for me because the nodejs buildpack was executed before the apt buildpack, regardless of the order in the multi-buildpack.yml)
I have installed JDK and Tomcat 8 on the server. Now I need to install ORDS and connect it to Tomcat. I went through various documentation and downloaded ORDS on the server. Now I have a couple of questions as all this stuff is new to me and documentation is not very clear most of the time.
There is java.exe in the directory to which I installed JDK and there is java.exe in the directory where all the ORDS files are unzipped. Does it matter which one I use to run the installation?
java -jar ords.war standalone --port 8090
Now my second question is do I run standalone ORDS installation and specify port 8090 and then copy ords.war file into Tomcat diirectory Tomcat/webapp and make sure Tomcat is running and it will install ords on its own? That's where I am confused...
My third question is how do I check if ORDS has been installed correctly? Would going to http://localhost:8090/ords suffice?
P.S. Oracle database installed on another server, I have all the passwords, hostname, port, and service name. APEX is also installed on another server.
Appex is the old name for ORDS. After the ORDS version 3.x you don't need to install apex.
ORDS 3.0 is able to deploy WITHOUT Application Express. It has its own database schema now.
Answers for your questions:
It doesn't matter. But make sure it is java 7+. You can instead install java globally and just run: java -jar ords.war command. You can follow this tutorial to install java on your machine: https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html
When you run java -jar ords.war command then at this stage it starts installation of ORDS on your system. Before installation it asks for the oracle server hostname, oracle port, SID, and sysdba username and password to connect. Once you provide all the details and the type of installation you want, then it starts installation to the specific database server. Your tomcat/WLS/glassfish server will act as a rest endpoint between the database server and the clients.
Once installed ORDS on your database, if you right click on your connection in SQL Developer then you can see the Rest Service options. And yes the other way is like you mentioned: http:<host-name>:<port-name>/<schema-alias>/<object-alias>/ and see the result.
If you want to know the detail architecture, I would suggest to follow this oracle document: http://www.oracle.com/technetwork/developer-tools/rest-data-services/overview/index.html
I have recently installed the ORDS in production environment successfully. Actually there are two ways you can install ORDS:
Standalone mode:
Using sql developer you can easily configure the standalone mode: http://www.thatjeffsmith.com/archive/2015/04/deploying-oracle-rest-data-services-from-oracle-sql-developer/
But if you would like to use the terminal you can use the following steps:
https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-standalone-mode
Advanced mode:
https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-3-installation-on-tomcat-7.
In the advanced mode ORDS supports Tomcat, WebLogic, and Glassfish application servers
When to use which:
Use Advanced Mode for production
Use Standalone Mode for Development and Testing. You can use Advanced Mode for development and testing but since the standalone mode is quite easy for installation, it is recommended one.
For querying:
http://www.toadworld.com/platforms/oracle/w/wiki/11471.more-oracle-rest-data-services-features
https://svgonugu.com/2015/11/21/adf-bc-rest-services-i/
Note: If your database is PDB you could have some problem installing it and there are some tricks to solve it depending on the problem. Please let me know I would love to answer.
I followed the tutorial on youtube how to deploy a Java app to remote RaspberryPi and tryed the same with the OrangePi. The problem I have is that I can't select the remote JVM from the Netbeans..
Here are some screen shoots:
When I try to select a Runtime platform I have only the default JDK1.8 which is installed on the local machine (Project Platform) and the Remote platform (OrangePI) is missing (I can't select it from the list).
I followed this video: https://www.youtube.com/watch?v=EXy5Ysp3yp4&t=301s
The only difference is that I'am using root as user...
regards
Ferguson
The problem was that on OrangePi was Java 1.7 and in Netbeans 1.8...
I have been learning about Java web start and got interested in its features. But can my Java app downloaded and run from browser run on a device without a JRE(Java environment) installed?
I have tried download a sample jar from browser with Java web start but my app can't run.
Second question: Is there a feature in Java web start to check for an installed JRE and automatically setup the environment?
a JRE is required on the client to run your java Web Start application as it is downloaded and executed localy and all Java applications need an installed JRE.
Java Web Start provides the option to declare a JRE (with version number) and download it if it is not installed. (But I never used it so I can't tell you how to set this up) found on wikipedia.
You cannot do such a things with applet/jnlp, but you can package your jar into an application package: http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm
Java Webstart (JavaWS) is part of the Java Runtime Environment (JRE)
http://www.java.com/en/download/faq/java_webstart.xml
An installed JRE is - as far as I know - required to run JavaWS applications.
I'm not aware of any method which would facilitate an automatic download/install of the current JRE.
However, JavaWS allows you to enforce the use of a specific JRE version.
If "setup" refers to checking if a runtime is installed - that feature cannot of course be part of the Java runtime - that would turn it into a chicken-egg type of situation. At best an existing runtime will be able to detect that it is outdated.
But Oracle provides the Java Deployment Toolkit which is based on javascript:
http://www.java.com/en/download/faq/deployment_toolkit.xml
http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/depltoolkit_index.html
JavaFX 2 provides ant tasks to automate those things away:
http://docs.oracle.com/javafx/2/deployment/deployment_toolkit.htm#BABJHEJA