This discussion is archived
7 Replies Latest reply: Apr 4, 2008 9:35 AM by 807581 RSS

How to install Sun Java System Application Server PE 9 in debian

807581 Newbie
Currently Being Moderated
Hi,

I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...

root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
This application needs version 1.5 or higher of the Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime Environment is not installed,
you can download it from the following website:
http://java.sun.com/j2se
Or if you already have the required Java(TM) 2 Runtime Environment
installed, try rerunning this application with the following usage:
'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Launching Java(TM) 2 Runtime Environment...
Error: There are no files requiring installation.
Deleting temporary files...

Any suggestions will be highly appreciated.

Thanks,
Vineet
  • 1. Re: How to install Sun Java System Application Server PE 9 in debian
    800241 Newbie
    Currently Being Moderated
    Hi,

    I have ubuntu installed on my system. I wanted to
    install the Sun Java System Application Server PE 9
    on it. I didn't see any debian package for it on
    Sun's downloads. I downloaded the linux version and
    tried to install it. I got the following result...

    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the
    Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the
    Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime
    Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    f you already have the required Java(TM) 2 Runtime
    Environment
    installed, try rerunning this application with the
    following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
    installation directory>
    oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...

    Any suggestions will be highly appreciated.

    Thanks,
    Vineet
    Do you have java 5 sdk on your machine (Or at the very least java 5 re) ?
    Have you tried the command that they gave ?
  • 2. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    Do you have java 5 sdk on your machine (Or at the
    very least java 5 re) ?
    Have you tried the command that they gave ?
    Yeah I have Java 5 re installed and tried the command they gave. I have posted the response in the original post. Here it is
    root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
  • 3. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    You are getting this error message because the file you downloaded is either corrupted or incompletely downloaded and installation process cannot find necessary files after extracting files from the archive.

    Please download the distribution file again.
  • 4. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    Hi,

    Did you find a solution to this problem? I tried to install the AS on Debian Sarge and get the same problem.
  • 5. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    Hey,

    Here is how I install Sun App Server under debian.

    1) install JDK 5 as of this guide (you first need to add 'non-free' and 'contrib' to your repositories:

    http://student.cosy.sbg.ac.at/~amayer/files/How-to-install-Java-on-Debian.html

    +

    update-alternatives --config java (and select the sun-jdk)

    2) Download the "Java EE 5 SDK Update 2" for linux.

    #chmod u+x java_ee_sdk-5_02-linux-nojdk.bin
    #./java_ee_sdk-5_02-linux-nojdk.bin

    to start the server:
    #/your_install_path/bin/asadmin start-appserv
  • 6. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    Hi,

    I have the same problem in Ubuntu with the Sun Java System Application Server PE 9 that I have in the Netbeans 5.5 World Tour CD.

    I has use the -javahome parameter and the installer didn`t find the jdk.

    Any solution to offline install?
    And, is really a corrupted installer problem or the sjas-linux installer doesn�t works in ubuntu?

    thanks
  • 7. Re: How to install Sun Java System Application Server PE 9 in debian
    807581 Newbie
    Currently Being Moderated
    Doesn't work on Ubuntu 7.10 (Linux pc 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux) with JDK 5 too. Also tried to set JAVA_HOME which changed nothing.