Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2999

Debian package has dependecy to unsupported jre

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • deploy-plugin
    • None
    • Platform: PC, OS: Linux

      I use Ubuntu Server 8.10

      I use the following apt source:
      deb http://hudson.gotdns.com/debian binary/

      I install Hudson package with command
      sudo apt-get install hudson

      The package installs dependent package cacao-oj6-jre

      After installation of Hudson 1.282, when I try to open the page
      http://<server>:8080 i get an error message that the Cacao jre is not supported
      by Hudson.

      I installed Hudson in exactly the same way last week on another server. Then I
      got version 1.281, which did not install the cacao jre. Then everything worked fine.

          [JENKINS-2999] Debian package has dependecy to unsupported jre

          gliptak added a comment -

          "The package installs dependent package cacao-oj6-jre"

          Based on:

          http://fisheye4.atlassian.com/browse/hudson/trunk/hudson/main/debian/control

          Debian's package manager installs java2-runtime as per:

          http://packages.debian.org/unstable/virtual/java2-runtime

          So please install with another java2-runtime like:

          sudo apt-get install hudson sun-java6-jre

          Please open another defect against Hudson or cacao/JDK7 with the stacktrace
          included.

          Thanks

          gliptak added a comment - "The package installs dependent package cacao-oj6-jre" Based on: http://fisheye4.atlassian.com/browse/hudson/trunk/hudson/main/debian/control Debian's package manager installs java2-runtime as per: http://packages.debian.org/unstable/virtual/java2-runtime So please install with another java2-runtime like: sudo apt-get install hudson sun-java6-jre Please open another defect against Hudson or cacao/JDK7 with the stacktrace included. Thanks

          stenix added a comment -

          There is no stack-trace. I can start Hudson but when I visit the Dashboard site
          at http://<server>:8080, I just get an information page that states that the
          Cacao jre is not supported by Hudson.

          I got around this problem by:
          1. Uninstalling Hudson and Cacao jre.
          2. Remove the link /usr/bin/java
          3. Install another jre (Open JDK with "apt-get install openjdk-6-jre " in my
          case since I knew the previous version worked with that jre).
          4. Install Hudson again. This time the /usr/bin/java is already set to the Open
          JDK jre.

          ...but that is just a work-around, not a fix.

          stenix added a comment - There is no stack-trace. I can start Hudson but when I visit the Dashboard site at http://<server>:8080, I just get an information page that states that the Cacao jre is not supported by Hudson. I got around this problem by: 1. Uninstalling Hudson and Cacao jre. 2. Remove the link /usr/bin/java 3. Install another jre (Open JDK with "apt-get install openjdk-6-jre " in my case since I knew the previous version worked with that jre). 4. Install Hudson again. This time the /usr/bin/java is already set to the Open JDK jre. ...but that is just a work-around, not a fix.

            Unassigned Unassigned
            stenix stenix
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: