facebook

trouble Installing on Redhat 9 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #204784 Reply

    ashok pappu
    Member

    OS :Redhat 9
    Java version 1.4.2_03

    I installed eclipse 3.0M6 in my home directory and Am having trouble installing myEclipse IDE
    This is the stack trace. Can you please help

    Thanks
    Ashok Pappu

    [apappu@localhost apappu]$ ./EnterpriseWorkbenchInstaller_030700RC2.bin
    Preparing to install…
    Extracting the installation resources from the installer archive…
    Configuring the installer for this system’s environment…

    Launching installer…

    Warning: -Xmx50331648 not understood. Ignoring.
    Warning: -Xms16777216 not understood. Ignoring.
    Exception in thread “main” java.lang.InternalError: Unexpected exception while defining class ZeroGt: java.lang.ClassNotFoundException: javax.swing.JDialog
    at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3) at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025ac2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/./libgcj.so.3)
    at 0x4025aa13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int) (/usr/lib/./libgcj.so.3)
    at 0x402f1f2e: java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x40248197: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025a904: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/./libgcj.so.3)
    at 0x4024889c: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
    at 0x40244cdd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
    at 0x4023b4cf: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/./libgcj.so.3)
    at 0x40231857: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/./libgcj.so.3)
    at 0x40229ae4: _Jv_PrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
    at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
    at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x402ad01d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
    at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
    at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
    at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
    at 0x42015704: __libc_start_main (/lib/tls/libc.so.6)
    at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)
    [apappu@localhost apappu]$

    #204785 Reply

    Riyad Kalla
    Member

    Ashok,
    If you look at the last 5 or so lines of the error, it tips you off to what is going on. The installer is trying to run itself with GCJ instead of Sun’s JDK. You can force the installer to use a particular Java VM by the LAX_VM environment variable, more specifically something like this:

    
    export LAX_VM=/path/to/java/executable
    ./<name of installer>
    

    If this doesn’t work, see this link (http://www.myeclipseide.com/index.php?name=PNphpBB2&file=search&mode=results) for search results relating to the LAX_VM flag (as we have had a handful of RedHat and Suse users run into this same problem before). It stems from the fact that the InstallSheild installer finds ALL vm’s on the system, then orders them and picks the top one to run with. Unfortunately it usually sorts GCJ to the top of the list instead of a Sun, IBM or Blackdown VM.

    #204829 Reply

    ashok pappu
    Member

    I read all postings regarding the issues and i renames gjc java to pava so that it does not load the wrong jvm . now I am getting this error
    Exception in thread “main” java.lang.NoClassDefFoundError: com/zerog/lax/LAX

    can you please advise
    Ashok Pappu

    #204831 Reply

    Riyad Kalla
    Member

    Ashok,
    We are releasing 3.7 GA tonight which will include a manual install with instructions and won’t rely on the InstallSheild installer. I am happy to keep helping you troubleshoot the installer problems, but it might be faster for you just to wait for the manual install, download it, and install it without using the installer.

    Does this sound alright to you? If you wish to use the installer instead, I will keep digging and see what I can find.

    #204849 Reply

    ashok pappu
    Member

    I will just hang on till tonight 😀

    #204853 Reply

    Riyad Kalla
    Member

    I closed this now that 3.7 GA is out, please open a new thread if you run into any troubles.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: trouble Installing on Redhat 9 [Closed]

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