facebook

installing MyEclipse on Ubuntu 7.10

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

    Riyad Kalla
    Member

    Guys I appreciate you trouble shooting this and running down the issue on the more technical side of Linux… I’m watching the coversation as you go and feeding this stuff back to devs.

    (Sort of outside my realm at the moment 🙁 )

    #281047 Reply

    ls_toronto
    Member

    Hi, sorry for the late response. This is on hold for me over here. I am currently traveling and not near the machine I am having the issue with. Thank you for your help, I will post the output from the machine when I get back in front of it 🙂

    #281167 Reply

    Diederik
    Member

    @support-rkalla wrote:

    Guys I appreciate you trouble shooting this and running down the issue on the more technical side of Linux… I’m watching the coversation as you go and feeding this stuff back to devs.

    Do you have a machine which has Debian or Ubuntu installed? If so, could you post the output of the commands too?
    @support-rkalla wrote:

    (Sort of outside my realm at the moment 🙁 )

    Rather new to linux here, just trying myself 😉

    I installed the earlier mentioned packages and now aptitude search swt returns this:

    aptitude search swt
    p   libswt-cairo-gtk-3.3                               - Standard Widget Toolkit for GTK Cairo Java library
    p   libswt-cairo-gtk-3.3-jni                           - Standard Widget Toolkit for GTK Cairo JNI library
    p   libswt-cairo-gtk-dev                               - Standard Widget Toolkit for GTK Cairo development library
    p   libswt-gnome-gtk-3.3-jni                           - Standard Widget Toolkit for GTK Gnome JNI library
    i   libswt-gtk-3.3                                     - Standard Widget Toolkit for GTK native library
    p   libswt-gtk-3.3-java                                - Standard Widget Toolkit for GTK Java library
    i A libswt-gtk-3.3-jni                                 - Standard Widget Toolkit for GTK JNI library
    p   libswt-gtk-dev                                     - Standard Widget Toolkit for GTK development
    i   libswt-mozilla-gtk-3.3                             - Standard Widget Toolkit for GTK Mozilla Java library
    i A libswt-mozilla-gtk-3.3-jni                         - Standard Widget Toolkit for GTK Mozilla JNI library
    p   libswt-mozilla-gtk-dev                             - Standard Widget Toolkit for GTK Mozilla development library
    p   libswt3.2-gtk-gcj                                  - Fast and rich GUI toolkit for Java, gtk2 (GCJ version)
    p   libswt3.2-gtk-java                                 - Fast and rich GUI toolkit for Java, gtk2 version
    p   libswt3.2-gtk-jni                                  - Platform dependent files for libswt3.2-gtk-java
    

    Still not working …

    Then I noticed another swt-gtk-java package, namely libswt3.2-gtk-java and aptitude show libswt3.2-gtk-java showed this info:
    $ aptitude show libswt3.2-gtk-java
    Package: libswt3.2-gtk-java
    State: not installed
    Version: 3.2.1-6

    Depends: libswt3.2-gtk-jni (= 3.2.1-6), java-common
    Recommends: libswt3.2-gtk-gcj
    Conflicts: libswt3.1-gtk-java, libswt2.1-gtk2-java, libswt-gtk3-java, libswt-gtk-3.2-java (< 3.2.1-5)
    Replaces: libswt3.1-gtk-java, libswt2.1-gtk2-java, libswt-gtk3-java, eclipse-rcp (< 3.1.2-2)
    Description: Fast and rich GUI toolkit for Java, gtk2 version
    SWT (Standard Widget Toolkit) provides functionality similar to Swing, but is much faster and open source.
    Mainly, it is used for the Eclipse platform.

    This version of SWT is implemented using gtk2 libraries.

    No wonder eclipse doesn’t work properly … So I installed that package and also libswt-gtk-3.3-java, both didn’t get eclipse to work 🙁

    Then I realised sth … Debian has an eclipse package in the repositories, but I didn’t use it since I wanted/needed the latest version (3.3.1.1) and the version in the Debian repos is 3.2.1-6.
    But if I do aptitude -s install eclipse (-s = simulate) it will show me what dependant packages needed to be installed …

    $ aptitude -s install eclipse
    The following NEW packages will be installed:
      ant{a} ant-gcj{a} ant-optional{a} ant-optional-gcj{a} antlr{a} ecj{a} ecj-bootstrap{a} ecj-bootstrap-gcj{a} ecj-gcj{a} eclipse
      eclipse-gcj{a} eclipse-jdt{a} eclipse-jdt-gcj{a} eclipse-pde{a} eclipse-pde-gcj{a} eclipse-platform{a} eclipse-platform-gcj{a}
      eclipse-rcp{a} eclipse-rcp-gcj{a} eclipse-source{a} fastjar{a} gappletviewer-4.2{a} gcj-4.2{a} gij-4.2{a} gjdoc{a} java-gcj-compat{a}
      java-gcj-compat-dev{a} junit{a} libbcel-java{a} libcommons-beanutils-java{a} libcommons-collections-java{a} libcommons-collections3-java{a}
      libcommons-dbcp-java{a} libcommons-digester-java{a} libcommons-el-java{a} libcommons-launcher-java{a} libcommons-logging-java{a}
      libcommons-modeler-java{a} libcommons-pool-java{a} libecj-java{a} libecj-java-gcj{a} libenchant1c2a{a} libgcj-bc{a} libgcj8-dev{a}
      libgcj8-src{a} libjaxp1.3-java{a} libjaxp1.3-java-gcj{a} libjsch-java{a} liblog4j1.2-java{a} liblog4j1.2-java-gcj{a} liblucene-java{a}
      liblucene-java-doc{a} libmx4j-java{a} libnotify1{a} libregexp-java{a} libservlet2.3-java{a} libservlet2.4-java{a} libsexy2{a}
      libstartup-notification0{a} libtomcat5.5-java{a} libwnck-common{a} libwnck22{a} libxerces2-java{a} libxerces2-java-gcj{a} libxres1{a}
      notification-daemon{a} zenity{a} zlib1g-dev{a}
    0 packages upgraded, 68 newly installed, 0 to remove and 0 not upgraded.
    Need to get 167MB of archives. After unpacking 343MB will be used.
    Do you want to continue? [Y/n/?] n
    

    LOL, no wonder it’s not working … 68 packages needed packages not installed and needs to get 167MB of archives to resolve it.

    Before I’m going to install the Debian eclipse package (and all of it’s dependencies) I want to know what the installed status is of the packages that I did install from others and see if it solves their problem.

    I think my eclipse install is completely messed up by now, so that it’s still not working maybe caused by other factors now. For starters I’m gonna restart X very soon, maybe that’ll help …

    Can someone tell me how to completely remove eclipse/MyEclipse from my system, so that I can cleanly install them again?

    BTW: I have my Debian Lenny/testing system installed with KDE(-core)
    @ls_toronto wrote:

    Hi, sorry for the late response. This is on hold for me over here. I am currently traveling and not near the machine I am having the issue with. Thank you for your help, I will post the output from the machine when I get back in front of it 🙂

    Enjoy your trip 🙂

    #281192 Reply

    Riyad Kalla
    Member

    PietjePuk,
    Just to clarify all those Eclipse packages are for the special Debian build of Eclipse built against GCJ, you cannot use GCJ and that custom build of Eclipse to run MyEclipse ontop of it. So you don’t need to install all that stuff.

    Downloading Eclipse itself (or using Pulse) and then adding MyEclipse to it, and then installing the Sun JDK is sufficient to run MyEclipse and should work.

    To wipe out your install of Eclipse/MyEclipse you can erase the install dirs. But after the clean install, to have a truely clean load, try and create a new workspace dir(there is a ton of cached plugin information in the workspace that is stored).

    #281202 Reply

    Diederik
    Member

    @support-rkalla wrote:

    PietjePuk,
    Just to clarify all those Eclipse packages are for the special Debian build of Eclipse built against GCJ, you cannot use GCJ and that custom build of Eclipse to run MyEclipse ontop of it. So you don’t need to install all that stuff.

    I already thought so. But maybe it’ll also install some other dependencies which causes my errors in the first place (see also other thread: https://www.genuitec.com/forums/topic/web-2-0-browser-crashing-when-launched/ ).
    I’ll try to figure out which one …
    @support-rkalla wrote:

    Downloading Eclipse itself (or using Pulse) and then adding MyEclipse to it, and then installing the Sun JDK is sufficient to run MyEclipse and should work.

    Installing Sun JDK (1.4.2 and 1.5.0), then Eclipse and then MyEclipse is exactly the way I did it (see other thread). Then came the suggestion to try it using Pulse, but that crashed on me too (again, see other thread). We could try to get Pulse working, since that’ll probably also solves my ‘real’ problem.
    @support-rkalla wrote:

    To wipe out your install of Eclipse/MyEclipse you can erase the install dirs. But after the clean install, to have a truely clean load, try and create a new workspace dir(there is a ton of cached plugin information in the workspace that is stored).

    OK, will do that. Actually I’ve already wiped my workspace dirs after trying to create a new workspace, which didn’t solve my issues.

    #281231 Reply

    Diederik
    Member

    Did some more research and this is what I came up with:
    Reading up on swt/gtk showed me that there is a gnome-binding (libswt-gnome-gtk-3.3-jni), but I am using KDE and Luke too. Is that a problem?

    On SWT FAQ I found the following requirements:

    For Eclipse 3.0 and newer:

    * GTK 2.2.1
    * ATK 1.2.0
    * glib 2.2.1
    * Pango 1.2.1
    * Freetype 2.1.3

    I have a package installed called libgtk2.0-0 and it’s version number is 2.12.5-2. Does that mean I comply with the GTK 2.2.1 requirement? Because the package name indicates 2.0, which != 2.2, while it’s version number is 2.12, which can be considered newer if you interpret 2.2 as being 2.02 and 2.12 is greater then that. Or am I looking at the wrong file all together?
    Searching aptitude on gtk2 didn’t show the presents of a 2.2 version. The only one I found was libwxgtk2.6-0, but I don’t have the impression that that one is relevant, since it’s a C++ GUI toolkit.
    A similar (confusing) version issue as described above do I have with ATK, where the package name is libatk1.0-0 and it’s version number is 1.20.0-1 and also with libglib2.0-0, which version is 2.14.5-2 and with libpango1.0-0, which version is 1.18.4-1.
    I’m pretty sure freetype is ok, since libfreetype6 is at version 2.3.5-1+b1.

    Since my issues (also) seems to have to do with mozilla libraries, I looked inside the MyEclipse_6.0.1GA_E3.3.1_ManualInstall.zip and in that file at eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.8.1.3-20070404/xulrunner.
    Looking at plugin.xml I see the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <?eclipse version="3.2"?>
    <plugin>
       <extension
             id="org.mozilla.xulrunner.gtk.linux.x86"
             name="Mozilla Xulrunner for Linux GTK"
             point="org.eclipse.atf.mozilla.ide.core.xulrunner">
          <xulrunner path="$nl$/xulrunner" version="1.8.1.3"/>
       </extension>
    </plugin>
    

    Why does it say eclipse version=”3.2″, instead of version=”3.3″ ? Do I need to care for this?
    Then in ECLIPSE-PLUGIN-README.txt I find the following text:

    Unzip xulrunner here, and update the manifest and plugin.xml with proper version as needed

    Does that mean that’s sth I need to do? I know how and what to update plugin.xml to, but what do I need to change in the manifest (META-INF/MANIFEST.MF)?

    That’s it for now LOL

    #281232 Reply

    Diederik
    Member

    I completely deleted the eclipse/myeclipse directories and any (hidden) files related to them.
    Then I extracted both eclipse and myeclipse (each in their own directory of course).

    Started eclipse with the following command:

    /opt/eclipse-3.3/eclipse/eclipse -vm /usr/lib/jvm/java-1.5.0-sun/bin/java -vmargs -Duser.language=en -Xms256M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=256M

    Added MyEclipse per the manual installation instructions, restarted eclipse … and voila … it’s working 😀
    Both the internal browser is working as is the AJAX2.0 browser (from other thread)

    My guess is that the following libraries are that fixed it (but since eclipse was already messed up, reinstall was needed):

    libswt-gtk-3.3
    libswt-gtk-3.3-java
    libswt-gtk-3.3-jni
    libswt-mozilla-gtk-3.3
    libswt-mozilla-gtk-3.3-jni

    I’m a happy camper again 🙂

    #281273 Reply

    Riyad Kalla
    Member

    Hey! That’s awesome news, thank you for posting the extensive details here for folks walking their way through the same process.

    #281315 Reply

    ls_toronto
    Member

    Hi Guys;

    I don’t have access to this machine at present so I can’t get a aptitude search swt output. I can confirm that I am on the 64 bit version of Ubuntu 7.10.

    PietjePuk, some great details you have provided here. I am going to try all this out when I get back in front of my Ubuntu machine.

    Thanks,

    Luke

    #281342 Reply

    Diederik
    Member

    @ls_toronto wrote:

    PietjePuk, some great details you have provided here. I am going to try all this out when I get back in front of my Ubuntu machine.

    try the 5 from my previous post first, I’m pretty sure that’s where the problem is. Would be great if you can confirm that, especially (also) for 64-bit.
    @support-rkalla wrote:

    Hey! That’s awesome news, thank you for posting the extensive details here for folks walking their way through the same process.

    you’re welcome. Was an interesting ‘experiment’ for myself too.

    #284647 Reply

    sjayapal
    Member

    /opt/eclipse-3.3/eclipse/eclipse -vm /usr/lib/jvm/java-1.5.0-sun/bin/java -vmargs -Duser.language=en -Xms256M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=256M

    Perfect Thanks!!

    #287197 Reply

    adrian.challinor
    Participant

    @denz97 wrote:

    Pulse is your friend.

    Someone is definitely having a laugh here. Its a type for “Pulse is your fiend”

    #298104 Reply

    I have Installed My Eclipse 6.6.0 on Eclipse Classic using the Software Updates , Everything is working fine but after I feed in the subscription key, the Finish button is grayed out.

    #298105 Reply

    I have Installed My Eclipse 6.6.0 on Eclipse Classic using the Software Updates , Everything is working fine but after I feed in the subscription key, the Finish button is grayed out.]

    #298112 Reply

    support-joy
    Member
Viewing 15 posts - 16 through 30 (of 30 total)
Reply To: installing MyEclipse on Ubuntu 7.10

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