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: Newbie: javax.xml.rpc.namespace



Mitchell Shiller <email@hidden> wrote:

>I first tried installing the copying the files into
>Library/Java/Home/jre/lib/endorsed with no luck. Any ideas?

Try putting a jar (not loose class files) in this dir:
/Library/Java/Home/lib/endorsed/

AFAICT there isn't a "jre" in /Library/Java/Home, and if there is, it may
not represent the endorsed location.

To confirm the endorsed location, I suggest writing and running a Java
program that prints out the value of the "java.endorsed.dirs" property. At
the very least it will tell you exactly where the JVM is looking for
endorsed overrides.


>Alternatively, it says I can set the java.endorsed.dirs system property to
>Users/mitchell/jwsdp-1.3/jaxp/endorsed. How do I do this?

You need to set it to /Users/mitchell/whatever. If you don't, it's a
relative pathname and it won't work.

For a 'java' command on the command-line:
-Djava.endorsed.dirs=/Users/mitchell/whatever

For a double-clicked app, edit Info.plist, the Java dictionary, and add an
entry for:
java.endorsed.dirs : String : /Users/mitchell/whatever

To compile against the endorsed files, add the jar to your project.

To learn more about endorsed extensions:
<http://java.sun.com/j2se/1.4.2/docs/guide/standards/>

which I found by typing the two keywords "java endorsed" into Google.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.




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.