Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eclipse 3.1M6



At 13:20 Uhr +0200 5.4.2005, Hans van der Meer wrote:
Eclipse 3.1M6 differs from the previous one i used (3.1M4) in the packaging in the plugin directory.
Especially the swt libraries are now in the jar file named org.eclipse.swt.carbon_3.1.0.jar.
Adding this jar to the classpath of a SWT-project makes it compile.
The problem is now to run it. I tries both the run configurations "Java Application" and "SWT Application" to no avail.
In the run-configuration I used to put the argument:
-Djava.library.path=/Users/hans/Applications/EclipseSDK/plugins/org.eclipse.swt.carbon_3.1.0/os/macosx/ppc/
That doesn't work anymore and I always get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-carbon-3128 in java.library.path
Somehow the run configuration should access the jar for the jnilibs therein. But how?
Or is configuration "SWT Application" supposed to this by itself? But why is it not working then?


I hope somebody can help. I searched for change information but could not find it in the available documentation.

Thanks in advance,
Hans van der Meer

just drop org.eclipse.swt.carbon_3.1.0.jar on "Stuffit Expander" and you'll get a folder containing everything like before.
Then change the -Djava.library.path= definition so that it points to the ppc folder contained in the unstuffed jar file.


--andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >eclipse 3.1M6 (From: Hans van der Meer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.