Home » Language IDEs » PHP Development Tools (PDT) » Install Ubuntu Feisty with SUN Jre1.5.0
Install Ubuntu Feisty with SUN Jre1.5.0 [message #32232] |
Thu, 28 June 2007 12:31 |
Eclipse User |
|
|
|
Originally posted by: snk00sj.digitalbase.eu
I am trying to run the all in one package from the pdt website (latest
integration build).
java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode)
When running ./eclipe i get the following error :
!SESSION 2007-06-14 17:21:28.358
-----------------------------------------------
eclipse.buildId=I20070517-1700
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -startup
/home/gijs/Phpeclipse/eclipse/plugins/org.eclipse.equinox.la uncher_1.0.0.v20$
Command-line arguments: -os linux -ws gtk -arch x86 -startup
/home/gijs/Phpeclipse/eclipse/plugins/org.ecl$
!ENTRY org.eclipse.osgi 4 0 2007-06-14 17:21:34.921
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3344 or swt-gtk in
swt.library.path, java.library.path or the ja$
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:21 9)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:15 1)
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:128)
at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:482)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.creat eDisplay(IDEApplication.java:133)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:86)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.j$
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 497)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
at org.eclipse.equinox.launcher.Main.run(Main.java:1162)
at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
The first thing i noticed is the error logs speaks of version 1.6.0
although i am using jre 1.5.
Apparently some things are missing : java.lang.UnsatisfiedLinkError: no
swt-gtk-3344 or swt-gtk in swt.library.path, java.library.path or the ja
ldd libswt-gtk-3344.so, returns no file or directory
So i guess i am missing some files, somewhere, but i don't know where to
look ?
Kind regards,
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32267 is a reply to message #32232] |
Thu, 28 June 2007 13:03 |
Eclipse User |
|
|
|
Originally posted by: snk00sj.digitalbase.eu
Since i have multiple jre's installed on the system, i tried running
../eclipse with the -vm /usr/lib/jvm/java-1.5.0-sun/jre/bin/java argument
pointing to the sun jre.
When i do that i get the following error
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2007-06-28 15:00:55.620
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError:
/home/gijs/Desktop/Eclipse/eclipse/configuration/org.eclipse .osgi/bundles/38/1/.cp/libswt-pi-gtk-3235.so:
Can't load IA 32-bit .so on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
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)
> I am trying to run the all in one package from the pdt website (latest
> integration build).
>
> java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode)
>
> When running ./eclipe i get the following error :
>
> !SESSION 2007-06-14 17:21:28.358
> -----------------------------------------------
> eclipse.buildId=I20070517-1700
> java.version=1.6.0
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Framework arguments: -startup
> /home/gijs/Phpeclipse/eclipse/plugins/org.eclipse.equinox.la uncher_1.0.0.v20$
>
> Command-line arguments: -os linux -ws gtk -arch x86 -startup
> /home/gijs/Phpeclipse/eclipse/plugins/org.ecl$
>
> !ENTRY org.eclipse.osgi 4 0 2007-06-14 17:21:34.921
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-gtk-3344 or swt-gtk in
> swt.library.path, java.library.path or the ja$
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:21 9)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:15 1)
> 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:128)
> at
> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:482)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.creat eDisplay(IDEApplication.java:133)
>
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:86)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.j$
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 497)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1162)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
>
> The first thing i noticed is the error logs speaks of version 1.6.0
> although i am using jre 1.5.
>
> Apparently some things are missing : java.lang.UnsatisfiedLinkError: no
> swt-gtk-3344 or swt-gtk in swt.library.path, java.library.path or the ja
>
> ldd libswt-gtk-3344.so, returns no file or directory
>
> So i guess i am missing some files, somewhere, but i don't know where to
> look ?
>
> Kind regards,
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32302 is a reply to message #32267] |
Thu, 28 June 2007 13:13 |
Eclipse User |
|
|
|
Originally posted by: news.kasimir-k.fi
Gijs Nelissen scribeva in 28/06/2007 13:03:
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
....
> Can't load IA 32-bit .so on a AMD 64-bit platform
You should get Java for Linux x64 Platform.
..k
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32373 is a reply to message #32302] |
Thu, 28 June 2007 14:13 |
Eclipse User |
|
|
|
Originally posted by: snk00sj.digitalbase.eu
kasimir k wrote:
> Gijs Nelissen scribeva in 28/06/2007 13:03:
>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>> Command-line arguments: -os linux -ws gtk -arch x86
> ...
>> Can't load IA 32-bit .so on a AMD 64-bit platform
>
> You should get Java for Linux x64 Platform.
>
> .k
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32407 is a reply to message #32373] |
Thu, 28 June 2007 16:01 |
Eclipse User |
|
|
|
Originally posted by: news.kasimir-k.fi
> kasimir k wrote:
>> Gijs Nelissen scribeva in 28/06/2007 13:03:
>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>> Command-line arguments: -os linux -ws gtk -arch x86
>> ...
>>> Can't load IA 32-bit .so on a AMD 64-bit platform
>>
>> You should get Java for Linux x64 Platform.
>>
>> .k
Gijs Nelissen scribeva in 28/06/2007 14:13:
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
But your BootLoader thinks that you are on x86 arch, while you are on amd64.
Try command line argument --arch amd64
BTW, did you just update your Java5, or do you have three versions? Now
you have 1.5.0_12, in your first mail you had 1.5.0_11
..k
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32442 is a reply to message #32407] |
Thu, 28 June 2007 18:35 |
Eclipse User |
|
|
|
Originally posted by: snk00sj.digitalbase.eu
kasimir k wrote:
>> kasimir k wrote:
>>> Gijs Nelissen scribeva in 28/06/2007 13:03:
>>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>> Command-line arguments: -os linux -ws gtk -arch x86
>>> ...
>>>> Can't load IA 32-bit .so on a AMD 64-bit platform
>>>
>>> You should get Java for Linux x64 Platform.
>>>
>>> .k
>
> Gijs Nelissen scribeva in 28/06/2007 14:13:
>> java version "1.5.0_12"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
>
> But your BootLoader thinks that you are on x86 arch, while you are on
> amd64.
>
> Try command line argument --arch amd64
>
> BTW, did you just update your Java5, or do you have three versions? Now
> you have 1.5.0_12, in your first mail you had 1.5.0_11
>
> .k
I just upgraded (installed the one from java.sun.com), thanks SpektoM
(irc #pdt).
This is what i am trying now...It didn't take --arch as argument, but
-arch works fine.
./eclipse -vm /usr/lib/jvm/jre1.5.0_12/bin/java -arch amd64
Now it gives me a msg with another error log, so i guess i'm slowly
getting there...in this log :
!SESSION 2007-06-28 20:32:43.839
-----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch amd64
!ENTRY org.eclipse.osgi 4 0 2007-06-28 20:32:45.228
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (151).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:962)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:86)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:409)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:188)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:383)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
|
|
|
Re: Install Ubuntu Feisty with SUN Jre1.5.0 [message #32547 is a reply to message #32442] |
Thu, 28 June 2007 19:50 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
The PDT all in one package for linux is probably only for IA32
architectures as eclipse has 2 builds one for IA32 and one for 64 bit
systems. I know the all in one package works on IA32 linux systems as a
colleague of mine downloaded it and had no problems running it under Java 5.
The only solution would be for you to download the appropriate builds of
eclipse, PDT and all the right levels of the PDT pre-reqs to get it to
work. I don't know if the PDT guys are planning to produce a 64 bit
specific version.
Dave Kelsey
Gijs Nelissen wrote:
> kasimir k wrote:
>>> kasimir k wrote:
>>>> Gijs Nelissen scribeva in 28/06/2007 13:03:
>>>>> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
>>>>> Command-line arguments: -os linux -ws gtk -arch x86
>>>> ...
>>>>> Can't load IA 32-bit .so on a AMD 64-bit platform
>>>>
>>>> You should get Java for Linux x64 Platform.
>>>>
>>>> .k
>>
>> Gijs Nelissen scribeva in 28/06/2007 14:13:
>>> java version "1.5.0_12"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
>>> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
>>
>> But your BootLoader thinks that you are on x86 arch, while you are on
>> amd64.
>>
>> Try command line argument --arch amd64
>>
>> BTW, did you just update your Java5, or do you have three versions?
>> Now you have 1.5.0_12, in your first mail you had 1.5.0_11
>>
>> .k
> I just upgraded (installed the one from java.sun.com), thanks SpektoM
> (irc #pdt).
>
> This is what i am trying now...It didn't take --arch as argument, but
> -arch works fine.
>
> ./eclipse -vm /usr/lib/jvm/jre1.5.0_12/bin/java -arch amd64
>
> Now it gives me a msg with another error log, so i guess i'm slowly
> getting there...in this log :
>
> !SESSION 2007-06-28 20:32:43.839
> -----------------------------------------------
> eclipse.buildId=M20060921-0945
> java.version=1.5.0_12
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch amd64
>
> !ENTRY org.eclipse.osgi 4 0 2007-06-28 20:32:45.228
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.ui.workbench (151).
> !STACK 0
> org.osgi.framework.BundleException: The activator
> org.eclipse.ui.internal.WorkbenchPlugin for bundle
> org.eclipse.ui.workbench is invalid
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:962)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:317)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:256)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .preFindLocalClass(EclipseLazyStarter.java:86)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:409)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:188)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
>
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:383)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
>
>
>
>
>
>
|
|
|
Goto Forum:
Current Time: Tue Jan 14 16:55:41 GMT 2025
Powered by FUDForum. Page generated in 0.04187 seconds
|