Skip to content

Tag: java

maven-compiler-plugin broken on linux?

I have a maven project. In the pom.xml file the following is stated: AFAIK this is correct, it should build against JDK 7. I run a Debian based Linux dist and when I do mvn clean install it seems to always build against the javac version I have set in my os. I’ve tried reading up on what the plugin

How can I fix JVM locale issues on our CentOS server?

We’re running multiple servers and a database on our cloud server. The JVM appears to be off by 2 hours, as it’s operating in UTC time when it should be operating in CEST. When I ssh into the server and run date I get the following: Our Database is set to System time and it has the same (correct) …

Need to automate SSH commands to router

I need to find a way to automate ssh commands to my router. My goal is to make the router restart whenever I run the script from my Java program. I’m having some issues though. First of all, this is the sequence of output I get from my router’s ssh: First I do: which returns: I enter the password,…

Download github release with Java/Shell

I want to be able to download a github release (a jar file) and put it in a certain directory on my VPS (running Ubuntu 16.04). How would you go about doing this? Adding the “shell” tag as I think you’d need to use shell Answer See this discussion: Download single files from GitHub In the pa…

Glassfish is not working on ReadHat Server

I am trying to install Glassfish 4.0 on a Linux Red Hat Entreprise Linux release 5.11 (Tikanga) Server. Therefore, I successfully installed Java jdk1.7.0_79 and NetBeans 4.0 on this server following this website instructions: https://blog.idrsolutions.com/2014/02/tutorial-setting-up-glassfish-on-a-linux-serve…