Announcement

Collapse
No announcement yet.

Install fails. Says Java is not installed. *new guy stumped*

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install fails. Says Java is not installed. *new guy stumped*

    As far as I can tell I have everything, straight... However it seems as if I am missing some mundane detail. I am sorry if I am pestering with a dumb newbie question. Please help.

    gusty 7.10 I have the correct installer, newest version...

    Downloading required packages...
    Depending on your internet connection, this may take a while.
    -------------------------------------------------------------
    Get:1 http://us.archive.ubuntu.com gutsy Release.gpg [191B]
    Ign http://us.archive.ubuntu.com gutsy/main Translation-en_US
    Get:2 http://security.ubuntu.com gutsy-security Release.gpg [191B]
    Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
    Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com gutsy/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com gutsy/universe Translation-en_US
    Ign http://us.archive.ubuntu.com gutsy/multiverse Translation-en_US
    Get:3 http://us.archive.ubuntu.com gutsy-updates Release.gpg [191B]
    Ign http://us.archive.ubuntu.com gutsy-updates/main Translation-en_US
    Ign http://us.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
    Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
    Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
    Hit http://security.ubuntu.com gutsy-security Release
    Ign http://us.archive.ubuntu.com gutsy-updates/universe Translation-en_US
    Ign http://us.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com gutsy Release
    Hit http://us.archive.ubuntu.com gutsy-updates Release
    Hit http://security.ubuntu.com gutsy-security/main Packages
    Hit http://us.archive.ubuntu.com gutsy/main Packages
    Hit http://security.ubuntu.com gutsy-security/restricted Packages
    Hit http://security.ubuntu.com gutsy-security/main Sources
    Hit http://security.ubuntu.com gutsy-security/restricted Sources
    Hit http://us.archive.ubuntu.com gutsy/restricted Packages
    Hit http://us.archive.ubuntu.com gutsy/main Sources
    Hit http://us.archive.ubuntu.com gutsy/restricted Sources
    Hit http://security.ubuntu.com gutsy-security/universe Packages
    Hit http://security.ubuntu.com gutsy-security/universe Sources
    Hit http://security.ubuntu.com gutsy-security/multiverse Packages
    Hit http://security.ubuntu.com gutsy-security/multiverse Sources
    Hit http://us.archive.ubuntu.com gutsy/universe Packages
    Hit http://us.archive.ubuntu.com gutsy/universe Sources
    Hit http://us.archive.ubuntu.com gutsy/multiverse Packages
    Hit http://us.archive.ubuntu.com gutsy/multiverse Sources
    Hit http://us.archive.ubuntu.com gutsy-updates/main Packages
    Hit http://us.archive.ubuntu.com gutsy-updates/restricted Packages
    Hit http://us.archive.ubuntu.com gutsy-updates/main Sources
    Hit http://us.archive.ubuntu.com gutsy-updates/restricted Sources
    Hit http://us.archive.ubuntu.com gutsy-updates/universe Packages
    Hit http://us.archive.ubuntu.com gutsy-updates/universe Sources
    Hit http://us.archive.ubuntu.com gutsy-updates/multiverse Packages
    Hit http://us.archive.ubuntu.com gutsy-updates/multiverse Sources
    Fetched 3B in 1s (2B/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    cvs is already the newest version.
    sun-java5-jdk is already the newest version.
    sun-java5-bin is already the newest version.
    apache2 is already the newest version.
    mysql-server is already the newest version.
    mysql-client is already the newest version.
    cyrus-imapd-2.2 is already the newest version.
    cyrus-pop3d-2.2 is already the newest version.
    gettext is already the newest version.
    libapache2-mod-jk is already the newest version.
    sasl2-bin is already the newest version.
    libpam-mysql is already the newest version.
    libnss-mysql-bg is already the newest version.
    postfix-mysql is already the newest version.
    ant is already the newest version.
    ant-optional is already the newest version.
    cyrus-admin-2.2 is already the newest version.
    libgnujaf-java is already the newest version.
    libcommons-cli-java is already the newest version.
    libcommons-codec-java is already the newest version.
    libcommons-httpclient-java is already the newest version.
    libcommons-logging-java is already the newest version.
    libslide-webdavclient-java is already the newest version.
    libjdom1-java is already the newest version.
    junit is already the newest version.
    libmysql-java is already the newest version.
    libservlet2.4-java is already the newest version.
    mailutils is already the newest version.
    libsasl2-modules is already the newest version.
    munin is already the newest version.
    munin-node is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
    Java has not been installed. Aborting installation.

    anyone? Thanks in advance.

  • #2
    Hi,

    this does seem like a installer failure. The installation script checks if a specific directory exists after installing every dependency. In this case the detection fails. What output gives a "java -version"?

    Thanks for Reporting!

    Comment


    • #3
      Originally posted by Martin Braun View Post
      Hi,

      this does seem like a installer failure. The installation script checks if a specific directory exists after installing every dependency. In this case the detection fails. What output gives a "java -version"?

      Thanks for Reporting!
      The program 'java' can be found in the following packages:
      * cacao
      * j2re1.4
      * kaffe
      * jamvm
      * java-gcj-compat
      * gij-4.1
      * gij-4.2
      * sablevm
      Try: apt-get install <selected package>

      Which is bullshit... I know java is installed. I have been playing with getting this running for a couple days though. I could have some stray configs.

      Doops.

      Any thoughts?

      Comment


      • #4
        Originally posted by DustJunkie View Post
        Which is bullshit... I know java is installed. I have been playing with getting this running for a couple days though. I could have some stray configs.

        Doops.

        Any thoughts?
        Maybe the path isnt set? What happens when you make a

        Code:
        which java
        at the console-prompt?

        regards, Jens

        Comment


        • #5
          Hi,

          yes, the "java" executable is provided by several packages. But to compile properly the sun java jdk package is required. Things like gcj or other java vm implementations may not work correctly.

          Comment


          • #6
            Originally posted by Martin Braun View Post
            Hi,

            yes, the "java" executable is provided by several packages. But to compile properly the sun java jdk package is required. Things like gcj or other java vm implementations may not work correctly.
            Thanks for both of your help. I'm still a bit lost. Forgive my ignorance. I'll try to lay out what I'm doing.

            which java responds with:

            /usr/lib/jvm/java-6-sun-1.6.0.03//bin/java

            env responds with

            ...
            PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.03//bin:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13//bin
            PWD=/tmp
            JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/
            LANG=en_US.UTF-8
            HISTCONTROL=ignoreboth
            JDK_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/
            SHLVL=3
            ...

            It looks like I have some conflicting info. I do have both Java 5 and 6 installed. I feel like such a newb but I can't find any firm info on how or where I'm supposed to specify my java path and what will make java just go.

            Does any of that help?

            Comment


            • #7
              Originally posted by DustJunkie View Post
              PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.03//bin:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13//bin
              PWD=/tmp
              JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/
              LANG=en_US.UTF-8
              HISTCONTROL=ignoreboth
              JDK_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/
              SHLVL=3
              Try to set the Path (just for testing) to JAVA 5 only (all into one line):

              export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13//bin

              Another question (i'm not sure about): Is it ok to have these double-slashes as in usr/lib/jvm/java-6-sun-1.6.0.03//bin in your PATH? Never seen this before...

              regards, Jens

              Comment


              • #8
                Code:
                # java -version
                java version "1.5.0_13"
                Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
                Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode)
                Code:
                # which java
                /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/java
                Code:
                # env
                ...
                PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin
                PWD=/tmp
                JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin
                LANG=en_US.UTF-8
                HISTCONTROL=ignoreboth
                JDK_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin
                ...
                So... I'm getting somewhere.... this looks "right" as far as I can tell.... but still the hyperion installer isn't working. Thoughts? It exits with the same error as above.

                Thanks for all your help guys. I think I'm almost there.

                -Miller

                Comment


                • #9
                  well, you could go to the installers sourcecode and remove the check for java.

                  Comment


                  • #10
                    Well... It ran though everything and definatly failed on java. Where would I find a log of the actions it took.

                    I'm pretty sure it said my JAVA_HOME was not set correctly and that the install failed.

                    My JAVA_HOME was set to /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin Which I just realized it should be /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/. So I set that an ran the process again. We'll see how it goes.

                    However, I don't have a /usr/bin/java... Should I make a symbolic link (or something) from /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/java to /usr/bin/java. Any thoughts on that issue? Again, I think I'm super close. thanks for you help.

                    Comment


                    • #11
                      FIXED.... THANKS TONS GUYS!

                      Comment


                      • #12
                        Originally posted by DustJunkie View Post
                        However, I don't have a /usr/bin/java... Should I make a symbolic link (or something) from /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/java to /usr/bin/java. Any thoughts on that issue? Again, I think I'm super close. thanks for you help.
                        In my case (debian etch) i have /usr/bin/java, and it is a link. It links to /etc/alternatives/java, which is also a link to /usr/lib/jvm/java-1.5.0-sun/jre/bin/java. In openSUSE 10.3 there are axactly the same links. So i believe making a link couldnt be a mad idea

                        regards, Jens

                        Comment


                        • #13
                          So the installer ran through with a whole bunch of "BUILD SUCCESSFUL"s. Which is awesome.

                          However, at the end it appears to be hanging on "admindaemon startup still in progress, waiting..." it's been doing that for a good 5 minutes. I don't think it's going to finnish. Any thoughts on that? Should I start a new thread? You guys are great.

                          Comment


                          • #14
                            Hi,
                            /usr/bin/java should be a link as follows

                            ls -la /usr/bin/java
                            lrwxrwxrwx 1 root root 22 Nov 24 2005 /usr/bin/java -> /etc/alternatives/java

                            Contents of linked file:
                            #!/bin/sh

                            # This wrapper script is needed to work around a JVM crash that occurs
                            # when the java command is executed through two symlinks.

                            exec /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/java.bin ${1+"$@"}

                            Comment


                            • #15
                              Well. This is all fixed. I appear to be having mysql problems, but Iĺl spend some time doing some research and if I need to start a new thread. You guys are super cool. Thanks!
                              Last edited by Guest; 12-04-2007, 02:12 AM.

                              Comment

                              Working...
                              X