Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Macintosh New and Newbie Problem
Macintosh New and Newbie Problem [message #450893] Sun, 20 February 2005 02:31 Go to next message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
I actually had things working but I have encountered major problems
executing SWT programs and must be doing something nuts.

First, I added the swt.jar and swt-pi.jar to my /Library/Java/Extensions
folder. This has worked.

Second, I am playing with Jigloo as an editor. This DID work. I add
jigloo.jar to my project as an external JAR.

Third, I set up the library arguments with
-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:
WS}_3.0.1/os/${system:OS}/${system:ARCH}

Which DID work but now does not work.

When I run a trivial application generated by Jigloo (SWT Main Application),
which DID work before poltergeist entered my house, I now consistently get
the dreaded and probably common:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no
swt-pi-carbon-3063 in java.library.path
at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at
java.lang.Runtime.loadLibrary0(Runtime.java:788)
at
java.lang.System.loadLibrary(System.java:834)
at
org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
at
org.eclipse.swt.internal.carbon.OS.<clinit>(OS.java:22)
at
org.eclipse.swt.widgets.Display.<clinit>(Display.java:311)
at
HelloWorld.main(HelloWorld.java:22)


The ONLY things I have done since this worked was added the Oxygen plugin,
which is an XML editor, and Subclipse, which is a Subversion plugin.
Neither has a graphic aspect that I know of.

Any assistance is most welcome. Thank you in advance.

- Mike Dean
Re: Macintosh New and Newbie Problem [message #450894 is a reply to message #450893] Sun, 20 February 2005 02:35 Go to previous messageGo to next message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
Sorry, I forgot to mention that inside the library folder, the actual names
of the native libraries are named libswt-pi-carbon-3063.jnilib, etc. The
message complains of not finding the file without the prefix 'lib' but I do
not think I ever changed anything. Thanks.


On 2/19/05 7:31 PM, in article BE3D44A4.4206%mdean77@comcast.net, "J Michael
Dean" <mdean77@comcast.net> wrote:

> I actually had things working but I have encountered major problems
> executing SWT programs and must be doing something nuts.
>
> First, I added the swt.jar and swt-pi.jar to my /Library/Java/Extensions
> folder. This has worked.
>
> Second, I am playing with Jigloo as an editor. This DID work. I add
> jigloo.jar to my project as an external JAR.
>
> Third, I set up the library arguments with
> -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:
> WS}_3.0.1/os/${system:OS}/${system:ARCH}
>
> Which DID work but now does not work.
>
> When I run a trivial application generated by Jigloo (SWT Main Application),
> which DID work before poltergeist entered my house, I now consistently get
> the dreaded and probably common:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> swt-pi-carbon-3063 in java.library.path
> at
> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
> at
> java.lang.Runtime.loadLibrary0(Runtime.java:788)
> at
> java.lang.System.loadLibrary(System.java:834)
> at
> org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
> at
> org.eclipse.swt.internal.carbon.OS.<clinit>(OS.java:22)
> at
> org.eclipse.swt.widgets.Display.<clinit>(Display.java:311)
> at
> HelloWorld.main(HelloWorld.java:22)
>
>
> The ONLY things I have done since this worked was added the Oxygen plugin,
> which is an XML editor, and Subclipse, which is a Subversion plugin.
> Neither has a graphic aspect that I know of.
>
> Any assistance is most welcome. Thank you in advance.
>
> - Mike Dean
>
Re: Macintosh New and Newbie Problem [message #450895 is a reply to message #450894] Sun, 20 February 2005 02:37 Go to previous message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
Sorry again. Also added the log4j material to Eclipse. Doubt that is issue.


On 2/19/05 7:35 PM, in article BE3D4576.420D%mdean77@comcast.net, "J Michael
Dean" <mdean77@comcast.net> wrote:

> Sorry, I forgot to mention that inside the library folder, the actual names
> of the native libraries are named libswt-pi-carbon-3063.jnilib, etc. The
> message complains of not finding the file without the prefix 'lib' but I do
> not think I ever changed anything. Thanks.
>
>
> On 2/19/05 7:31 PM, in article BE3D44A4.4206%mdean77@comcast.net, "J Michael
> Dean" <mdean77@comcast.net> wrote:
>
>> I actually had things working but I have encountered major problems
>> executing SWT programs and must be doing something nuts.
>>
>> First, I added the swt.jar and swt-pi.jar to my /Library/Java/Extensions
>> folder. This has worked.
>>
>> Second, I am playing with Jigloo as an editor. This DID work. I add
>> jigloo.jar to my project as an external JAR.
>>
>> Third, I set up the library arguments with
>> -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:
>> WS}_3.0.1/os/${system:OS}/${system:ARCH}
>>
>> Which DID work but now does not work.
>>
>> When I run a trivial application generated by Jigloo (SWT Main Application),
>> which DID work before poltergeist entered my house, I now consistently get
>> the dreaded and probably common:
>>
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no
>> swt-pi-carbon-3063 in java.library.path
>> at
>> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
>> at
>> java.lang.Runtime.loadLibrary0(Runtime.java:788)
>> at
>> java.lang.System.loadLibrary(System.java:834)
>> at
>> org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
>> at
>> org.eclipse.swt.internal.carbon.OS.<clinit>(OS.java:22)
>> at
>> org.eclipse.swt.widgets.Display.<clinit>(Display.java:311)
>> at
>> HelloWorld.main(HelloWorld.java:22)
>>
>>
>> The ONLY things I have done since this worked was added the Oxygen plugin,
>> which is an XML editor, and Subclipse, which is a Subversion plugin.
>> Neither has a graphic aspect that I know of.
>>
>> Any assistance is most welcome. Thank you in advance.
>>
>> - Mike Dean
>>
>
Previous Topic:UTF-8 Asian Characters Come out as Rubbish
Next Topic:Lists
Goto Forum:
  


Current Time: Mon Sep 28 07:15:10 GMT 2020

Powered by FUDForum. Page generated in 0.25241 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top