Skip to content

How to return a list of strings in Java?

I want to return a list of strings when I call the method generateArrayList(2); It reminds me “Method does not exist or incorrect signature: void generateArrayList(Integer) from the type anon” Anyone help me, please! here is my class: Answer You have few compile time errors which needs to be corre…

How to create delete function with jsp and mysql

im trying to a create a course table with crud function. So this is a simple page i want to create with the following function Create Course Edit Course 3.Delete Cou Update Course Answer the above has been resolved by change the input parameter

Running Jenkins Node/Agent as a Windows Service with OpenJDK

I have a Windows virtual machine with OpenJDK 13 installed that I would like to setup as a Jenkins node/agent. When I create the node configuration using the Jenkins UI and select Launch Method: Launch Agent by connecting it to the master it provides a link to download slave-agent.jnlp On a system with the or…

Can’t connect to Oracle 19.3 with 19.3 JDBC driver

We have a project running with an Oracle 19.3 database, and a Java application using the Oracle 19.3 JDBC driver (which is available on Maven Central). On Windows with JRE 1.8, everything is fine, but when I run either on our build server or in WSL Ubuntu with OpenJDK 11.0.3 it refuses to connect to the datab…