facebook

3.7RC2 installer fails on Mandrake 9.2 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #202045 Reply

    fkorling
    Member

    – System Setup ——————————-
    Operating System and version: Linux Mandrake 9.2
    Eclipse version: 3.0M6
    Eclipse build id: 200312182000
    MyEclipse version: 3.7RC2
    Eclipse JDK version: 1.4.1_05
    Application Server JDK version:

    – Message Body ——————————-

    The installer crashes with a NullPointerException when I try to install MyEclipse 3.7RC2 on Mandrake 9.2. Setting LAX_DEBUG=1 gives:

    Preparing to install…
    Checking for POSIX df.
    Found POSIX df.
    /bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
    True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
    Creating installer data directory: /tmp/install.dir.17309
    Creating installer data directory: /tmp/install.dir.17309/InstallerData
    Gathering free-space information…
    Space needed to complete the self-extraction: 37598 blocks
    tail: `-1′ option is obsolete; use `-n 1′
    Try `tail –help’ for more information.
    Available space: blocks
    Available blocks: Needed blocks: 37598 (block = 512 bytes)
    downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: line 327: [: `)’ expected, found -z
    WARNING! The amount of /tmp disk space required and/or available
    could not be determined. The installation will be attempted anyway.
    This installation does not contain a VM.
    Extracting the installation resources from the installer archive…
    Extracting install.zip from downloads/EnterpriseWorkbenchInstaller_030700RC2.bin to /tmp/install.dir.17309/InstallerData/installer.zip …
    Extracting done, exit code = 0
    Configuring the installer for this system’s environment…

    ========= Analyzing UNIX Environment =================================
    Setting UNIX (linux) flavor specifics.
    Importing UNIX environment into LAX properties.
    Checking for POSIX awk.

    ========= Analyzing LAX ==============================================
    LAX found………………………. OK.
    LAX properties read……………… OK.

    ========= Finding VM =================================================
    Valid VM types…………………….. J2
    Expanded Valid VM types…………….. JRE_J2 JDK_J2
    WARNING! No valid lax.nl.current.vm available.
    Searching for VMs in PATH:
    Looking in:……………………….. /bin
    Looking in:……………………….. /local/home/filip/bin
    Looking in:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin
    Found VM:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin/java
    Looking in:……………………….. /sbin
    Looking in:……………………….. /usr/bin
    Looking in:……………………….. /usr/games
    Looking in:……………………….. /usr/local/bin
    Looking in:……………………….. /usr/sbin
    Looking in:……………………….. /usr/X11R6/bin
    Looking in:……………………….. /usr/xpg4/bin
    * Using VM:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin/java
    Current VM is NOT a HotSpot VM

    ========= Virtual Machine Options ====================================
    LAX properties incorporated…………. OK.
    classpath…………………………. “/tmp/install.dir.17309/InstallerData:/tmp/install.dir.17309/InstallerData/installer.zip”
    main class………………………… “com.zerog.ia.installer.Main”
    .lax file path…………………….. “/tmp/install.dir.17309/temp.lax”
    user directory…………………….. “/tmp/install.dir.17309”
    stdout to…………………………. “console”
    sterr to………………………….. “console”
    install directory………………….. “”
    JIT………………………………. none
    option (verify)……………………. off
    option (verbosity)…………………. none
    option (garbage collection extent)…… none
    option (garbage collection thread)…… none
    option (native stack max size)………. none
    option (java stack max size)………… none
    option (java heap max size)…………. 50331648
    option (java heap initial size)……… 16777216
    option (lax.nl.java.option.additional).. none

    ========= Display settings ===========================================
    X display…………………………. local
    UI mode…………………………… gui

    Launching installer…

    ========= VM Command Line ============================================
    CLASSPATH=/tmp/install.dir.17309/InstallerData:/tmp/install.dir.17309/InstallerData/installer.zip
    ”/local/home/filip/java/j2sdk1.4.1_05/bin/java” -Djava.compiler=NONE -Xmx50331648 -Xms16777216 com.zerog.lax.LAX “/tmp/install.dir.17309/temp.lax” “/tmp/env.properties.17309” 

    ========= Executing JAVA =============================================
    LAX Version = 5.5
    FileEncoding::initialize()- platform default encoding: ISO-8859-1
    FileEncoding::initialize()- using encoding: ISO-8859-1
    seaFilename = EnterpriseWorkbenchInstaller_030700RC2
    Default properties location = downloads/downloads/
    UI Mode set to Default – SWING.
    __________________________________________________________________________

    java.lang.NullPointerException
    at com.zerog.ia.installer.Main.h(DashoA8113)
    at com.zerog.ia.installer.Main.b(DashoA8113)
    at com.zerog.ia.installer.Main.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:
    java.lang.NullPointerException
    at com.zerog.ia.installer.Main.h(DashoA8113)
    at com.zerog.ia.installer.Main.b(DashoA8113)
    at com.zerog.ia.installer.Main.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    ========= JAVA Finished ==============================================

    Removing tmp install dir: “/tmp/install.dir.17309”

    undefined

    #202046 Reply

    Riyad Kalla
    Member

    Have you tried upgrading to the 1.4.2_03 JDK release? Would you be willing to try that and see if this is a JDK issue.

    #202051 Reply

    fkorling
    Member

    Tried the 1.4.2_03 but got the exact same result:

    Preparing to install…
    Checking for POSIX df.
    Found POSIX df.
    /bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
    True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
    Creating installer data directory: /tmp/install.dir.3361
    Creating installer data directory: /tmp/install.dir.3361/InstallerData
    Gathering free-space information…
    Space needed to complete the self-extraction: 37598 blocks
    tail: `-1′ option is obsolete; use `-n 1′
    Try `tail –help’ for more information.
    Available space: blocks
    Available blocks: Needed blocks: 37598 (block = 512 bytes)
    downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: line 327: [: `)’ expected, found -z
    WARNING! The amount of /tmp disk space required and/or available
    could not be determined. The installation will be attempted anyway.
    This installation does not contain a VM.
    Extracting the installation resources from the installer archive…
    Extracting install.zip from downloads/EnterpriseWorkbenchInstaller_030700RC2.bin to /tmp/install.dir.3361/InstallerData/installer.zip …
    Extracting done, exit code = 0
    Configuring the installer for this system’s environment…

    ========= Analyzing UNIX Environment =================================
    Setting UNIX (linux) flavor specifics.
    Importing UNIX environment into LAX properties.
    Checking for POSIX awk.

    ========= Analyzing LAX ==============================================
    LAX found………………………. OK.
    LAX properties read……………… OK.

    ========= Finding VM =================================================
    Valid VM types…………………….. J2
    Expanded Valid VM types…………….. JRE_J2 JDK_J2
    WARNING! No valid lax.nl.current.vm available.
    Searching for VMs in PATH:
    Looking in:……………………….. /bin
    Looking in:……………………….. /local/home/filip/bin
    Looking in:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin/
    Found VM:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin//java
    Looking in:……………………….. /sbin
    Looking in:……………………….. /usr/bin
    Looking in:……………………….. /usr/games
    Looking in:……………………….. /usr/local/bin
    Looking in:……………………….. /usr/sbin
    Looking in:……………………….. /usr/X11R6/bin
    Looking in:……………………….. /usr/xpg4/bin
    * Using VM:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin//java
    Current VM is NOT a HotSpot VM

    ========= Virtual Machine Options ====================================
    LAX properties incorporated…………. OK.
    classpath…………………………. “/tmp/install.dir.3361/InstallerData:/tmp/install.dir.3361/InstallerData/installer.zip”
    main class………………………… “com.zerog.ia.installer.Main”
    .lax file path…………………….. “/tmp/install.dir.3361/temp.lax”
    user directory…………………….. “/tmp/install.dir.3361”
    stdout to…………………………. “console”
    sterr to………………………….. “console”
    install directory………………….. “”
    JIT………………………………. none
    option (verify)……………………. off
    option (verbosity)…………………. none
    option (garbage collection extent)…… none
    option (garbage collection thread)…… none
    option (native stack max size)………. none
    option (java stack max size)………… none
    option (java heap max size)…………. 50331648
    option (java heap initial size)……… 16777216
    option (lax.nl.java.option.additional).. none

    ========= Display settings ===========================================
    X display…………………………. local
    UI mode…………………………… gui

    Launching installer…

    ========= VM Command Line ============================================
    CLASSPATH=/tmp/install.dir.3361/InstallerData:/tmp/install.dir.3361/InstallerData/installer.zip
    ”/local/home/filip/java/j2sdk1.4.2_03/bin//java” -Djava.compiler=NONE -Xmx50331648 -Xms16777216 com.zerog.lax.LAX “/tmp/install.dir.3361/temp.lax” “/tmp/env.properties.3361” 

    ========= Executing JAVA =============================================
    LAX Version = 5.5
    FileEncoding::initialize()- platform default encoding: ISO-8859-1
    FileEncoding::initialize()- using encoding: ISO-8859-1
    seaFilename = EnterpriseWorkbenchInstaller_030700RC2
    Default properties location = downloads/downloads/
    UI Mode set to Default – SWING.
    __________________________________________________________________________

    java.lang.NullPointerException
    at com.zerog.ia.installer.Main.h(DashoA8113)
    at com.zerog.ia.installer.Main.b(DashoA8113)
    at com.zerog.ia.installer.Main.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

    Stack Trace:
    java.lang.NullPointerException
    at com.zerog.ia.installer.Main.h(DashoA8113)
    at com.zerog.ia.installer.Main.b(DashoA8113)
    at com.zerog.ia.installer.Main.a(DashoA8113)
    at com.zerog.ia.installer.Main.main(DashoA8113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)
    ========= JAVA Finished ==============================================

    Removing tmp install dir: “/tmp/install.dir.3361”

    #202070 Reply

    Riyad Kalla
    Member

    Can you take a look at this thread:
    https://www.genuitec.com/forums/topic/installing-asks-to-change-install-directory/#post-202048

    which then points to this thread:
    https://www.genuitec.com/forums/topic/exe-installer-2-6-3-aborts-with-jsdk-1-4-2-02-closed/&highlight=windows+installer

    which both point out that there is a problem between JDK 1.4.2 and InstallAnywhere. In the second post Scott gives instructions and command line args you can try to launch the installer with another VM (preferablly 1.4.1).

    #202081 Reply

    fkorling
    Member

    Sorry , but the info the threads don’t help.

    For the Linux version the LAX_VM environment variable doesn’t seem to
    be defined at all. I’ve tried 3 different JVMs now, 1.4.1_03, 1.4.1_05 and 1.4.2_03 with
    the same result.

    The 3.6.4 MyEclipse installer and Eclipse 3.0M6 runs without any problem with any of the
    above JVMs in the same environment.

    /Filip

    #202084 Reply

    Riyad Kalla
    Member

    Filip I’m a bit confused… your statement:

    The 3.6.4 MyEclipse installer and Eclipse 3.0M6 runs without any problem with any of the
    above JVMs in the same environment.

    makes me thing that you have the installer working now? Do you still need help, if so, is the installer still not working for you? (when you installed the other VMs, did you specify to the installer which VM to use with the ‘export LAX_VM=<path to jdk>’ environment variable?)

    #202203 Reply

    fkorling
    Member

    Sorry for the confusion.

    What I meant to say was that I tested the environment in which the 3.7RC2 installer fails
    with some other programs, i.e Eclipse 3.0M6(without MyEclipse) and the 3.6.4 MyEclipse
    installer. Both these programs work, so it indicates to me that its the 3.7RC2 installer
    that has problems, not my environment.

    Also, I tried to install 3.7RC2 on a Linux RedHat 9, but got the same error.

    /Filip

    #202215 Reply

    Riyad Kalla
    Member

    Filip ok thank you for trying the installer on another platform, it does indeed seem that there is something amiss. I’ll bring this to the attention of Scott.

    #202230 Reply

    Scott Anderson
    Participant

    This one is very interesting and appears to be a new problem. Thank you both for the diligence shown in looking through the old threads and trying different JVMs.

    One thing that stands out to me is this output

    /bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
    True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin

    How are you executing the installer and from what directory? Are you logged in as a user, or as root? Can you think of a possible reason why the error regarding the file location occurs? Are you simply changing the file to an executable and running it from within the current directory, or are you doing something else.

    While we don’t test on Mandrake, we certainly do test on RedHat and haven’t seen such a problem with this installer. Puzzling. With answers to the above, hopefully we’ll be able to run this down.

    #202333 Reply

    fkorling
    Member

    Scott,

    If I change to the directory where the installer is located, the strange message that you point out chages to the more expected:

    bash-2.05b$ LAX_DEBUG=1 ./EnterpriseWorkbenchInstaller_030700RC2.bin
    Preparing to install…
    Checking for POSIX df.
    Found POSIX df.
    True location of the self extractor: /local/home/filip/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
    Creating installer data directory: /tmp/install.dir.15552
    — snip —

    However, the installer fails in the same way as before.
    Running the installer as an ordinary user or root doesn’t matter, I get the same error.

    A note on the RedHat failure: I use X-server on Mandrake 9.2 installatation and login
    to the RedHat machine. I will log on the console of the RedHat machine and see
    if the problem could be related the Mandrake X-server.

    /Filip

    #202335 Reply

    fkorling
    Member

    Logging on the console on the Red Hat 9 machine made no difference. It doesn’t seem to be an X-server related problem.

    /Filip

    #202337 Reply

    fkorling
    Member

    Case solved — the downloaded file I had was corrupted for some reason.
    It was 19057797 bytes, instead of 19054049, which it the correct size.

    I downloaded a new, fresh file and now it works without problems.

    Thanks for your support.

    Regards,

    Filip

    #202343 Reply

    Riyad Kalla
    Member

    Its always the little things isn’t it?

    Glad to hear it worked.

    #202350 Reply

    Scott Anderson
    Participant

    I’m really glad to see this one closed. Man, that was tough!

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: 3.7RC2 installer fails on Mandrake 9.2 [Closed]

You must be logged in to post in the forum log in