facebook

[Closed] MyEclipse on Fedora Core 5

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

    We have recently installed the latest build of MyEclipse (Manual Install) on to our office Fedora Core 5 Linux boxes.
    We cannot access the Visual JSP Designer or the Javascript editor due to “widget disposed” errors.
    We can also not connect to our Tomcat Server due to permission difficulties that we cannot seem to resolve. (Tomcat needs to be started as the root user and MyEclipse seems to be unable to handle this.)

    Any advice would be much appreciated.

    Cheers,

    Mike Palmer
    Redcloud Development Ltd

    #259028 Reply

    Riyad Kalla
    Member

    Mike,
    First the Tomcat issue. If you are starting Tomcat *outside* of MyEclipse, then you need to use the “Remote Debugging” guide to configure MyEclipse to attach to it. Also you won’t be able to manage deployments from MyEclipse unless you have setup permissions correctly to allow it to write to the Tomcat/webapps dir. If you meant you were having some other problem, please elaborate and I’ll do my best to help you.

    As far as the designer issue, are you being sure to set “MOZILLA_FIVE_HOME” environemnt variable to “” (not the same as empty, it actually has to be empty quotes) before launching MyEclipse?

    
    export MOZILLA_FIVE_HOME=""
    eclipse <arguments>
    

    If you are, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me to see.

    #259059 Reply

    Thanks for your repy Riyad.

    Our current startup-script.sh is:
    export MOZILLA_FIVE_HOME=””
    ./eclipse

    We have also tried :
    export MOZILLA_FIVE_HOME=””
    ./eclipse -vm /usr/java/jdk1.5.0_07/bin/java

    and

    export MOZILLA_FIVE_HOME=””
    ./eclipse -vm /usr/java/jdk1.5.0_07/bin/java -clean

    From your Tomcat related information I think the permissions issue is probably something we can deal with. THe Visual Jsp Designer and Javascript editor issue is far more pressing for us. We can work with JSP files by using the standard JSP editor at the moment but we want to use all the MyEclipse functionality if possible.

    Thanks,

    Mike

    #259074 Reply

    Riyad Kalla
    Member

    Mike,
    Just to make sure everything is on the up and up, can you paste the result of MyEclipse > Installation Summary > Installation Details for me?

    #259113 Reply

    *** Date: Mon Sep 25 04:40:03 NZST 2006

    *** System properties:
    OS=Linux
    OS version=2.6.17-1.2174_FC5
    Java version=1.5.0_07

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 GA
    Build id: 20060805-5.0-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /home/mike/programs/eclipse/./eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    990016
    -clean
    -vm
    /usr/java/jdk1.5.0_07/bin/java

    #259115 Reply

    Riyad Kalla
    Member

    All of that looks perfectly fine. As a last-ditch effort to see what is going on, can you download this file:
    http://downloads.myeclipseide.com/downloads/products/eworkbench/5.0.1GA/ME-5.0.1GA_3.2CompleteInstall.zip

    Unzip it under your home dir (don’t change the directory names yet) and run it using the script you have above? This is a completely clean pre-install of Eclipse 3.2 and MyEclipse 5.0.1, you just unzip and run, everything is hooked together. You just have to create a new workspace (please create a new one), then try and create an HTML page and open it with the designer, then if it does, please attach your log file generated for us.

    #259127 Reply

    I don’t know if this is the same probem I was having, but I had a similar problem.

    After exporting MOZILLA_FIVE_HOME=”” and running with the “-clean” parameter, I was still getting erros. When I looked in my workspace’s “.metadata/.log” file, I found:

    java.lang.UnsatisfiedLinkError: /dev/MyEclipse-5.0/eclipse/plugins/com.genuitec.javascript.debug.mozilla_5.0.1/XPCOM/os/linux/mozilla/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory

    I assume this is because MyEclipse is compiled for RedHat Enterprise instead of the latest Fedora.

    I installed the “compatibility” library using “yum”, which installed “/usr/lib/libstdc++.so.5”, and it worked after that:

    $ yum install compat-libstdc++-33
    #259128 Reply

    Riyad Kalla
    Member

    Macob, great followup.. Mike can you try Macob’s suggestion and see if that works?

    #259140 Reply

    Thanks Riyad and Macob,

    We tried the yum update – on one machine the Visual Designer opened but gave NULL errors upon saving (jsp was actually saved though). The other machine we are trialling MyEclipse on did not respond and we were unable to open the Visual Designer. The error shown in the log was:

    java.lang.NoClassDefFoundError: com/genuitec/javascript/debug/mozilla/ImprovedMozillaBrowser

    We will try downloading the http://downloads.myeclipseide.com/downloads/products/eworkbench/5.0.1GA/ME-5.0.1GA_3.2CompleteInstall.zip file and performing a clean install.

    #259141 Reply

    Riyad Kalla
    Member

    Actually Mike on the machine that gave the null error, that happens whenthe designer is disabled.

    On the machine that gave that exception, just restart using the -clean command line argument, then it should work. Let me know what you find.

    Using that completely install link is a best-case scenario setup, you are welcome to use it internally if that helps.

    #259424 Reply

    We have tried the 5.0.1GA/ME-5.0.1GA_3.2 CompleteInstall install. This gave us access to the designers but crashed on a regular basis.
    We then allocated more memory by updating the startup-script.sh and we seem to have achieved some kind of stability.

    Thanks for all the help.

    #259426 Reply

    Scott Anderson
    Participant

    Mike,

    Good to hear its working now. For anyone else that gets to here and wants to know what the startup command should look like,
    here’s an example for Windows. You Linux guys are smart enough to do the translation. 😉

    
    <path-to-eclipse-install>\eclipse.exe -product com.genuitec.myeclipse.product.ide -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M  -Dosgi.splashLocation="<path-to-myeclipse-install>\eclipse\MyEclipseSplash.bmp
    
Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: [Closed] MyEclipse on Fedora Core 5

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