Page 1 of 2 12 LastLast
Results 1 to 10 of 21

Thread: Eclipse "An error has occurred. See the log file..."

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Beans
    15

    Eclipse "An error has occurred. See the log file..."

    Hey I've wanted to start developing with Eclipse. I installed it from the Ubuntu Software Center, when I first opened it, it said: An error has occurred. See the log file
    /home/[NAME]/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1365439518685.log,"

    This is was the .log file says:
    Code:
    !SESSION 2013-04-07 18:27:46.576 -----------------------------------------------
    eclipse.buildId=I20110613-1736
    java.version=1.7.0_17
    java.vendor=Oracle Corporation
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
    Command-line arguments:  -os linux -ws gtk -arch x86
    
    !ENTRY org.eclipse.osgi 4 0 2013-04-07 18:27:51.391
    !MESSAGE Application error
    !STACK 1
    java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        no swt-gtk-3740 in java.library.path
        no swt-gtk in java.library.path
        Can't load library: /home/roman/.swt/lib/linux/x86/libswt-gtk-3740.so
        Can't load library: /home/roman/.swt/lib/linux/x86/libswt-gtk.so
    
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        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:132)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:601)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    I hope that anyone can help me!

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Eclipse "An error has occurred. See the log file..."

    tr0m4n; Hi !

    Maybe;
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    see if that pulls in the libraries and java requirements.

    just my thought
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Mar 2013
    Beans
    15

    Re: Eclipse "An error has occurred. See the log file..."

    Nope hasn't done anyting..

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Eclipse "An error has occurred. See the log file..."

    tr0m4n;

    OK, what happens if we get specific to the eclipse application ?
    Code:
    sudo dpkg-reconfigure eclipse<XXX>
    where XXX = the identification of the eclipse package.
    Maybe eclipse does not like the java packages ????

    just a thought
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Mar 2013
    Beans
    15

    Re: Eclipse "An error has occurred. See the log file..."

    Quote Originally Posted by Bashing-om View Post
    where XXX = the identification of the eclipse package.
    Maybe eclipse does not like the java packages ????
    Maybe a dumm question but what du you mean with "identification of the eclipse package?

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Eclipse "An error has occurred. See the log file..."

    tr0m4n;

    I expect that the package "eclipse" to have appended to it some version numbers. "dpkg-reconfigure" must have a specific target.

    regards
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Mar 2013
    Beans
    15

    Re: Eclipse "An error has occurred. See the log file..."

    Typed in:

    Code:
    sudo dpkg-reconfigure eclipse 3.7.0_155965261
    It said me that the packet 'eclipse' isn't installed :/

  8. #8
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Eclipse "An error has occurred. See the log file..."

    tr0m4n;
    That response is true ... A package by the name only of "eclipse" is not installed. The package name should be something like:
    "eclipse-3.7.0_155965261" Notice the "-" between e and 3; that makes the package as one name vice two packages as input.
    A space in linux is a delimiter -> two file names.
    See if this is the proper name:
    Code:
    dpkg -l eclipse-3.7.0_155965261
    If it is, the result will list that file, else the name is not correct.
    To find all the eclipse files on your system, this should work:
    Code:
    dpkg -l "eclipse*"

    try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #9
    Join Date
    Mar 2013
    Beans
    15

    Re: Eclipse "An error has occurred. See the log file..."

    The first code didn't work. Tried the second one, this is what it said:
    Code:
      Name           Version      Description
      eclipse        <none>        (No description avaible)
      eclipse-common <none>        (No description avaible)
      eclipse-ecj    <none>        (No description avaible)
      eclipse-jdt    3.7.2-1        Eclipse Java Development Tools (JDT)
      eclipse-jdt-gc <none>        (No description avaible)
      eclipse-pde    3.7.2-1        Eclipse Plug-in Development Environment (PDE
      eclipse-pde-gc <none>        (No description avaible)
      eclipse-platfo 3.7.2-1        Eclipse platform without development plug-in
      eclipse-platfo <none>        (No description avaible)
      eclipse-platfo 3.7.2-1        Eclipse platform without development plug-in
      eclipse-platfo <none>        (No description avaible)
      eclipse-platfo <none>        (No description avaible)
      eclipse-plugin <none>        (No description avaible)
      eclipse-rcp    3.7.2-1        Eclipse Rich Client Platform (RCP)
      eclipse-rcp-gc <none>        (No description avaible)
      eclipse-source <none>        (No description avaible)

  10. #10
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    10,329
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Eclipse "An error has occurred. See the log file..."

    tr0m4n;
    Well..well. seems you have met all requirements for package installation.
    see:
    Code:
    apt-cache show eclipse
    As eclipse depends on
    Depends: eclipse-jdt (>= 3.7.2-1), eclipse-pde (>= 3.7.2-1)
    I suggest to re-configure those dependencies and see what results.
    Code:
     sudo dpkg-reconfigure eclipse-pde eclipse-jdt
    looking for dpkg generated errors.


    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •