Best way to get have Jenkins use OpenJDK on Ubuntu 12.04 Server
I have a Jenkins server that has been running well with various versions of the Sun Java 7 JDK for a while now, although I am not that familiar with Jenkins. However, my project would also like to officially support OpenJDK now. I'd like to install and configure jobs to use multiple specific versions of OpenJDK. Because of this, I can't install from the Ubuntu repository...I need fine grained control and don't want a system update to modify my builds. The only other installer options are extract zip file and run command. There is an OpenJDK Installer plugin, but it is for RedHat/Centos and is repo based, which (again) won't work. I cannot locate zip files for versions of the 64 bit OpenJDK on the internet. Can anyone tell me a good way to get specific versions of those? Also, whats the best way to configure Jenkins to use those? Put them on a server and use the extract from zip installer? It seems easier to just unzip on the build machine and configure Jenkins to use that as the JAVA_HOME for certain jobs, but I don't see any way to do that. What are folks doing in this regard? I'll also have the same issue if the decision to support the IBM JRE happens too. Thanks, Dave -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Best way to get have Jenkins use OpenJDK on Ubuntu 12.04 Server
Assuming that you can get a JAVA_HOME per version (can't help with that one at the moment I'm afraid), then I think you'll need to set up each version in the Manage Jenkins / Configure System (look under JDK to find the JDK entries). You can then either stick the JAVA_HOME for each version in on that page. Hope that helps point you in the right direction on that part... (and hopefully I'm correct! :) ) Richard. On Wed, Aug 7, 2013 at 3:05 PM, David Vree david.h.v...@gmail.com wrote: I have a Jenkins server that has been running well with various versions of the Sun Java 7 JDK for a while now, although I am not that familiar with Jenkins. However, my project would also like to officially support OpenJDK now. I'd like to install and configure jobs to use multiple specific versions of OpenJDK. Because of this, I can't install from the Ubuntu repository...I need fine grained control and don't want a system update to modify my builds. The only other installer options are extract zip file and run command. There is an OpenJDK Installer plugin, but it is for RedHat/Centos and is repo based, which (again) won't work. I cannot locate zip files for versions of the 64 bit OpenJDK on the internet. Can anyone tell me a good way to get specific versions of those? Also, whats the best way to configure Jenkins to use those? Put them on a server and use the extract from zip installer? It seems easier to just unzip on the build machine and configure Jenkins to use that as the JAVA_HOME for certain jobs, but I don't see any way to do that. What are folks doing in this regard? I'll also have the same issue if the decision to support the IBM JRE happens too. Thanks, Dave -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Best way to get have Jenkins use OpenJDK on Ubuntu 12.04 Server
omg!! - you have to uncheck the Install automatically boxand then you can enter the JAVA_HOME. Doh! That answers part two of my question. Now I just need to find OpenJDK 7 JDK/JRE Ubuntu zip files. On Tuesday, August 6, 2013 11:11:47 PM UTC-4, Richard Bywater wrote: Assuming that you can get a JAVA_HOME per version (can't help with that one at the moment I'm afraid), then I think you'll need to set up each version in the Manage Jenkins / Configure System (look under JDK to find the JDK entries). You can then either stick the JAVA_HOME for each version in on that page. Hope that helps point you in the right direction on that part... (and hopefully I'm correct! :) ) Richard. On Wed, Aug 7, 2013 at 3:05 PM, David Vree david@gmail.comjavascript: wrote: I have a Jenkins server that has been running well with various versions of the Sun Java 7 JDK for a while now, although I am not that familiar with Jenkins. However, my project would also like to officially support OpenJDK now. I'd like to install and configure jobs to use multiple specific versions of OpenJDK. Because of this, I can't install from the Ubuntu repository...I need fine grained control and don't want a system update to modify my builds. The only other installer options are extract zip file and run command. There is an OpenJDK Installer plugin, but it is for RedHat/Centos and is repo based, which (again) won't work. I cannot locate zip files for versions of the 64 bit OpenJDK on the internet. Can anyone tell me a good way to get specific versions of those? Also, whats the best way to configure Jenkins to use those? Put them on a server and use the extract from zip installer? It seems easier to just unzip on the build machine and configure Jenkins to use that as the JAVA_HOME for certain jobs, but I don't see any way to do that. What are folks doing in this regard? I'll also have the same issue if the decision to support the IBM JRE happens too. Thanks, Dave -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.