|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Ken Hawkins <email@hidden> wrote:_______________________________________________
i have a standalone java app that uses swt and swingwt. it is failing
trying to load
a swt required library. this is my line to run the app:
JavaVM.framework/Classes/classes.jar -classpath <...> -jar
My first guess is that there may be a security restriction for
bootclasspath elements, whereby "java.library.path" is NOT used. I suspect
the property "sun.boot.library.path" would be the library-path that
corresponds to "sun.boot.class.path". All I did was enumerate and print
all system properties, piped through 'sort'.
Is there some reason why SWT et al. has to be in your boot-classpath, as
opposed to someplace less privileged, like the normal classpath, or as a
Also, I could be misremembering, but -jar and -classpath may be mutually
exclusive. See 'man java' for details.
has anyone been able to properly link a jnilibrary from the
command line at run time?
Frequently. It works fine. But I don't mess with bootclasspath.
java-dev mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.
|>Re: trying to load jnilibraries from a standalone app (From: Greg Guerin <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.