Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

OpenJDK hard depend

#125

I used rpm version of rundeck.
And then I try to install yum says to me what I need to install openjdk. But I have already installed sunjdk.
Ok, I install it. When I try to start service rundeckd system say to me:
no found /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java. ( I use 32-bit system)
Rundeckd uses predefinition path for jdk ( in file /etc/rundeck/client/profile ).

Reported by Leonid Batizhevsky · December 15th, 2010 @ 05:22 AM

State: open
Milestone: none
Assigned to: Deleted User Deleted User

Activity

  1. Deleted User
    Deleted User
    • State changed from new to open
    • Assigned user set to Deleted User
    • Tag set to install, jdk, rpm

    What distro are you using? I'll reproduce if you can give me the specifics.

    December 15th, 2010 @ 01:59 PM

  2. Leonid Batizhevsky
    Leonid Batizhevsky

    I use Centos 5.5 i386 arch
    And SunJDK from Oracle\Java site. It contributed with rpm, called jdk in package manager.
    By-default it's instelled to /usr/java/jdk1.6.0_22/ and have simlinks from /usr/java/default and /usr/java/latest.

    December 15th, 2010 @ 09:21 PM

  3. Deleted User
    Deleted User

    Thanks Leonid, I'll look into this.

    December 16th, 2010 @ 09:43 AM

  4. Deleted User
    Deleted User

    Leonid...looking into this a bit more, I would like to use java that is in /usr/bin/java. It's controlled by /usr/bin/alternatives

    Setting alternatives to use OrclJDK can be found here: http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-...

    Does that sound reasonable?

    December 16th, 2010 @ 10:32 PM

  5. Leonid Batizhevsky
    Leonid Batizhevsky

    Yes, It's reasonable. If java_home not set in system envelopment, use by-default /usr.
    Documentation for java http://wiki.centos.org/HowTos/JavaOnCentOS .
    And need to think about rpm dependence of various jdk/jre packages.

    December 16th, 2010 @ 11:11 PM

  6. Deleted User
    Deleted User
    • Milestone set to Rundeck 1.0
    • Milestone order changed from 16 to 0

    December 20th, 2010 @ 01:21 PM

  7. Deleted User
    Deleted User
    • State changed from open to resolved

    (from [015a872ffa8d51a10218710ed78ec7cacfe857d1]) Introduce JAVA_CMD variable that represents the java command to use. If JAVA_HOME is specified, this value is used in the rpm packaging. JAVA_HOME/bin/java is always used with the launcher. [#125 OpenJDK hard depend state:resolved] https://github.com/dtolabs/rundeck/commit/015a872ffa8d51a10218710ed...

    December 20th, 2010 @ 04:47 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.