Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    DustJunkie Guest

    Default 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. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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!

  3. #3
    DustJunkie Guest

    Default

    Quote 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?

  4. #4
    jennix Guest

    Default

    Quote 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

  5. #5
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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.

  6. #6
    DustJunkie Guest

    Default

    Quote 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?

  7. #7
    jennix Guest

    Default

    Quote 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

  8. #8
    DustJunkie Guest

    Default

    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

  9. #9
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

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

  10. #10
    DustJunkie Guest

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •