ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Installing an IDE on Ubuntu 8.10

January 26, 2009 6:44pm

Subscribe [1]
  • #1 / Jan 26, 2009 6:44pm

    Xeoncross

    350 posts

    Well, I just built a new Core 2 Quad PC (4GB RAM, 512MB Video, etc..) and I couldn’t resist testing the latest version of ubuntu - 8.10 Intrepid. I love the system and I think that it acts something like what a MAC would act like.

    Anyway, installing programs (or packages) is great - just click “add/remove” chose your program and Linux will auto-download it and everything you need to run it. Much easier than windows -and free!

    But what if you want a program not on the Official Ubuntu server? What if (*gasp*) you want the latest version of something like Eclipse PDT 2.0? Well, this is where someone new to the system hits a brick wall - everything else is easy to understand but the installation of non-standard/supported .deb or whatever packages.

    I have spent hours and hours reading everything I can on where you put files, how you install programs, etc and I still can’t get Eclipse or Aptana to run. I think it has something to do with the Java VM but I can’t figure it out. I don’t see anything in the configs for those programs on where you would add a line that points to your Java install. I must have at downloaded at least 6 versions of Java by now.

    So has anyone done this before? I know it is possible because I keep finding people that say they have done it! I just wish they would say how!

  • #2 / Jan 26, 2009 7:02pm

    jalalski

    113 posts

    Well, I just went to the Eclipse site, downloaded the file that I wanted, unpacked it in my home directory and ran it. Nothing else to do. In fact I did it three times so I had three setups: one for PHP, one for Java and one for C++.

    But I had stability problems with Eclipse, plus it was so damn complicated. Then I discovered NetBeans and downloaded and unpacked the PHP installation of NetBeans 6.5 and I’ve been a happy bunny ever since.

    You say you “can’t get it to run” but without more information, there’s not really anything anyone can do to help you. As I say, for me, I didn’t need to do anything, they just worked… which is how it should be really.

  • #3 / Jan 26, 2009 7:54pm

    Xeoncross

    350 posts

    Thanks for the reply, just so you know - Eclipse 3.2 (from the installer) works fine - but not the new 3.4 or PDT 2.0 (standalone or plugin). When I try to start it nothing happens. There is no error or anything.

    Anyway, here is the log for Aptana

    !SESSION 2009-01-26 17:50:45.957 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_0
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments:  Studio
    Command-line arguments:  -os linux -ws gtk -arch x86 Studio
    
    !ENTRY org.eclipse.osgi 4 0 2009-01-26 17:50:47.190
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: /home/owner/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/28/1/.cp/libswt-pi-gtk-3236.so: /home/owner/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/28/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
        at java.lang.System.loadLibrary(System.java:1047)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at com.aptana.ide.rcp.AbstractIDEApplication.createDisplay(AbstractIDEApplication.java:152)
        at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:89)
        at com.aptana.ide.rcp.Application.run(Application.java:57)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    
    !ENTRY org.eclipse.osgi 2 0 2009-01-26 17:50:47.233
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-26 17:50:47.233
    !MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.1.020234.jar was not resolved.
    !SUBENTRY 2 com.aptana.ide.xul 2 0 2009-01-26 17:50:47.234
    !MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.
    
    !ENTRY org.eclipse.osgi 2 0 2009-01-26 17:50:47.235
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-26 17:50:47.235
    !MESSAGE Bundle update@plugins/org.tigris.subversion.clientadapter.javahl.win32_1.5.4.jar [24] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-26 17:50:47.235
    !MESSAGE Bundle update@plugins/com.aptana.ide.xul_1.2.1.020234.jar [57] was not resolved.
    !SUBENTRY 2 com.aptana.ide.xul 2 0 2009-01-26 17:50:47.235
    !MESSAGE Missing required bundle org.eclipse.atf.mozilla.ide.core_0.0.0.


    :EDIT:

    I just downloaded Netbeans 6.5 (PHP) and it works great! Only why are the code lines SO BIG? I think there must be 30px between each line (even though the line-height looks like 19px) - and the color is all funky so I will need to figure out where I can change that back to the standard PHP syntax colors.

    Anyway, do you have any idea about why the other two won’t work?

  • #4 / Jan 26, 2009 11:49pm

    Xeoncross

    350 posts

    Solved: duh, I kept getting the generic downloads and not the “x64” ones. Yep, like you said, eclipse 3.4 runs fine - now to get the PDT addon.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases