- can you give me an example of what you mean by shell alias?
- I want to mention the value of this wiki, its as rare as ZFS help around here, and a great tool. So anything would help, if we can keep.
- The alias thing:
alias startjenkins='java -jar /usr/share/java/jenkins/jenkins.war'
- But this is not needed anyway because the package provides
jenkins.servicewhich can be started by systemctl. The
/etc/conf.d/jenkinsconfig is most likely relevant only for this service.
- -- Lahwaacz (talk) 07:23, 30 April 2015 (UTC)
It might be useful to add a note about adding the
--enable-future-java flag to
/etc/conf.d/jenkins to allow using jenkins with the current default version of java.
Also, there's a page upstream that tracks issues with java 11 compatibility
package requirement (console mode only)
you must install these package to avoid AWT errors on startup : fontconfig, freetype2
Require to manually changing the conf file to point to java-11 instead of java-8
After a fresh installation, Jenkins wouldn't start.
Indeed, the configuration file under /etc/conf.d/jenkins has the "JAVA" variable pointing to java-8 by default which is not installed on my machine nor a dependency of the Jenkins package (as it depends on java-11 instead) :
Manually changing the value of this variable in the configuration file to "/usr/bin/java" (which is a symbolic link that points to the default and current version of java installed) solved the issue :
sed -i '/JAVA=/c\JAVA=/usr/bin/java' /etc/conf.d/jenkins
Maybe it is worth mentioning this in the main wiki page ?
Antiz (talk) 18:04, 17 July 2022 (UTC)