Dan, can' thank you enough. Got it fixed! -----Original Message----- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 2:31 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project
The Jenkins Windows installer comes with Java: > java.home C:\Program Files (x86)\Jenkins\jre Should be configurable in jenkins.xml, or maybe try installing Java 7 into that directory. On 05.09.2014, at 20:18, Ginga, Dick <dick.gi...@perkinelmer.com> wrote: > Ah, that is 1.6.0_26-b03. I must be the most unaware person about Java > around. I have never programmed in it or used it. so... > > I have installed java 1.7.0 and my production Jenkins says it's using 1.7.0 > but my test machine still says: > > java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment > java.awt.headless true > java.awt.printerjob sun.awt.windows.WPrinterJob > java.class.path C:\Program Files (x86)\Jenkins\jenkins.war > java.class.version 50.0 > java.endorsed.dirs C:\Program Files (x86)\Jenkins\jre\lib\endorsed > java.ext.dirs C:\Program Files > (x86)\Jenkins\jre\lib\ext;C:\Windows\Sun\Java\lib\ext > java.home C:\Program Files (x86)\Jenkins\jre > java.io.tmpdir C:\Users\vmbuild\AppData\Local\Temp\ > java.library.path C:\Program Files > (x86)\Jenkins\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Perl64\site\bin;C:\Perl64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files\Mellanox\MLNX_VPI\\IB\Tools;C:\Program Files\Coverity\Coverity > Platform\bin;C:\Program Files (x86)\Coverity\Coverity Static > Analysis\bin;c:\pstools;C:\Program Files (x86)\Perforce;C:\Program Files > (x86)\Collaborator Client;C:\Program Files (x86)\Java\jre7\bin;C:\Program > Files\Perforce;. > java.runtime.name Java(TM) SE Runtime Environment > java.runtime.version 1.6.0_26-b03 > java.specification.name Java Platform API Specification > java.specification.vendor Sun Microsystems Inc. > java.specification.version 1.6 > java.vendor Sun Microsystems Inc. > java.vendor.url http://java.sun.com/ > java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi > java.version 1.6.0_26 > java.vm.info mixed mode > java.vm.name Java HotSpot(TM) Client VM > java.vm.specification.name Java Virtual Machine Specification > java.vm.specification.vendor Sun Microsystems Inc. > java.vm.specification.version 1.0 > java.vm.vendor Sun Microsystems Inc. > java.vm.version 20.1-b02 > > -----Original Message----- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck > Sent: Friday, September 05, 2014 1:24 PM > To: jenkinsci-users@googlegroups.com > Subject: Re: First Maven project > > Is that the JRE used for Jenkins? Check java.runtime.version on the > /systemInfo URL of Jenkins. > > On 05.09.2014, at 19:14, Ginga, Dick <dick.gi...@perkinelmer.com> wrote: > >> Running on 7: >> >> C:\Users\DGinga>java -version >> java version "1.7.0_51" >> Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) >> Client VM (build 24.51-b03, mixed mode, sharing) >> >> -----Original Message----- >> From: jenkinsci-users@googlegroups.com >> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck >> Sent: Friday, September 05, 2014 1:11 PM >> To: jenkinsci-users@googlegroups.com >> Subject: Re: First Maven project >> >> Try running Jenkins on Java 7. >> >> On 05.09.2014, at 18:52, Ginga, Dick <dick.gi...@perkinelmer.com> wrote: >> >>> Dan thanks much for the info. I figured out how to load an hpi file and I >>> did so on my Test Jenkins. So with 2.0.4 I encountered >>> java.lang.UnsupportedOperationException: Failed to link the library: >>> interface hudson.util.jna.Kernel32. this is expected based on what you said >>> below. >>> >>> Not realty wanting to downgrade or upgrade, I installed Maven Plugin 1.524. >>> >>> I now have my test Jenkins up with Maven Plugin 1.524 displayed and >>> unpinned in the plugin manager but I still getting >>> >>> javax.servlet.ServletException: >>> java.lang.UnsupportedOperationException: Failed to link the library: >>> interface hudson.util.jna.Kernel32 >>> >>> did I mis-understand what you said? >>> >>> -----Original Message----- >>> From: jenkinsci-users@googlegroups.com >>> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck >>> Sent: Friday, September 05, 2014 12:30 PM >>> To: jenkinsci-users@googlegroups.com >>> Subject: Re: First Maven project >>> >>> JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, >>> upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 >>> (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a >>> corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the >>> Installed tab of Plugin Manager. If it is, unpin it and restart Jenkins. >>> >>> On 05.09.2014, at 17:39, Ginga, Dick <dick.gi...@perkinelmer.com> wrote: >>> >>>> Well, I have found the 2.0.4 version and downloaded it's .hpi file. >>>> >>>> Now how do I install it? >>>> >>>> Thanks >>>> >>>> From: Ginga, Dick >>>> Sent: Friday, September 05, 2014 10:18 AM >>>> To: jenkinsci-users@googlegroups.com >>>> Subject: First Maven project >>>> >>>> I just tried to create my first Maven2/3 project and immediately hit just >>>> creating the job: >>>> >>>> Stack trace >>>> javax.servlet.ServletException: java.lang.NoSuchFieldError: >>>> triggers at >>>> org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) >>>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777) >>>> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239) >>>> >>>> I am running 1.524 with Maven Project Plugin 1.496 which must have come >>>> with 1.524. I see much newer Maven plugins but the latest requires 1.538. >>>> I don't want to upgrade, so I would like to install Maven plugin 2.0.4. >>>> >>>> How do I get this older version? >>>> >>>> Thanks >>>> >>>> Dick Ginga, Informatics R&D >>>> PerkinElmer Inc. | For the Better >>>> HUMAN HEALTH | ENVIRONMENTAL HEALTH >>>> 940 Winter Street, Waltham MA 02451 >>>> >>>> dick.gi...@perkinelmer.com >>>> Mobile - 508-847-1434 >>>> Office - 781-663-6947 >>>> >>>> >>>> >>>> -- >>>> 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/d/optout. >>> >>> -- >>> 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/d/optout. >>> >>> -- >>> 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/d/optout. >>> >> >> -- >> 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/d/optout. >> >> -- >> 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/d/optout. >> > > -- > 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/d/optout. > > -- > 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/d/optout. > -- 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/d/optout. -- 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/d/optout.