Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1489
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: searching the path |
| Date | 2011-12-30 06:05 -0500 |
| Organization | The Wasteland |
| Message-ID | <nospam-1B5DF0.06050030122011@news.aioe.org> (permalink) |
| References | <s6smf71jq5eeo9vlc6lnoh77sppomaejke@4ax.com> <2920215.942.1325110705431.JavaMail.geo-discussion-forums@prmw6> <dginf7dcgvaeufvrqo4c6ukgbfmuplkl74@4ax.com> <nospam-815B0E.05335429122011@news.aioe.org> <nk1rf797q3n595tkg05u1fvcvjd2judcdt@4ax.com> |
In article <nk1rf797q3n595tkg05u1fvcvjd2judcdt@4ax.com>, Roedy Green <see_website@mindprod.com.invalid> wrote: > On Thu, 29 Dec 2011 05:33:55 -0500, "John B. Matthews" > <nospam@nospam.invalid> wrote, quoted or indirectly quoted someone who > said : > > >java.library.path: .: > > /Users/roedy/Library/Java/Extensions: > > /Library/Java/Extensions: > > /System/Library/Java/Extensions: > > /usr/lib/java > > The question I was originally trying to answer was do you need to > insert the dot, or is it added for you. The current directory in is the java.library.path, along with the other paths listed. The locations correspond roughly to working directory, user, all users, system, and developer. > The Mac does not even have a path and a set environment right? No, Mac OS X is based on Darwin, which is based on BSD, et al. > So how does the OS know where to look for executables? In the past, I've (carelessly) thrown JARs in an extension directory or exported an (ever changing) environment variable: export CLASSPATH=.:/opt/some.jar:/... Now, I use the java command's -cp option which "overrides any setting of the CLASSPATH environment variable." For a bundled Mac application, I use the Info.plist Keys mentioned here <http://stackoverflow.com/a/7947496/230513>. [...] -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-28 11:45 -0800
Re: searching the path Lew <lewbloch@gmail.com> - 2011-12-28 14:18 -0800
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-28 18:12 -0800
Re: searching the path Lew <lewbloch@gmail.com> - 2011-12-28 21:18 -0800
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-30 01:33 -0800
Re: searching the path Lew <lewbloch@gmail.com> - 2011-12-30 09:14 -0800
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-31 14:24 -0800
Re: searching the path Lew <lewbloch@gmail.com> - 2011-12-31 15:19 -0800
Re: searching the path "John B. Matthews" <nospam@nospam.invalid> - 2011-12-29 05:33 -0500
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-30 01:42 -0800
Re: searching the path Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-12-30 06:51 -0400
Re: searching the path "John B. Matthews" <nospam@nospam.invalid> - 2011-12-30 06:05 -0500
Re: searching the path Lew <lewbloch@gmail.com> - 2011-12-30 09:07 -0800
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2012-01-04 16:46 -0800
Re: searching the path Roedy Green <see_website@mindprod.com.invalid> - 2011-12-28 18:19 -0800
Re: searching the path Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-28 20:11 -0800
csiph-web